This document is archived and information here might be outdated. Recommended version. |
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 );
[C++]
HRESULT get_LengthGeodetic(
esriGeodeticType geodeticLineType,
ILinearUnit* pLU,
System.Double* pLength
);
[C++] Parameters geodeticLineType
geodeticLineType is a parameter of type esriGeodeticType pLU
pLU is a parameter of type ILinearUnit* pLength [out, retval]
pLength is a parameter of type double*
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
};