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 Vector class intended to appear in user code.
Definition: BigMatrix.h:186
This class represents a rectangular box with arbitrary position and orientation.
Definition: OrientedBoundingBox.h:42
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:2685
This is the header file that every Simmath compilation unit should include first. ...
#define SimTK_SIMMATH_EXPORT
Definition: SimTKmath/include/simmath/internal/common.h:64