|
|
| DBoundingBox () |
| Default constructor. More...
|
|
| DBoundingBox (const DBoundingBox &rhs) |
| Copy constructor. More...
|
|
DBoundingBox & | operator= (const DBoundingBox &rhs) |
| Assignment operator. More...
|
|
DBoundingBox & | operator= (const Base &rhs) |
| Assignment operator for the base class. More...
|
|
| ~DBoundingBox () |
| Destructor. More...
|
|
| DBoundingBox (const PositionType &minimum, const PositionType &maximum) |
| Constructor from two positions. More...
|
|
|
void | enlarge (const PositionType &p) |
| Enlarges the bounding box such that it contains a position. More...
|
|
void | enlarge (CoordinateType x, CoordinateType y) |
| Enlarges the bounding box such that it contains a position specified by two coordinates. More...
|
|
|
bool | operator== (const DBoundingBox &rhs) const |
| Equality operator. More...
|
|
bool | operator== (const Base &rhs) const |
| Equality operator. More...
|
|
bool | encloses (const PositionType &position) const |
| Checks whether this range contains a certain point. More...
|
|
bool | encloses (CoordinateType x, CoordinateType y) const |
| 2D-version encloses(x,y) is for convenience only More...
|
|
bool | intersects (const DBoundingBox &bounding_box) const |
|
bool | isEmpty () const |
| Test if bounding box is empty. More...
|
|
| DIntervalBase () |
| Default constructor. More...
|
|
| DIntervalBase (const DIntervalBase &rhs) |
| Copy constructor. More...
|
|
DIntervalBase & | operator= (const DIntervalBase &rhs) |
| Assignment operator. More...
|
|
| ~DIntervalBase () |
| Destructor. More...
|
|
| DIntervalBase (PositionType const &minimum, PositionType const &maximum) |
| This constructor sets min_ and max_ directly. More...
|
|
PositionType const & | minPosition () const |
| Accessor to minimum position. More...
|
|
PositionType const & | maxPosition () const |
| Accessor to maximum position. More...
|
|
void | setMin (PositionType const &position) |
| Mutator for minimum position. More...
|
|
void | setMax (PositionType const &position) |
| Mutator for maximum position. More...
|
|
void | setMinMax (PositionType const &min, PositionType const &max) |
| Mutator for minimum and maximum position. More...
|
|
template<UInt D2> |
void | assign (const DIntervalBase< D2 > rhs) |
| Assignment from a DIntervalBase of different dimensions. More...
|
|
bool | operator== (const DIntervalBase &rhs) const |
| Equality operator. More...
|
|
bool | operator!= (const DIntervalBase &rhs) const |
| Equality operator. More...
|
|
void | clear () |
| Make the interval empty. More...
|
|
CoordinateType | minX () const |
| Accessor for min_ coordinate minimum. More...
|
|
CoordinateType | minY () const |
| Accessor for max_ coordinate minimum. More...
|
|
CoordinateType | maxX () const |
| Accessor for min_ coordinate maximum. More...
|
|
CoordinateType | maxY () const |
| Accessor for max_ coordinate maximum. More...
|
|
void | setMinX (CoordinateType const c) |
| Mutator for min_ coordinate of the smaller point. More...
|
|
void | setMinY (CoordinateType const c) |
| Mutator for max_ coordinate of the smaller point. More...
|
|
void | setMaxX (CoordinateType const c) |
| Mutator for min_ coordinate of the larger point. More...
|
|
void | setMaxY (CoordinateType const c) |
| Mutator for max_ coordinate of the larger point. More...
|
|
CoordinateType | width () const |
| Returns the width of the area i.e. the difference of dimension zero (X). More...
|
|
CoordinateType | height () const |
| Returns the height of the area i.e. the difference of dimension one (Y). More...
|
|
PositionType | center () const |
| Returns the center of the interval. More...
|
|
PositionType | diagonal () const |
| Returns the diagonal of the area, i.e. max_ - min_. More...
|
|