Made Conversion-methods public
This commit is contained in:
parent
750ba5c624
commit
93a448e189
@ -65,12 +65,12 @@ namespace OSMDatastructure
|
|||||||
return d;
|
return d;
|
||||||
}
|
}
|
||||||
|
|
||||||
private static double DegreesToRadians(double deg)
|
public static double DegreesToRadians(double deg)
|
||||||
{
|
{
|
||||||
return deg * Math.PI / 180.0;
|
return deg * Math.PI / 180.0;
|
||||||
}
|
}
|
||||||
|
|
||||||
private static double RadiansToDegrees(double rad)
|
public static double RadiansToDegrees(double rad)
|
||||||
{
|
{
|
||||||
return rad * 180.0 / Math.PI;
|
return rad * 180.0 / Math.PI;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user