Go to the documentation of this file. 1 #ifndef SimTK_SIMMATH_OBB_TREE_H_
2 #define SimTK_SIMMATH_OBB_TREE_H_
59 delete contents; contents=0;
64 bool isLeaf()
const {
return children.empty();}
112 #endif // SimTK_SIMMATH_OBB_TREE_H_
const OBBNode & getRoot() const
Definition: OBBTree.h:102
~OBBNode()
Definition: OBBTree.h:56
Array_< OBBNode > children
Definition: OBBTree.h:86
TODO: A 3d box oriented and positioned with respect to an unspecified frame F.
Definition: Geo.h:63
Geo::OrientedBox box
Definition: OBBTree.h:70
OBBLeaf * contents
Definition: OBBTree.h:89
Vec3 pointOnSurface
Definition: OBBTree.h:81
Vec2 dims
Definition: OBBTree.h:91
#define SimTK_SIMMATH_EXPORT
Definition: SimTKmath/include/simmath/internal/common.h:64
This is a System that represents the dynamics of a particle moving along a smooth surface.
Definition: Assembler.h:37
int ny
Definition: OBBTree.h:84
virtual ~OBBLeaf()
Definition: OBBTree.h:46
UnitVec3 normal
Definition: OBBTree.h:75
OBBNode & updRoot()
Definition: OBBTree.h:103
OBBNode()
Definition: OBBTree.h:55
int height
Definition: OBBTree.h:72
int depth
Definition: OBBTree.h:71
int y0
Definition: OBBTree.h:83
TODO.
Definition: OBBTree.h:100
Geo::BicubicBezierPatch patch
Definition: OBBTree.h:92
TODO.
Definition: OBBTree.h:44
Real coneHalfAngle
Definition: OBBTree.h:76
const OBBNode & getChild(int i) const
Definition: OBBTree.h:66
OBBNode & updChild(int i)
Definition: OBBTree.h:67
void clear()
Definition: OBBTree.h:58
The Array_<T> container class is a plug-compatible replacement for the C++ standard template library ...
Definition: Array.h:53
SimTK_Real Real
This is the default compiled-in floating point type for SimTK, either float or double.
Definition: SimTKcommon/include/SimTKcommon/internal/common.h:606
TODO.
Definition: OBBTree.h:53
bool isLeaf() const
Definition: OBBTree.h:64
Vec2 centerUW
Definition: OBBTree.h:90
int getNumChildren() const
Definition: OBBTree.h:65
A primitive useful for computations involving a single bicubic Bezier patch.
Definition: Geo.h:68