Public Member Functions | Private Attributes
BoundingBox Class Reference

#include <Bounding_Box.hpp>

List of all members.

Public Member Functions

 BoundingBox ()
double max_x ()
double max_y ()
double min_x ()
double min_y ()
void reset ()
 Resets the contents of *bounding_box* to empty.
void update (double x, double y)
 Adds the point (*x*, *y) to *bounding_box*.

Private Attributes

double maximum_x
double maximum_y
double minimum_x
double minimum_y

Detailed Description

Definition at line 7 of file Bounding_Box.hpp.


Constructor & Destructor Documentation

Definition at line 7 of file Bounding_Box.cpp.


Member Function Documentation

double BoundingBox::max_x ( ) [inline]

Definition at line 27 of file Bounding_Box.hpp.

double BoundingBox::max_y ( ) [inline]

Definition at line 29 of file Bounding_Box.hpp.

double BoundingBox::min_x ( ) [inline]

Definition at line 26 of file Bounding_Box.hpp.

double BoundingBox::min_y ( ) [inline]

Definition at line 28 of file Bounding_Box.hpp.

Resets the contents of *bounding_box* to empty.

Parameters:
bounding_boxto be reset.

Bounding_Box__reset*() will reset *bounding_box* to the empty state.

Definition at line 16 of file Bounding_Box.cpp.

void BoundingBox::update ( double  x,
double  y 
)

Adds the point (*x*, *y) to *bounding_box*.

Parameters:
bounding_boxto be updated.
xis the X value to update.
yis the Y value to update.

Bounding_Box__update*() will update the contents of *bounding_box* to enclose (*x*, *y*).

Definition at line 32 of file Bounding_Box.cpp.


Member Data Documentation

double BoundingBox::maximum_x [private]

Definition at line 9 of file Bounding_Box.hpp.

double BoundingBox::maximum_y [private]

Definition at line 11 of file Bounding_Box.hpp.

double BoundingBox::minimum_x [private]

Definition at line 10 of file Bounding_Box.hpp.

double BoundingBox::minimum_y [private]

Definition at line 12 of file Bounding_Box.hpp.


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


fiducial_lib
Author(s): Wayne Gramlich
autogenerated on Thu Jun 6 2019 18:08:04