ArcObjects Library Reference (Geometry)  

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
);
[C++]
HRESULT get_LengthGeodetic(
  esriGeodeticType geodeticLineType,
  ILinearUnit* pLU,
  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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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