MIRA
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | List of all members
Polygon Class Referenceabstract

Polygon representation The vertices of the polygon are given relative to its origin. More...

#include <model/Geometry.h>

Inheritance diagram for Polygon:
Inheritance graph
[legend]

Public Member Functions

template<typename Reflector >
void reflect (Reflector &r)
 
virtual Polygon2f getFootprint (const RigidTransform3f &origin) const
 Implementation of Geometry::getFootprint. More...
 
virtual Box3f getBoundingBox (const RigidTransform3f &origin) const
 The polygon is 2D, hence its bounding box would be 2D too, which is still empty in 3D. More...
 
Class const & getClass () const
 

Static Public Member Functions

static PseudoClass const & CLASS ()
 

Public Attributes

Polygon2f polygon
 The polygon geometry. More...
 

Protected Member Functions

virtual Class const & internalGetClass () const=0
 

Detailed Description

Polygon representation The vertices of the polygon are given relative to its origin.

Member Function Documentation

◆ reflect()

void reflect ( Reflector &  r)
inline

◆ getFootprint()

virtual Polygon2f getFootprint ( const RigidTransform3f origin) const
virtual

Implementation of Geometry::getFootprint.

Implements Geometry.

◆ getBoundingBox()

virtual Box3f getBoundingBox ( const RigidTransform3f origin) const
virtual

The polygon is 2D, hence its bounding box would be 2D too, which is still empty in 3D.

Returns
always an invalid empty box

Implements Geometry.

Member Data Documentation

◆ polygon

Polygon2f polygon

The polygon geometry.


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