Geotools.Net

Geometry.GetLength Method 

Returns the length of this Geometry.

[Visual Basic]
Overridable Public Function GetLength() As Double
[C#]
public virtual double GetLength();

Return Value

Returns the length of this Geometry.

Remarks

Linear geometries return their length. Areal geometries return their perimeter. They override this function to compute the Length. Others return 0.0.

See Also

Geometry Class | Geometry Members | Geotools.Geometries Namespace