ArcObjects Library Reference (DefenseSolutions)  

IMeasurementTool.SpecialGeolineType Property

Type of Geoline, joining FromPoint and ToPoint, along which measurements are made.

[Visual Basic .NET]
Public Property SpecialGeolineType As cjmtkSGType
[C#]
public cjmtkSGType SpecialGeolineType {get; set;}
[C++]
HRESULT get_SpecialGeolineType(
  cjmtkSGType* peSGType
);
[C++]
HRESULT put_SpecialGeolineType(
  cjmtkSGType peSGType
);
[C++]

Parameters

peSGType [out, retval]

  peSGType is a parameter of type cjmtkSGType

peSGType [in]

  peSGType is a parameter of type cjmtkSGType

Product Availability

Available with ArcGIS Engine and ArcGIS Desktop.

Description

The cjmtkSGType enumerator is used for this property. There are three types of Geolines available: geodesic, which is the shortest distance between two points on a spheroid; great circle, which is the shortest distance between two points on a sphere; and rhumb line, which is a line of constant azimuth. If this property is not specified it will default to cjmtkSGTGeodesic.

This property must be set after the IMeasurementTool::ConstructByPoints or ConstructByPointDistAngle method is called.

See Also

IMeasurementTool Interface

.NET Snippets

Get Azimuth from Two Points | Get Distance from Two Points |

.NET Samples

Geodesy MapControl (Code Files: GeodesyMapControl) |