This class represents a rectangular extent in Map Units, i.e. an extent in a particular coordinate system.
Public Member Functions | |
| TSLMUExtent () | |
| TSLMUExtent (double minX, double minY, double maxX, double maxY, const TSLCoordinateSystem *csys=NULL) | |
| double | height () const |
| bool | intersect (const TSLMUExtent &e) const |
| double | minX () const |
| double | minY () const |
| double | maxX () const |
| double | maxY () const |
| const TSLCoordinateSystem * | coordinateSystem () const |
| bool | operator== (const TSLMUExtent &e) const |
| bool | operator!= (const TSLMUExtent &e) const |
| TSLMUExtent & | operator= (const TSLMUExtent &e) |
| void | setExtent (double minX, double minY, double maxX, double maxY) |
| void | coordinateSystem (const TSLCoordinateSystem *csys) |
| double | width () const |
|
inline |
|
inline |
Creates a bounding box with the given extent.
|
inline |
|
inline |
Sets the coordinate system of this extent
| csys | The coordinate system for this extent |
|
inline |
Returns the height of the extent.
|
inline |
Query if Map Unit Extents intersect.
For the purposes of this method, an extent is considered intersecting if it touches the boundary.
| e | MUExtent to check. |
|
inline |
Returns the top right X coordinate of the extent.
|
inline |
Returns the top right Y coordinate of the extent.
|
inline |
Returns the bottom left X coordinate of the extent.
|
inline |
Returns the bottom left Y coordinate of the extent.
|
inline |
|
inline |
|
inline |
|
inline |
Sets the corners of the extent to the given values
|
inline |
Returns the width of the extent.