MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
bool MgEnvelope::Contains ( MgCoordinate coordinate)

Tests whether the given coordinate lies in or on this envelope.

.NET Syntax
bool Contains(MgCoordinate coordinate);
Java Syntax
boolean Contains(MgCoordinate coordinate);
PHP Syntax
bool Contains(MgCoordinate coordinate);
Parameters:
coordinate(MgCoordinate) The MgCoordinate to test containment of.
Returns:
True if the coordinate is contained in this envelope, false otherwise.