Choreonoid  1.8
Public Member Functions | List of all members
cnoid::BoundingBoxf Class Reference

#include <BoundingBox.h>

Public Member Functions

 BoundingBoxf ()
 
 BoundingBoxf (const Vector3f &min, const Vector3f &max)
 
 BoundingBoxf (const BoundingBoxf &org)
 
 BoundingBoxf (const BoundingBox &org)
 
bool operator== (const BoundingBoxf &rhs) const
 
bool operator!= (const BoundingBoxf &rhs) const
 
void set (const Vector3f &min, const Vector3f &max)
 
void clear ()
 
bool empty () const
 
 operator bool () const
 
const Vector3f & min () const
 
const Vector3f & max () const
 
Vector3f center () const
 
Vector3f size () const
 
float boundingSphereRadius () const
 
void expandBy (const BoundingBoxf &bbox)
 
void expandBy (const BoundingBox &bbox)
 
void expandBy (float x, float y, float z)
 
void expandBy (const Vector3f &v)
 
void transform (const Affine3f &T)
 
void scale (float f)
 

Detailed Description

float type version of the BoundingBox class

Constructor & Destructor Documentation

◆ BoundingBoxf() [1/4]

BoundingBoxf::BoundingBoxf ( )

◆ BoundingBoxf() [2/4]

BoundingBoxf::BoundingBoxf ( const Vector3f &  min,
const Vector3f &  max 
)

◆ BoundingBoxf() [3/4]

BoundingBoxf::BoundingBoxf ( const BoundingBoxf org)

◆ BoundingBoxf() [4/4]

BoundingBoxf::BoundingBoxf ( const BoundingBox org)

Member Function Documentation

◆ boundingSphereRadius()

float BoundingBoxf::boundingSphereRadius ( ) const

◆ center()

Vector3f BoundingBoxf::center ( ) const

◆ clear()

void BoundingBoxf::clear ( )

◆ empty()

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

◆ expandBy() [1/4]

void BoundingBoxf::expandBy ( const BoundingBox bbox)

◆ expandBy() [2/4]

void BoundingBoxf::expandBy ( const BoundingBoxf bbox)

◆ expandBy() [3/4]

void cnoid::BoundingBoxf::expandBy ( const Vector3f &  v)
inline

◆ expandBy() [4/4]

void BoundingBoxf::expandBy ( float  x,
float  y,
float  z 
)

◆ max()

const Vector3f& cnoid::BoundingBoxf::max ( ) const
inline

◆ min()

const Vector3f& cnoid::BoundingBoxf::min ( ) const
inline

◆ operator bool()

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

◆ operator!=()

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

◆ operator==()

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

◆ scale()

void BoundingBoxf::scale ( float  f)

◆ set()

void BoundingBoxf::set ( const Vector3f &  min,
const Vector3f &  max 
)

◆ size()

Vector3f BoundingBoxf::size ( ) const

◆ transform()

void BoundingBoxf::transform ( const Affine3f &  T)

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