Simbody
|
This defines a cylinder centered on the origin and aligned in the y direction. More...
#include <DecorativeGeometry.h>
Public Member Functions | |
DecorativeCylinder (Real radius=0.5, Real halfHeight=0.5) | |
void | setRadius (Real) |
void | setHalfHeight (Real) |
Real | getRadius () const |
Real | getHalfHeight () const |
SimTK_PIMPL_DOWNCAST (DecorativeCylinder, DecorativeGeometry) |
This defines a cylinder centered on the origin and aligned in the y direction.
The default constructor gives it a height of 1 and the base circle a diameter of 1.
SimTK::DecorativeCylinder::DecorativeCylinder | ( | Real | radius = 0.5 , |
Real | halfHeight = 0.5 |
||
) | [explicit] |
void SimTK::DecorativeCylinder::setRadius | ( | Real | ) |
void SimTK::DecorativeCylinder::setHalfHeight | ( | Real | ) |
Real SimTK::DecorativeCylinder::getRadius | ( | ) | const |
Real SimTK::DecorativeCylinder::getHalfHeight | ( | ) | const |
SimTK::DecorativeCylinder::SimTK_PIMPL_DOWNCAST | ( | DecorativeCylinder | , |
DecorativeGeometry | |||
) |