Choreonoid  1.8
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)
 
bool operator== (const BoundingBox &rhs) const
 
bool operator!= (const BoundingBox &rhs) const
 
void set (const Vector3 &min, const Vector3 &max)
 
void clear ()
 
bool empty () const
 
 operator bool () const
 
const Vector3min () const
 
const Vector3max () 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)
 
void scale (double s)
 

Constructor & Destructor Documentation

◆ BoundingBox() [1/4]

BoundingBox::BoundingBox ( )

◆ BoundingBox() [2/4]

BoundingBox::BoundingBox ( const Vector3 min,
const Vector3 max 
)

◆ BoundingBox() [3/4]

BoundingBox::BoundingBox ( const BoundingBox org)

◆ BoundingBox() [4/4]

BoundingBox::BoundingBox ( const BoundingBoxf org)

Member Function Documentation

◆ boundingSphereRadius()

double BoundingBox::boundingSphereRadius ( ) const

◆ center()

Vector3 BoundingBox::center ( ) const

◆ clear()

void BoundingBox::clear ( )

◆ empty()

bool cnoid::BoundingBox::empty ( ) const
inline

◆ expandBy() [1/3]

void BoundingBox::expandBy ( const BoundingBox bbox)

◆ expandBy() [2/3]

void cnoid::BoundingBox::expandBy ( const Vector3 v)
inline

◆ expandBy() [3/3]

void BoundingBox::expandBy ( double  x,
double  y,
double  z 
)

◆ max()

const Vector3& cnoid::BoundingBox::max ( ) const
inline

◆ min()

const Vector3& cnoid::BoundingBox::min ( ) const
inline

◆ operator bool()

cnoid::BoundingBox::operator bool ( ) const
inlineexplicit

◆ operator!=()

bool cnoid::BoundingBox::operator!= ( const BoundingBox rhs) const
inline

◆ operator==()

bool cnoid::BoundingBox::operator== ( const BoundingBox rhs) const
inline

◆ scale()

void BoundingBox::scale ( double  s)

◆ set()

void BoundingBox::set ( const Vector3 min,
const Vector3 max 
)

◆ size()

Vector3 BoundingBox::size ( ) const

◆ transform()

void BoundingBox::transform ( const Affine3 T)

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