MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
virtual bool MgGeometry::Contains ( MgGeometry other) [virtual]

This is a convenience method. Given 2 geometries a and b, a.Contains(b) is true if and only if b.MgGeometry::Within(a) is true.

.NET Syntax
virtual bool Contains(MgGeometry other);
Java Syntax
virtual boolean Contains(MgGeometry other);
PHP Syntax
virtual bool Contains(MgGeometry other);
Parameters:
other(MgGeometry) The MgGeometry to test against this one.
Returns:
True if the other geometry is within this geometry, false otherwise.