#include <ContactGeometryImpl.h>
List of all members.
Public Member Functions |
| EllipsoidImpl (const Vec3 &radii) |
ContactGeometryImpl * | clone () const |
const Vec3 & | getRadii () const |
void | setRadii (const Vec3 &r) |
const Vec3 & | getCurvatures () const |
Vec3 | findPointWithThisUnitNormal (const UnitVec3 &n) const |
Vec3 | findPointInSameDirection (const Vec3 &Q) const |
UnitVec3 | findUnitNormalAtPoint (const Vec3 &Q) const |
void | findParaboloidAtPoint (const Vec3 &Q, Transform &X_EP, Vec2 &k) const |
void | findParaboloidAtPointWithNormal (const Vec3 &Q, const UnitVec3 &n, Transform &X_EP, Vec2 &k) const |
ContactGeometryTypeId | getTypeId () const |
Vec3 | findNearestPoint (const Vec3 &position, bool &inside, UnitVec3 &normal) const |
bool | intersectsRay (const Vec3 &origin, const UnitVec3 &direction, Real &distance, UnitVec3 &normal) const |
void | getBoundingSphere (Vec3 ¢er, Real &radius) const |
Static Public Member Functions |
static ContactGeometryTypeId | classTypeId () |
static const std::string & | Type () |
Constructor & Destructor Documentation
SimTK::ContactGeometry::EllipsoidImpl::EllipsoidImpl |
( |
const Vec3 & |
radii | ) |
[inline] |
Member Function Documentation
const Vec3& SimTK::ContactGeometry::EllipsoidImpl::getRadii |
( |
| ) |
const [inline] |
void SimTK::ContactGeometry::EllipsoidImpl::setRadii |
( |
const Vec3 & |
r | ) |
[inline] |
const Vec3& SimTK::ContactGeometry::EllipsoidImpl::getCurvatures |
( |
| ) |
const [inline] |
Vec3 SimTK::ContactGeometry::EllipsoidImpl::findPointWithThisUnitNormal |
( |
const UnitVec3 & |
n | ) |
const [inline] |
Vec3 SimTK::ContactGeometry::EllipsoidImpl::findPointInSameDirection |
( |
const Vec3 & |
Q | ) |
const [inline] |
UnitVec3 SimTK::ContactGeometry::EllipsoidImpl::findUnitNormalAtPoint |
( |
const Vec3 & |
Q | ) |
const [inline] |
void SimTK::ContactGeometry::EllipsoidImpl::findParaboloidAtPoint |
( |
const Vec3 & |
Q, |
|
|
Transform & |
X_EP, |
|
|
Vec2 & |
k |
|
) |
| const [inline] |
void SimTK::ContactGeometry::EllipsoidImpl::findParaboloidAtPointWithNormal |
( |
const Vec3 & |
Q, |
|
|
const UnitVec3 & |
n, |
|
|
Transform & |
X_EP, |
|
|
Vec2 & |
k |
|
) |
| const |
static const std::string& SimTK::ContactGeometry::EllipsoidImpl::Type |
( |
| ) |
[inline, static] |
Vec3 SimTK::ContactGeometry::EllipsoidImpl::findNearestPoint |
( |
const Vec3 & |
position, |
|
|
bool & |
inside, |
|
|
UnitVec3 & |
normal |
|
) |
| const [virtual] |
bool SimTK::ContactGeometry::EllipsoidImpl::intersectsRay |
( |
const Vec3 & |
origin, |
|
|
const UnitVec3 & |
direction, |
|
|
Real & |
distance, |
|
|
UnitVec3 & |
normal |
|
) |
| const [virtual] |
void SimTK::ContactGeometry::EllipsoidImpl::getBoundingSphere |
( |
Vec3 & |
center, |
|
|
Real & |
radius |
|
) |
| const [virtual] |
The documentation for this class was generated from the following file: