Public Member Functions | Private Attributes
karto::BoundingBox2 Class Reference

#include <Karto.h>

List of all members.

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_doubleGetSize () 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_doublem_Maximum
Vector2< kt_doublem_Minimum

Detailed Description

Defines a bounding box in 2-dimensional real space.

Definition at line 2755 of file Karto.h.


Constructor & Destructor Documentation

Definition at line 2761 of file Karto.h.


Member Function Documentation

void karto::BoundingBox2::Add ( const Vector2< kt_double > &  rPoint) [inline]

Add vector to bounding box

Definition at line 2813 of file Karto.h.

void karto::BoundingBox2::Add ( const BoundingBox2 rBoundingBox) [inline]

Add other bounding box to bounding box

Definition at line 2822 of file Karto.h.

Get bounding box maximum

Definition at line 2787 of file Karto.h.

Get bounding box minimum

Definition at line 2771 of file Karto.h.

Get the size of the bounding box

Definition at line 2803 of file Karto.h.

kt_bool karto::BoundingBox2::IsInBounds ( const Vector2< kt_double > &  rPoint) const [inline]

Whether the given point is in the bounds of this box

Parameters:
rPoint
Returns:
in bounds?

Definition at line 2833 of file Karto.h.

void karto::BoundingBox2::SetMaximum ( const Vector2< kt_double > &  rMaximum) [inline]

Set bounding box maximum

Definition at line 2795 of file Karto.h.

void karto::BoundingBox2::SetMinimum ( const Vector2< kt_double > &  mMinimum) [inline]

Set bounding box minimum

Definition at line 2779 of file Karto.h.


Member Data Documentation

Definition at line 2841 of file Karto.h.

Definition at line 2840 of file Karto.h.


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


open_karto
Author(s):
autogenerated on Thu Aug 27 2015 14:14:06