ArcGIS Enterprise SDK
IPolycurveGeodetic.LengthGeodetic Property
ArcGIS Developer Help

IPolycurveGeodetic.LengthGeodetic Property

Returns length of this polycurve calculated using various types of geodetic methods.

[Visual Basic .NET]
Public Function get_LengthGeodetic ( _
    ByVal geodeticLineType As esriGeodeticType, _
    ByVal pLU As ILinearUnit _
) As Double
[C#]
public double get_LengthGeodetic (
    esriGeodeticType geodeticLineType,
    ILinearUnit pLU
);

Description

Returns the length of the polycurve calculated using various types of geodetic methods. The units of the reported length are specified by the linear unit parameter. If this parameter is null, the length is reported in meters. The polycurve can be in either a projected or geographic coordinate system.

enum esriGeodeticType
{
  esriGeodeticTypeGeodesic       = 0,
  esriGeodeticTypeLoxodrome      = 1,
  esriGeodeticTypeGreatElliptic  = 2,
  esriGeodeticTypeNormalSection  = 3
};

See Also

IPolycurveGeodetic Interface