This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IC > IConstructGeodetic Interface > IConstructGeodetic.ConstructGeodeticLineFromDistance Method (ArcObjects .NET 10.4 SDK) |
constructs a geodetic line with the specified length and azimuth. The 'by length' and 'by deviation' densification options are supported.
[Visual Basic .NET] Public Sub ConstructGeodeticLineFromDistance ( _ ByVal geodeticLineType As esriGeodeticType, _ ByVal FromPoint As IPoint, _ ByVal LinearUnit As ILinearUnit, _ ByVal Length As Double, _ ByVal Azimuth As Double, _ ByVal densifyMethod As esriCurveDensifyMethod, _ ByVal densifyParameter As Double _ )
[C#] public void ConstructGeodeticLineFromDistance ( esriGeodeticType geodeticLineType, IPoint FromPoint, ILinearUnit LinearUnit, double Length, double Azimuth, esriCurveDensifyMethod densifyMethod, double densifyParameter );
[C++]
HRESULT ConstructGeodeticLineFromDistance(
esriGeodeticType geodeticLineType,
IPoint* FromPoint,
ILinearUnit* LinearUnit,
double Length,
double Azimuth,
esriCurveDensifyMethod densifyMethod,
double densifyParameter
);
[C++]
Parameters geodeticLineType
geodeticLineType is a parameter of type esriGeodeticType FromPoint
FromPoint is a parameter of type IPoint LinearUnit
LinearUnit is a parameter of type ILinearUnit Length Length is a parameter of type double Azimuth Azimuth is a parameter of type double densifyMethod
densifyMethod is a parameter of type esriCurveDensifyMethod densifyParameter densifyParameter is a parameter of type double
Constructs a geodetic line with the specified length and azimuth (clockwise angle from north). The esriCurveDensifyByLength and esriCurveDensifyByDeviation densification methods can be specified. Output length is always less than one hemisphere. 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.