AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

virtual bool MgGeometricEntity::IsValid (  )  [virtual]

Tests whether the coordinates given to construct the entity represent a valid Geometry or GeometryComponent.

Note: Optional for MapGuide.

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

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