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

Cylinder representation The origin is in the center of the cylinder. More...

#include <model/Geometry.h>

Inheritance diagram for Cylinder:
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 cylinder. More...
 
float length
 The length of the cylinder. More...
 

Protected Member Functions

virtual Class const & internalGetClass () const=0
 

Detailed Description

Cylinder representation The origin is in the center of the cylinder.

The cylinder 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 cylinder.

◆ length

float length

The length of the cylinder.


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