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>
|
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...
|
|
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.
◆ 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()
Returns the width (w.r.t.
y) of the footprint Returns 0 if the footprint is empty
◆ elements
The documentation for this class was generated from the following file: