OBBTreeNodeImpl Class Reference

#include <ContactGeometryImpl.h>

List of all members.

Public Member Functions

 OBBTreeNodeImpl ()
 OBBTreeNodeImpl (const OBBTreeNodeImpl &copy)
 ~OBBTreeNodeImpl ()
Vec3 findNearestPoint (const ContactGeometry::TriangleMeshImpl &mesh, const Vec3 &position, Real cutoff2, Real &distance2, int &face, Vec2 &uv) const
bool intersectsRay (const ContactGeometry::TriangleMeshImpl &mesh, const Vec3 &origin, const UnitVec3 &direction, Real &distance, int &face, Vec2 &uv) const

Public Attributes

OrientedBoundingBox bounds
OBBTreeNodeImplchild1
OBBTreeNodeImplchild2
std::vector< int > triangles


Constructor & Destructor Documentation

OBBTreeNodeImpl (  )  [inline]

OBBTreeNodeImpl ( const OBBTreeNodeImpl copy  ) 

~OBBTreeNodeImpl (  ) 


Member Function Documentation

Vec3 findNearestPoint ( const ContactGeometry::TriangleMeshImpl mesh,
const Vec3 position,
Real  cutoff2,
Real &  distance2,
int &  face,
Vec2 uv 
) const

bool intersectsRay ( const ContactGeometry::TriangleMeshImpl mesh,
const Vec3 origin,
const UnitVec3 direction,
Real &  distance,
int &  face,
Vec2 uv 
) const


Member Data Documentation

std::vector<int> triangles


The documentation for this class was generated from the following file:

Generated on Fri Sep 26 07:44:31 2008 for SimTKcore by  doxygen 1.5.6