AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

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.