Simbody
Public Member Functions | Static Public Member Functions

SimTK::ContactGeometry::EllipsoidImpl Class Reference

#include <ContactGeometryImpl.h>

Inheritance diagram for SimTK::ContactGeometry::EllipsoidImpl:

List of all members.

Public Member Functions

 EllipsoidImpl (const Vec3 &radii)
ContactGeometryImplclone () const
const Vec3getRadii () const
void setRadii (const Vec3 &r)
const Vec3getCurvatures () 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 &center, 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

ContactGeometryImpl* SimTK::ContactGeometry::EllipsoidImpl::clone ( ) const [inline, virtual]
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
ContactGeometryTypeId SimTK::ContactGeometry::EllipsoidImpl::getTypeId ( ) const [inline, virtual]
static ContactGeometryTypeId SimTK::ContactGeometry::EllipsoidImpl::classTypeId ( ) [inline, static]
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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines