MapGuide API Reference
|
MgEnvelope represents a bounding box defined in terms of a lower left coordinate and an upper right coordinate. More...
Public Member Functions | |
bool | Contains (MgCoordinate *coordinate) |
Tests whether the given coordinate lies in or on this envelope. | |
bool | Contains (MgEnvelope *envelope) |
Tests whether the given envelope lies completely inside this Envelope (inclusive of the boundary). | |
void | ExpandToInclude (MgCoordinate *coordinate) |
Enlarges the boundary of the envelope so that it contains the given coordinate. | |
void | ExpandToInclude (MgEnvelope *envelope) |
Enlarges the boundary of the envelope so that it contains the given envelope. | |
double | GetDepth () |
double | GetHeight () |
MgCoordinate * | GetLowerLeftCoordinate () |
Returns the lower left coordinate of the envelope. | |
MgCoordinate * | GetUpperRightCoordinate () |
double | GetWidth () |
bool | Intersects (MgEnvelope *envelope) |
Tests if the region defined by another envelope overlaps (intersects) the region of this envelope. | |
bool | IsNull () |
void | MakeNull () |
Makes this envelope a "null" envelope. | |
MgEnvelope () | |
Constructs and initializes an "null" envelope. | |
MgEnvelope (MgCoordinate *coord) | |
Constructs and initializes an envelope for a region defined by one coordinate. | |
MgEnvelope (MgCoordinate *coord1, MgCoordinate *coord2) | |
Constructs and initializes an envelope for a region defined by two coordinates. | |
MgEnvelope (double xMin, double yMin, double xMax, double yMax) | |
Constructs and initializes an envelope for a region defined by two coordinates , given as four doubles. | |
MgEnvelope (MgEnvelope *envelope) | |
Constructs and initializes an envelope that is a copy of another. | |
MgEnvelope * | Transform (MgTransform *transform) |
Returns a transformed copy of this envelope. |
MgEnvelope represents a bounding box defined in terms of a lower left coordinate and an upper right coordinate.