#include <Karto.h>
Public Member Functions | |
void | Add (const Vector2< kt_double > &rPoint) |
void | Add (const BoundingBox2 &rBoundingBox) |
BoundingBox2 () | |
const Vector2< kt_double > & | GetMaximum () const |
const Vector2< kt_double > & | GetMinimum () const |
Size2< kt_double > | GetSize () const |
kt_bool | IsInBounds (const Vector2< kt_double > &rPoint) const |
void | SetMaximum (const Vector2< kt_double > &rMaximum) |
void | SetMinimum (const Vector2< kt_double > &mMinimum) |
Private Attributes | |
Vector2< kt_double > | m_Maximum |
Vector2< kt_double > | m_Minimum |
karto::BoundingBox2::BoundingBox2 | ( | ) | [inline] |
void karto::BoundingBox2::Add | ( | const Vector2< kt_double > & | rPoint | ) | [inline] |
void karto::BoundingBox2::Add | ( | const BoundingBox2 & | rBoundingBox | ) | [inline] |
const Vector2<kt_double>& karto::BoundingBox2::GetMaximum | ( | ) | const [inline] |
const Vector2<kt_double>& karto::BoundingBox2::GetMinimum | ( | ) | const [inline] |
Size2<kt_double> karto::BoundingBox2::GetSize | ( | ) | const [inline] |
kt_bool karto::BoundingBox2::IsInBounds | ( | const Vector2< kt_double > & | rPoint | ) | const [inline] |
void karto::BoundingBox2::SetMaximum | ( | const Vector2< kt_double > & | rMaximum | ) | [inline] |
void karto::BoundingBox2::SetMinimum | ( | const Vector2< kt_double > & | mMinimum | ) | [inline] |
Vector2<kt_double> karto::BoundingBox2::m_Maximum [private] |
Vector2<kt_double> karto::BoundingBox2::m_Minimum [private] |