프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$celestialBody |
메소드 | 설명 | |
---|---|---|
__construct ( Treffynnon\Navigator\CelestialBody\CelestialBodyAbstract $body = null ) | ||
calculate ( Treffynnon\Navigator\LatLong $point1, Treffynnon\Navigator\LatLong $point2 ) : float | Calculate the distance between two coordinates | |
getCelestialBody ( ) | ||
setCelestialBody ( Treffynnon\Navigator\CelestialBody\CelestialBodyAbstract $body ) |
public __construct ( Treffynnon\Navigator\CelestialBody\CelestialBodyAbstract $body = null ) | ||
$body | Treffynnon\Navigator\CelestialBody\CelestialBodyAbstract |
public setCelestialBody ( Treffynnon\Navigator\CelestialBody\CelestialBodyAbstract $body ) | ||
$body | Treffynnon\Navigator\CelestialBody\CelestialBodyAbstract |