AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

virtual bool MgGeometricEntity::IsClosed (  )  [pure virtual]

Tests whether the entity's boundary encloses an area.

.NET Syntax
virtual bool IsClosed();
Java Syntax
virtual boolean IsClosed();
PHP Syntax
virtual bool IsClosed();

Returns:
True if the geometry is closed, false otherwise.

Implemented in MgArcSegment, MgCurvePolygon, MgCurveRing, MgCurveString, MgLinearRing, MgLinearSegment, MgLineString, MgMultiCurvePolygon, MgMultiCurveString, MgMultiGeometry, MgMultiLineString, MgMultiPoint, MgMultiPolygon, MgPoint, and MgPolygon.