메소드 | 설명 | |
---|---|---|
calculateBearing ( |
This method calculates the initial bearing between the two points. | |
calculateDestination ( |
Calculates a destination point for the given point, bearing angle, and distance. | |
calculateFinalBearing ( |
Calculates the final bearing between the two points. |
public calculateBearing ( |
||
$point1 | ||
$point2 | ||
리턴 | float | Bearing Angle |
public calculateDestination ( |
||
$point | ||
$bearing | float | the bearing angle between 0 and 360 degrees |
$distance | float | the distance to the destination point in meters |
리턴 |
public calculateFinalBearing ( |
||
$point1 | ||
$point2 | ||
리턴 | float |