AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

virtual bool MgGeometry::Intersects ( MgGeometry other  )  [virtual]

This is a convenience method. Given 2 geometries a and b, a.Intersects(b) is true if and only if a.Disjoint (b) is false.

.NET Syntax
virtual bool Intersects(MgGeometry other);
Java Syntax
virtual boolean Intersects(MgGeometry other);
PHP Syntax
virtual bool Intersects(MgGeometry other);

Parameters:
other (MgGeometry) The MgGeometry to test against this one.
Returns:
True if this geometry is not disjoint with respect to the other geometry, false otherwise.