MIRA
|
Cone representation The origin of the cone is located at the center of its base circle. More...
#include <model/Geometry.h>
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 |
Implementation of Geometry::getBoundingBox. More... | |
Class const & | getClass () const |
Static Public Member Functions | |
static PseudoClass const & | CLASS () |
Public Attributes | |
float | radius |
The radius of the cone. More... | |
float | length |
The length of the cone. More... | |
Protected Member Functions | |
virtual Class const & | internalGetClass () const=0 |
Cone representation The origin of the cone is located at the center of its base circle.
The apex is located at 'length' on the z-axis, i.e. the cones axis coincides with the z-axis.
|
inline |
|
virtual |
Implementation of Geometry::getFootprint.
Implements Geometry.
|
virtual |
Implementation of Geometry::getBoundingBox.
Implements Geometry.
float radius |
The radius of the cone.
float length |
The length of the cone.