1 #ifndef SimTK_SIMMATH_ORIENTED_BOUNDING_BOX_H_
2 #define SimTK_SIMMATH_ORIENTED_BOUNDING_BOX_H_
63 const Vec3& getSize()
const;
67 bool containsPoint(
const Vec3& point)
const;
82 bool intersectsRay(
const Vec3& origin,
const UnitVec3& direction,
83 Real& distance)
const;
88 Vec3 findNearestPoint(
const Vec3& position)
const;
94 void getCorners(
Vec3 corners[8])
const;
106 #endif // SimTK_SIMMATH_ORIENTED_BOUNDING_BOX_H_
This is the top-level SimTK namespace into which all SimTK names are placed to avoid collision with o...
Definition: Assembler.h:37
This class represents a rectangular box with arbitrary position and orientation.
Definition: OrientedBoundingBox.h:42
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:577
Includes internal headers providing declarations for the basic SimTK Core classes, including Simmatrix.
Matrix_< E > operator*(const MatrixBase< E > &l, const typename CNT< E >::StdNumber &r)
Definition: BigMatrix.h:605
This is the header file that every Simmath compilation unit should include first. ...
This is the vector class intended to appear in user code for large, variable size column vectors...
Definition: BigMatrix.h:171
#define SimTK_SIMMATH_EXPORT
Definition: SimTKmath/include/simmath/internal/common.h:64