Fix Point
This commit is contained in:
parent
ce5c34cb06
commit
77ed944b3c
@ -31,9 +31,7 @@ public final class Point {
|
|||||||
if (koef >= 1.0) { koef = 1.0 ; }
|
if (koef >= 1.0) { koef = 1.0 ; }
|
||||||
if (koef <= -1.0) { koef = -1.0 ; }
|
if (koef <= -1.0) { koef = -1.0 ; }
|
||||||
|
|
||||||
res = EARTH_RADIUS * Math.acos(koef) ;
|
return (EARTH_RADIUS * Math.acos(koef)) ;
|
||||||
|
|
||||||
return res
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Longitude and latitude of the point.
|
// Longitude and latitude of the point.
|
||||||
|
Loading…
Reference in New Issue
Block a user