This document is archived and information here might be outdated. Recommended version. |
Constructs a geodetic line connecting the specified points. The 'by length' and 'by deviation' densification options are supported.
[Visual Basic .NET] Public Sub ConstructGeodeticLineFromPoints ( _ ByVal geodeticLineType As esriGeodeticType, _ ByVal FromPoint As IPoint, _ ByVal ToPoint As IPoint, _ ByVal LinearUnit As ILinearUnit, _ ByVal densifyMethod As esriCurveDensifyMethod, _ ByVal densifyParameter As Double _ )
[C#] public void ConstructGeodeticLineFromPoints ( esriGeodeticType geodeticLineType, IPoint FromPoint, IPoint ToPoint, ILinearUnit LinearUnit, esriCurveDensifyMethod densifyMethod, double densifyParameter );
[C++]
HRESULT ConstructGeodeticLineFromPoints(
esriGeodeticType geodeticLineType,
IPoint* FromPoint,
IPoint* ToPoint,
ILinearUnit* LinearUnit,
esriCurveDensifyMethod densifyMethod,
double densifyParameter
);
[C++] Parameters geodeticLineType
geodeticLineType is a parameter of type esriGeodeticType FromPoint
FromPoint is a parameter of type IPoint* ToPoint
ToPoint is a parameter of type IPoint* LinearUnit
LinearUnit is a parameter of type ILinearUnit* densifyMethod
densifyMethod is a parameter of type esriCurveDensifyMethod densifyParameter
densifyParameter is a parameter of type double
Constructs a geodetic line connecting the specified points. The esriCurveDensifyByLength and esriCurveDensifyByDeviation densification methods can be specified. If the from point has a spatial reference (PCS or GCS) associated with it, then that spatial reference will be assigned to the polycurve being constructed. Otherwise, if the polycurve already has a spatial reference, that one will be used. See the above section on common behavior for additional information on this method. This method is not implemented for polygons (E_NOTIMPL is returned).
Returns E_NOTIMPL if used with polygons.
Length of output line will always be less than one hemisphere.