|
Simbody
3.4 (development)
|
This ContactGeometry subclass represents a sphere centered at the origin. More...
#include <ContactGeometry.h>
Inheritance diagram for SimTK::ContactGeometry::Sphere:Public Member Functions | |
| Sphere (Real radius) | |
| Real | getRadius () const |
| void | setRadius (Real radius) |
| const Impl & | getImpl () const |
| Impl & | updImpl () |
| Internal use only. | |
Static Public Member Functions | |
| static bool | isInstance (const ContactGeometry &geo) |
| Return true if the supplied ContactGeometry object is a sphere. | |
| static const Sphere & | getAs (const ContactGeometry &geo) |
| Cast the supplied ContactGeometry object to a const sphere. | |
| static Sphere & | updAs (ContactGeometry &geo) |
| Cast the supplied ContactGeometry object to a writable sphere. | |
| static ContactGeometryTypeId | classTypeId () |
| Obtain the unique id for Sphere contact geometry. | |
This ContactGeometry subclass represents a sphere centered at the origin.
| SimTK::ContactGeometry::Sphere::Sphere | ( | Real | radius | ) | [explicit] |
| Real SimTK::ContactGeometry::Sphere::getRadius | ( | ) | const |
| void SimTK::ContactGeometry::Sphere::setRadius | ( | Real | radius | ) |
| static bool SimTK::ContactGeometry::Sphere::isInstance | ( | const ContactGeometry & | geo | ) | [inline, static] |
Return true if the supplied ContactGeometry object is a sphere.
| static const Sphere& SimTK::ContactGeometry::Sphere::getAs | ( | const ContactGeometry & | geo | ) | [inline, static] |
Cast the supplied ContactGeometry object to a const sphere.
| static Sphere& SimTK::ContactGeometry::Sphere::updAs | ( | ContactGeometry & | geo | ) | [inline, static] |
Cast the supplied ContactGeometry object to a writable sphere.
| static ContactGeometryTypeId SimTK::ContactGeometry::Sphere::classTypeId | ( | ) | [static] |
Obtain the unique id for Sphere contact geometry.
| const Impl& SimTK::ContactGeometry::Sphere::getImpl | ( | ) | const |
Internal use only.
Reimplemented from SimTK::ContactGeometry.
| Impl& SimTK::ContactGeometry::Sphere::updImpl | ( | ) |
Internal use only.
Reimplemented from SimTK::ContactGeometry.