Choreonoid  1.5
Public Member Functions | List of all members
cnoid::BoundingBox Class Reference

#include <BoundingBox.h>

Public Member Functions

 BoundingBox ()
 
 BoundingBox (const Vector3 &min, const Vector3 &max)
 
 BoundingBox (const BoundingBox &org)
 
 BoundingBox (const BoundingBoxf &org)
 
void set (const Vector3 &min, const Vector3 &max)
 
void clear ()
 
bool empty () const
 
const Vector3 & min () const
 
const Vector3 & max () const
 
Vector3 center () const
 
Vector3 size () const
 
double boundingSphereRadius () const
 
void expandBy (const BoundingBox &bbox)
 
void expandBy (double x, double y, double z)
 
void expandBy (const Vector3 &v)
 
void transform (const Affine3 &T)
 

Constructor & Destructor Documentation

BoundingBox::BoundingBox ( )
BoundingBox::BoundingBox ( const Vector3 &  min,
const Vector3 &  max 
)
BoundingBox::BoundingBox ( const BoundingBox &  org)
BoundingBox::BoundingBox ( const BoundingBoxf &  org)

Member Function Documentation

double BoundingBox::boundingSphereRadius ( ) const
Vector3 BoundingBox::center ( ) const
void BoundingBox::clear ( )
bool cnoid::BoundingBox::empty ( ) const
inline
void BoundingBox::expandBy ( const BoundingBox &  bbox)
void BoundingBox::expandBy ( double  x,
double  y,
double  z 
)
void cnoid::BoundingBox::expandBy ( const Vector3 &  v)
inline
const Vector3& cnoid::BoundingBox::max ( ) const
inline
const Vector3& cnoid::BoundingBox::min ( ) const
inline
void BoundingBox::set ( const Vector3 &  min,
const Vector3 &  max 
)
Vector3 BoundingBox::size ( ) const
void BoundingBox::transform ( const Affine3 &  T)

The documentation for this class was generated from the following files: