C# Class MapAround.Geography.UnitSphere

The unit sphere.
Exibir arquivo Open project: gkrsu/maparound.core Class Usage Examples

Public Methods

Method Description
GetArcPoints ( GeoPoint startPoint, GeoPoint endPoint, double maxAngle ) : List

Calculates the points on the great circle bounded by two points.

LatLonToGeocentric ( double latRad, double lonRad ) : Vector3
Latitude ( Vector3 p ) : double
Longitude ( Vector3 p ) : double

Method Details

GetArcPoints() public static method

Calculates the points on the great circle bounded by two points.
public static GetArcPoints ( GeoPoint startPoint, GeoPoint endPoint, double maxAngle ) : List
startPoint GeoPoint Starting point of the arc
endPoint GeoPoint The end point of the arc
maxAngle double Maximum permissible angle between the points
return List

LatLonToGeocentric() public static method

public static LatLonToGeocentric ( double latRad, double lonRad ) : Vector3
latRad double
lonRad double
return Vector3

Latitude() public static method

public static Latitude ( Vector3 p ) : double
p Vector3
return double

Longitude() public static method

public static Longitude ( Vector3 p ) : double
p Vector3
return double