Web API Reference MapGuide Open Source
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.


Comments or suggestions? Send us feedback.