Simbody
|
This defines an ellipsoidal solid centered at the origin and aligned with the local frame axes. More...
#include <DecorativeGeometry.h>
Public Member Functions | |
DecorativeEllipsoid (const Vec3 &radii=Vec3(0.5, 1/3., 0.25)) | |
void | setRadii (const Vec3 &) |
const Vec3 & | getRadii () const |
SimTK_PIMPL_DOWNCAST (DecorativeEllipsoid, DecorativeGeometry) |
This defines an ellipsoidal solid centered at the origin and aligned with the local frame axes.
The default constructor creates an ellipsoid with radii (1/2, 1/3, 1/4) in x,y,z resp.
SimTK::DecorativeEllipsoid::DecorativeEllipsoid | ( | const Vec3 & | radii = Vec3(0.5, 1/3., 0.25) | ) | [explicit] |
void SimTK::DecorativeEllipsoid::setRadii | ( | const Vec3 & | ) |
const Vec3& SimTK::DecorativeEllipsoid::getRadii | ( | ) | const |
SimTK::DecorativeEllipsoid::SimTK_PIMPL_DOWNCAST | ( | DecorativeEllipsoid | , |
DecorativeGeometry | |||
) |