MIRA
Public Member Functions | Public Attributes | List of all members
Footprint Class Reference

Represents the footprint of a rigid model that is the 2D projection of the 3D model onto the xy-plane. More...

#include <model/Footprint.h>

Inheritance diagram for Footprint:
Inheritance graph
[legend]

Public Member Functions

template<typename Reflector >
void reflect (Reflector &r)
 
float getInnerRadius () const
 Returns the radius of the inscribed circle (incircle) of the footprint. More...
 
float getOuterRadius () const
 Returns the radius of the escribed circle (excircle) of the footprint. More...
 
Rect2f getBoundingBox () const
 Returns the bounding box of the footprint Returns an invalid rect if the footprint is empty. More...
 
float getWidth () const
 Returns the width (w.r.t. More...
 

Public Attributes

elements
 STL member. More...
 

Detailed Description

Represents the footprint of a rigid model that is the 2D projection of the 3D model onto the xy-plane.

The footprint is represented by a vector of polygons.

Member Function Documentation

◆ reflect()

void reflect ( Reflector &  r)
inline

◆ getInnerRadius()

float getInnerRadius ( ) const
inline

Returns the radius of the inscribed circle (incircle) of the footprint.

◆ getOuterRadius()

float getOuterRadius ( ) const
inline

Returns the radius of the escribed circle (excircle) of the footprint.

◆ getBoundingBox()

Rect2f getBoundingBox ( void  ) const
inline

Returns the bounding box of the footprint Returns an invalid rect if the footprint is empty.

◆ getWidth()

float getWidth ( ) const
inline

Returns the width (w.r.t.

y) of the footprint Returns 0 if the footprint is empty

Member Data Documentation

◆ elements

T elements
inherited

STL member.


The documentation for this class was generated from the following file: