Logo
Public Member Functions | List of all members
SharpKmyMath::Aabb Class Reference

#include <Aabb.h>

Public Member Functions

 Aabb ()
 
 Aabb (const Vector3 min, const Vector3 max)
 
 Aabb (const Aabb^ o)
 
Vector3 getCenter ()
 
void setCenter (Vector3 v)
 
Vector3 getSize ()
 
void setSize (Vector3 v)
 
Vector3 getMin ()
 
Vector3 getMax ()
 
float getVolume ()
 
void inflate (float v)
 
void inflateRate (float r)
 
bool intersect (Aabb^ p)
 
bool intersectAabb (Aabb^ p, Aabb^res)
 
bool intersectPlane (Plane^ plane)
 
void expand (const Vector3 p)
 
void expand (Aabb^ aabb)
 

Constructor & Destructor Documentation

◆ Aabb() [1/3]

SharpKmyMath::Aabb::Aabb ( )

◆ Aabb() [2/3]

SharpKmyMath::Aabb::Aabb ( const Vector3  min,
const Vector3  max 
)

◆ Aabb() [3/3]

SharpKmyMath::Aabb::Aabb ( const Aabb o)

Member Function Documentation

◆ expand() [1/2]

void SharpKmyMath::Aabb::expand ( Aabb aabb)

◆ expand() [2/2]

void SharpKmyMath::Aabb::expand ( const Vector3  p)

◆ getCenter()

Vector3 SharpKmyMath::Aabb::getCenter ( )

◆ getMax()

Vector3 SharpKmyMath::Aabb::getMax ( )

◆ getMin()

Vector3 SharpKmyMath::Aabb::getMin ( )

◆ getSize()

Vector3 SharpKmyMath::Aabb::getSize ( )

◆ getVolume()

float SharpKmyMath::Aabb::getVolume ( )

◆ inflate()

void SharpKmyMath::Aabb::inflate ( float  v)

◆ inflateRate()

void SharpKmyMath::Aabb::inflateRate ( float  r)

◆ intersect()

bool SharpKmyMath::Aabb::intersect ( Aabb p)

◆ intersectAabb()

bool SharpKmyMath::Aabb::intersectAabb ( Aabb p,
Aabb res 
)

◆ intersectPlane()

bool SharpKmyMath::Aabb::intersectPlane ( Plane plane)

◆ setCenter()

void SharpKmyMath::Aabb::setCenter ( Vector3  v)

◆ setSize()

void SharpKmyMath::Aabb::setSize ( Vector3  v)