MapPointConstants.RadiansPerDegree Property
MapPointConstants.RadiansPerDegree Property
The factor that is used to convert degrees to radians (0.017453292519943295).
Public RadiansPerDegree As System.Double = 0.017453292519943295
[C#]
public System.Double RadiansPerDegree;
Example
[Visual Basic]
'Convert a degree value to radians
Dim myConstants As New MapPointConstants()
Dim dblDegrees As Double = 180
Dim dblRadians As Double
dblRadians = dblDegrees * myConstants.RadiansPerDegree
[C#]
//Convert a degree value to radians
MapPointConstants myConstants = new MapPointConstants();
double dblDegrees = 180;
double dblRadians = dblDegrees * myConstants.RadiansPerDegree;