Pioneer
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Aabb Struct Reference

#include <Aabb.h>

Collaboration diagram for Aabb:
Collaboration graph
[legend]

Public Member Functions

 Aabb ()
 
void Update (const vector3d &p)
 
void Update (float x, float y, float z)
 
template<typename T >
bool IsIn (const vector3< T > &p) const
 
bool Intersects (const Aabb &o) const
 
double GetRadius () const
 

Public Attributes

vector3d min
 
vector3d max
 
double radius
 

Constructor & Destructor Documentation

◆ Aabb()

Aabb::Aabb ( )
inline

Member Function Documentation

◆ GetRadius()

double Aabb::GetRadius ( ) const
inline

◆ Intersects()

bool Aabb::Intersects ( const Aabb o) const
inline

◆ IsIn()

template<typename T >
bool Aabb::IsIn ( const vector3< T > &  p) const
inline

◆ Update() [1/2]

void Aabb::Update ( const vector3d p)
inline
Here is the call graph for this function:

◆ Update() [2/2]

void Aabb::Update ( float  x,
float  y,
float  z 
)
inline

Member Data Documentation

◆ max

vector3d Aabb::max

◆ min

vector3d Aabb::min

◆ radius

double Aabb::radius

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