![]() |
MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
|
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.
minX | The X coordinate of the bottom left corner of the extent. |
minY | The Y coordinate of the bottom left corner of the extent. |
maxX | The X coordinate of the top right corner of the extent. |
maxY | The Y coordinate of the top right corner of the extent. |
csys | The coordinate system of this 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
minX | The X coordinate of the bottom left corner of the new extent. |
minY | The Y coordinate of the bottom left corner of the new extent |
maxX | The X coordinate of the top right corner of the new extent. |
maxY | The Y coordinate of the top right corner of the new extent |
|
inline |
Returns the width of the extent.