Quark Physics  1.0
2D Rigid and Soft Body Physics Engine
QAABB Class Reference

Public Member Functions

 QAABB (QVector minPosition, QVector maxPosition)
 
QVector GetMin ()
 
QVector GetMax ()
 
QVector GetSize ()
 
QAABBSetMinMax (QVector minPosition, QVector maxPosition)
 
float GetPerimeter () const
 
float GetArea () const
 
QVector GetCenterPosition () const
 
float GetVolume () const
 
double isContain (const QAABB &otherAABB) const
 
void Fatten (float amount)
 
QAABB Fattened (float amount) const
 
QAABB FattenedWithRate (float rate) const
 
bool isCollidingWith (const QAABB &otherAABB) const
 

Static Public Member Functions

static QAABB Combine (QAABB &b1, QAABB &b2)
 

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