Simbody
Public Member Functions | Static Public Member Functions

SimTK::ContactGeometry::SphereImpl Class Reference

#include <ContactGeometryImpl.h>

Inheritance diagram for SimTK::ContactGeometry::SphereImpl:

List of all members.

Public Member Functions

 SphereImpl (Real radius)
ContactGeometryImplclone () const
Real getRadius () const
void setRadius (Real r)
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::SphereImpl::SphereImpl ( Real  radius) [inline]

Member Function Documentation

ContactGeometryImpl* SimTK::ContactGeometry::SphereImpl::clone ( ) const [inline, virtual]
Real SimTK::ContactGeometry::SphereImpl::getRadius ( ) const [inline]
void SimTK::ContactGeometry::SphereImpl::setRadius ( Real  r) [inline]
ContactGeometryTypeId SimTK::ContactGeometry::SphereImpl::getTypeId ( ) const [inline, virtual]
static ContactGeometryTypeId SimTK::ContactGeometry::SphereImpl::classTypeId ( ) [inline, static]
static const std::string& SimTK::ContactGeometry::SphereImpl::Type ( ) [inline, static]
Vec3 SimTK::ContactGeometry::SphereImpl::findNearestPoint ( const Vec3 position,
bool &  inside,
UnitVec3 normal 
) const [virtual]
bool SimTK::ContactGeometry::SphereImpl::intersectsRay ( const Vec3 origin,
const UnitVec3 direction,
Real &  distance,
UnitVec3 normal 
) const [virtual]
void SimTK::ContactGeometry::SphereImpl::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