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_ TODO.
Definition: OBBTree.h:53
int depth
Definition: OBBTree.h:71
Defines primitive operations involving 3d rectangular boxes.
void clear()
Definition: OBBTree.h:58
int y0
Definition: OBBTree.h:83
Real coneHalfAngle
Definition: OBBTree.h:76
Geo::BicubicBezierPatch patch
Definition: OBBTree.h:92
const OBBNode & getChild(int i) const
Definition: OBBTree.h:66
This is the top-level SimTK namespace into which all SimTK names are placed to avoid collision with o...
Definition: Assembler.h:37
Provides primitive operations for a single bicubic Bezier patch using either single or double precisi...
Vec2 centerUW
Definition: OBBTree.h:90
OBBNode & updChild(int i)
Definition: OBBTree.h:67
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: A 3d box oriented and positioned with respect to an unspecified frame F.
Definition: Geo.h:63
bool isLeaf() const
Definition: OBBTree.h:64
const OBBNode & getRoot() const
Definition: OBBTree.h:102
Includes internal headers providing declarations for the basic SimTK Core classes, including Simmatrix.
The Array_<T> container class is a plug-compatible replacement for the C++ standard template library ...
Definition: Array.h:53
int getNumChildren() const
Definition: OBBTree.h:65
OBBLeaf * contents
Definition: OBBTree.h:89
Defines geometric primitive shapes and algorthms.
~OBBNode()
Definition: OBBTree.h:56
Vec2 dims
Definition: OBBTree.h:91
int height
Definition: OBBTree.h:72
Array_< OBBNode > children
Definition: OBBTree.h:86
This is the header file that every Simmath compilation unit should include first. ...
TODO.
Definition: OBBTree.h:44
virtual ~OBBLeaf()
Definition: OBBTree.h:46
OBBNode & updRoot()
Definition: OBBTree.h:103
TODO.
Definition: OBBTree.h:100
UnitVec3 normal
Definition: OBBTree.h:75
Geo::OrientedBox box
Definition: OBBTree.h:70
Vec3 pointOnSurface
Definition: OBBTree.h:81
A primitive useful for computations involving a single bicubic Bezier patch.
Definition: Geo.h:68
int ny
Definition: OBBTree.h:84
OBBNode()
Definition: OBBTree.h:55
#define SimTK_SIMMATH_EXPORT
Definition: SimTKmath/include/simmath/internal/common.h:64