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

Cone representation The origin of the cone is located at the center of its base circle. More...

#include <model/Geometry.h>

Inheritance diagram for Cone:
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
 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
 

Detailed Description

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.

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

Implementation of Geometry::getBoundingBox.

Implements Geometry.

Member Data Documentation

◆ radius

float radius

The radius of the cone.

◆ length

float length

The length of the cone.


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