Метод | Описание | |
---|---|---|
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 |