AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

virtual double MgGeometricEntity::GetLength (  )  [virtual]

Calculates and returns the length for this geometric entity. Defaults to zero for MgPoint objects.

.NET Syntax
virtual double GetLength();
Java Syntax
virtual double GetLength();
PHP Syntax
virtual double GetLength();

Returns:
Length of this geometric entity