DART  6.6.2
dart::math::BoundingBox Class Reference

#include <Geometry.hpp>

Public Member Functions

EIGEN_MAKE_ALIGNED_OPERATOR_NEW BoundingBox ()
 
 BoundingBox (const Eigen::Vector3d &min, const Eigen::Vector3d &max)
 
const Eigen::Vector3d & getMin () const
 
const Eigen::Vector3d & getMax () const
 
void setMin (const Eigen::Vector3d &min)
 
void setMax (const Eigen::Vector3d &max)
 
Eigen::Vector3d computeCenter () const
 
Eigen::Vector3d computeHalfExtents () const
 
Eigen::Vector3d computeFullExtents () const
 

Protected Attributes

Eigen::Vector3d mMin
 
Eigen::Vector3d mMax
 

Constructor & Destructor Documentation

◆ BoundingBox() [1/2]

dart::math::BoundingBox::BoundingBox ( )

◆ BoundingBox() [2/2]

dart::math::BoundingBox::BoundingBox ( const Eigen::Vector3d &  min,
const Eigen::Vector3d &  max 
)

Member Function Documentation

◆ computeCenter()

Eigen::Vector3d dart::math::BoundingBox::computeCenter ( ) const
inline

◆ computeFullExtents()

Eigen::Vector3d dart::math::BoundingBox::computeFullExtents ( ) const
inline

◆ computeHalfExtents()

Eigen::Vector3d dart::math::BoundingBox::computeHalfExtents ( ) const
inline

◆ getMax()

const Eigen::Vector3d& dart::math::BoundingBox::getMax ( ) const
inline

◆ getMin()

const Eigen::Vector3d& dart::math::BoundingBox::getMin ( ) const
inline

◆ setMax()

void dart::math::BoundingBox::setMax ( const Eigen::Vector3d &  max)
inline

◆ setMin()

void dart::math::BoundingBox::setMin ( const Eigen::Vector3d &  min)
inline

Member Data Documentation

◆ mMax

Eigen::Vector3d dart::math::BoundingBox::mMax
protected

◆ mMin

Eigen::Vector3d dart::math::BoundingBox::mMin
protected