karto::BoundingBox2 Class Reference

#include <Karto.h>

List of all members.

Public Member Functions

void Add (const BoundingBox2 &rBoundingBox)
void Add (const Vector2< kt_double > &rPoint)
 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 2649 of file Karto.h.


Constructor & Destructor Documentation

karto::BoundingBox2::BoundingBox2 (  )  [inline]

Definition at line 2655 of file Karto.h.


Member Function Documentation

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

Add other bounding box to bounding box

Definition at line 2716 of file Karto.h.

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

Add vector to bounding box

Definition at line 2707 of file Karto.h.

const Vector2<kt_double>& karto::BoundingBox2::GetMaximum (  )  const [inline]

Get bounding box maximum

Definition at line 2681 of file Karto.h.

const Vector2<kt_double>& karto::BoundingBox2::GetMinimum (  )  const [inline]

Get bounding box minimum

Definition at line 2665 of file Karto.h.

Size2<kt_double> karto::BoundingBox2::GetSize (  )  const [inline]

Get the size of the bounding box

Definition at line 2697 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 2727 of file Karto.h.

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

Set bounding box maximum

Definition at line 2689 of file Karto.h.

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

Set bounding box minimum

Definition at line 2673 of file Karto.h.


Member Data Documentation

Definition at line 2735 of file Karto.h.

Definition at line 2734 of file Karto.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


karto
Author(s): SRI International (package maintained by Brian Gerkey)
autogenerated on Fri Jan 11 10:07:05 2013