hpp::fcl::OBB Class Reference

Oriented bounding box class. More...

#include <hpp/fcl/BV/OBB.h>

Public Member Functions

bool contain (const Vec3f &p) const
 Check whether the OBB contains a point. More...
 
bool overlap (const OBB &other) const
 Check collision between two OBB. More...
 
bool overlap (const OBB &other, const CollisionRequest &request, FCL_REAL &sqrDistLowerBound) const
 Check collision between two OBB. More...
 
FCL_REAL distance (const OBB &other, Vec3f *P=NULL, Vec3f *Q=NULL) const
 Distance between two OBBs, not implemented. More...
 
OBBoperator+= (const Vec3f &p)
 A simple way to merge the OBB and a point (the result is not compact). More...
 
OBBoperator+= (const OBB &other)
 Merge the OBB and another OBB (the result is not compact). More...
 
OBB operator+ (const OBB &other) const
 Return the merged OBB of current OBB and the other one (the result is not compact). More...
 
FCL_REAL size () const
 Size of the OBB (used in BV_Splitter to order two OBBs) More...
 
const Vec3fcenter () const
 Center of the OBB. More...
 
FCL_REAL width () const
 Width of the OBB. More...
 
FCL_REAL height () const
 Height of the OBB. More...
 
FCL_REAL depth () const
 Depth of the OBB. More...
 
FCL_REAL volume () const
 Volume of the OBB. More...
 

Public Attributes

Matrix3f axes
 Orientation of OBB. More...
 
Vec3f To
 Center of OBB. More...
 
Vec3f extent
 Half dimensions of OBB. More...
 

Detailed Description

Oriented bounding box class.