Property | Type | Description | |
---|---|---|---|
$celestialBody |
Method | Description | |
---|---|---|
__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 |