#include <VHACD.h>
Public Member Functions | |
BoundsAABB ()=default | |
BoundsAABB (const std::vector< VHACD::Vertex > &points) | |
BoundsAABB (const Vect3 &min, const Vect3 &max) | |
VHACD::Vect3 | ClosestPoint (const VHACD::Vect3 &p) const |
VHACD::Vect3 | GetCenter () const |
VHACD::Vect3 & | GetMax () |
const VHACD::Vect3 & | GetMax () const |
VHACD::Vect3 & | GetMin () |
const VHACD::Vect3 & | GetMin () const |
VHACD::Vect3 | GetSize () const |
BoundsAABB | Inflate (double ratio) const |
bool | Intersects (const BoundsAABB &b) const |
double | SurfaceArea () const |
BoundsAABB | Union (const BoundsAABB &b) |
double | Volume () const |
Public Attributes | |
VHACD::Vect3 | m_max { double(0.0) } |
VHACD::Vect3 | m_min { double(0.0) } |
|
default |
VHACD::BoundsAABB::BoundsAABB | ( | const std::vector< VHACD::Vertex > & | points | ) |
VHACD::Vect3 VHACD::BoundsAABB::ClosestPoint | ( | const VHACD::Vect3 & | p | ) | const |
VHACD::Vect3 VHACD::BoundsAABB::GetCenter | ( | ) | const |
VHACD::Vect3& VHACD::BoundsAABB::GetMax | ( | ) |
const VHACD::Vect3& VHACD::BoundsAABB::GetMax | ( | ) | const |
VHACD::Vect3& VHACD::BoundsAABB::GetMin | ( | ) |
const VHACD::Vect3& VHACD::BoundsAABB::GetMin | ( | ) | const |
VHACD::Vect3 VHACD::BoundsAABB::GetSize | ( | ) | const |
BoundsAABB VHACD::BoundsAABB::Inflate | ( | double | ratio | ) | const |
bool VHACD::BoundsAABB::Intersects | ( | const BoundsAABB & | b | ) | const |
double VHACD::BoundsAABB::SurfaceArea | ( | ) | const |
BoundsAABB VHACD::BoundsAABB::Union | ( | const BoundsAABB & | b | ) |
double VHACD::BoundsAABB::Volume | ( | ) | const |
VHACD::Vect3 VHACD::BoundsAABB::m_max { double(0.0) } |
VHACD::Vect3 VHACD::BoundsAABB::m_min { double(0.0) } |