Web API Reference MapGuide Open Source
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.


Comments or suggestions? Send us feedback.