CoordinatePartToRadians Method
Returns Coordinate part in radians.
Namespace: CoordinateSharpAssembly: CoordinateSharp (in CoordinateSharp.dll) Version: 3.1.1.1
XMLNS for XAML: Not mapped to an xmlns.
public double ToRadians()
Return Value
Doubledouble
The following example demonstrates how to get the radian values of the geodetic coordinate parts.
//Create a new coordinate at N25, E45
Coordinate c = new Coordinate(25,45);
//Get the radian values of each part
Console.WriteLine(c.Latitude.ToRadians()); //0.436332312998582
Console.WriteLine(c.Longitude.ToRadians()); //0.785398163397448