Public Member Functions | Public Attributes | List of all members
VHACD::BoundsAABB Struct Reference

#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::Vect3GetMax ()
 
const VHACD::Vect3GetMax () const
 
VHACD::Vect3GetMin ()
 
const VHACD::Vect3GetMin () 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) }
 

Detailed Description

Definition at line 266 of file VHACD.h.

Constructor & Destructor Documentation

◆ BoundsAABB() [1/3]

VHACD::BoundsAABB::BoundsAABB ( )
default

◆ BoundsAABB() [2/3]

VHACD::BoundsAABB::BoundsAABB ( const std::vector< VHACD::Vertex > &  points)

◆ BoundsAABB() [3/3]

VHACD::BoundsAABB::BoundsAABB ( const Vect3 min,
const Vect3 max 
)

Member Function Documentation

◆ ClosestPoint()

VHACD::Vect3 VHACD::BoundsAABB::ClosestPoint ( const VHACD::Vect3 p) const

◆ GetCenter()

VHACD::Vect3 VHACD::BoundsAABB::GetCenter ( ) const

◆ GetMax() [1/2]

VHACD::Vect3& VHACD::BoundsAABB::GetMax ( )

◆ GetMax() [2/2]

const VHACD::Vect3& VHACD::BoundsAABB::GetMax ( ) const

◆ GetMin() [1/2]

VHACD::Vect3& VHACD::BoundsAABB::GetMin ( )

◆ GetMin() [2/2]

const VHACD::Vect3& VHACD::BoundsAABB::GetMin ( ) const

◆ GetSize()

VHACD::Vect3 VHACD::BoundsAABB::GetSize ( ) const

◆ Inflate()

BoundsAABB VHACD::BoundsAABB::Inflate ( double  ratio) const

◆ Intersects()

bool VHACD::BoundsAABB::Intersects ( const BoundsAABB b) const

◆ SurfaceArea()

double VHACD::BoundsAABB::SurfaceArea ( ) const

◆ Union()

BoundsAABB VHACD::BoundsAABB::Union ( const BoundsAABB b)

◆ Volume()

double VHACD::BoundsAABB::Volume ( ) const

Member Data Documentation

◆ m_max

VHACD::Vect3 VHACD::BoundsAABB::m_max { double(0.0) }

Definition at line 292 of file VHACD.h.

◆ m_min

VHACD::Vect3 VHACD::BoundsAABB::m_min { double(0.0) }

Definition at line 291 of file VHACD.h.


The documentation for this struct was generated from the following file:


tesseract_collision
Author(s): Levi Armstrong
autogenerated on Sun May 18 2025 03:01:53