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
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
const OBBNode & getChild(int i) const
Definition: OBBTree.h:66
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:593
TODO: A 3d box oriented and positioned with respect to an unspecified frame F.
Definition: Geo.h:63
Includes internal headers providing declarations for the basic SimTK Core classes, including Simmatrix.
The SimTK::Array_<T> container class is a plug-compatible replacement for the C++ standard template l...
Definition: Array.h:50
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. ...
int getNumChildren() const
Definition: OBBTree.h:65
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
bool isLeaf() const
Definition: OBBTree.h:64
Vec3 pointOnSurface
Definition: OBBTree.h:81
A primitive useful for computations involving a single bicubic Bezier patch.
Definition: Geo.h:68
const OBBNode & getRoot() const
Definition: OBBTree.h:102
int ny
Definition: OBBTree.h:84
OBBNode()
Definition: OBBTree.h:55
#define SimTK_SIMMATH_EXPORT
Definition: SimTKmath/include/simmath/internal/common.h:64