|
ICAROUS
|
#include <BoundingBox.h>
Public Member Functions | |
| BoundingBox () | |
| BoundingBox (double zMin, double zMax) | |
| BoundingBox (const BoundingBox &bb) | |
| BoundingBox (const BoundingRectangle &br) | |
| BoundingBox (const BoundingRectangle &br, double zMin, double zMax) | |
| void | clear () |
| void | add (double x, double y, double z) |
| void | add (const Vect3 &v) |
| void | add (const Position &p) |
| double | getMinX () const |
| double | getMaxX () const |
| double | getMinY () const |
| double | getMaxY () const |
| double | getMinZ () const |
| double | getMaxZ () const |
| double | getMinLon () const |
| double | getMaxLon () const |
| double | getMinLat () const |
| double | getMaxLat () const |
| Position | upperRightTop () |
| Position | lowerLeftBottom () |
| double | getMinAlt () |
| double | getMaxAlt () |
| BoundingRectangle | getBoundRect () const |
| bool | intersects (const BoundingBox &bb) |
| BoundingBox | linear (const Velocity &v, double dt) |
| std::string | toString () |
Private Attributes | |
| BoundingRectangle | br |
| double | zMin |
| double | zMax |
A BoundingRetangle that has been extended to 3 dimensions, so it includes height information.
| larcfm::BoundingBox::BoundingBox | ( | ) |
Create a bounding rectangle with invalid values. When the first point is added, valid values are obtained.
| larcfm::BoundingBox::BoundingBox | ( | const BoundingBox & | bb | ) |
Copy a bounding rectangle from an existing bounding box
| bb | box to copy |
| larcfm::BoundingBox::BoundingBox | ( | const BoundingRectangle & | br | ) |
Extend an existing BoundingRectangle with invalid height information. Height information will be assigned as additional points are added.
| br | rectangle to copy |
| larcfm::BoundingBox::BoundingBox | ( | const BoundingRectangle & | br, |
| double | zMin, | ||
| double | zMax | ||
| ) |
Extend an existing BoundingRectangle to include explicit height information.
| br | rectangle to copy |
| zMin | minimal height |
| zMax | maximal height |
| void larcfm::BoundingBox::add | ( | const Position & | p | ) |
Add a point to this bounding rectangle. Note that when adding LatLonAlt points, great circle paths may fall outside the defined bounding rectangle!
| p | point |
| void larcfm::BoundingBox::add | ( | const Vect3 & | v | ) |
Add a point to this bounding rectangle.
| v | vector |
| void larcfm::BoundingBox::add | ( | double | x, |
| double | y, | ||
| double | z | ||
| ) |
Add a point to this bounding rectangle.
| x | x coordinate |
| y | y coordinate |
| z | z coordinate |
| void larcfm::BoundingBox::clear | ( | ) |
Reset this bounding rectangle to a structure with invalid values. When the first point is added, valid values are obtained.
| double larcfm::BoundingBox::getMaxX | ( | ) | const |
| double larcfm::BoundingBox::getMaxY | ( | ) | const |
| double larcfm::BoundingBox::getMaxZ | ( | ) | const |
| double larcfm::BoundingBox::getMinX | ( | ) | const |
| double larcfm::BoundingBox::getMinY | ( | ) | const |
| double larcfm::BoundingBox::getMinZ | ( | ) | const |