ChartToolsCalculateSphericalRoute Method |
LightningChart .NET Help
Calculate a spherical route (going shortest way, in sphere surface). This is also known as Great Circle route.
Namespace:
Arction.Wpf.ChartingMVVM
Assembly:
Arction.Wpf.ChartingMVVM.LightningChart (in Arction.Wpf.ChartingMVVM.LightningChart.dll) Version: 10.3.1
Syntaxpublic static MapCoordinate[] CalculateSphericalRoute(
MapCoordinate beginPoint,
MapCoordinate endPoint,
double sphereRadius,
double angleStep
)
Public Shared Function CalculateSphericalRoute (
beginPoint As MapCoordinate,
endPoint As MapCoordinate,
sphereRadius As Double,
angleStep As Double
) As MapCoordinate()
public:
static array<MapCoordinate>^ CalculateSphericalRoute(
MapCoordinate beginPoint,
MapCoordinate endPoint,
double sphereRadius,
double angleStep
)
Parameters
- beginPoint
- Type: Arction.Wpf.ChartingMVVMMapCoordinate
Route begin coordinate. - endPoint
- Type: Arction.Wpf.ChartingMVVMMapCoordinate
Route end coordinate. - sphereRadius
- Type: SystemDouble
Sphere radius. - angleStep
- Type: SystemDouble
Angle step.
Return Value
Type:
MapCoordinateRoute waypoints.
See Also