public static function checkCoordinatesEllipsoid(CoordinatesInterface $a, CoordinatesInterface $b)
    {
        if ($a->getEllipsoid() != $b->getEllipsoid()) {
            throw new GeoliteException('The ellipsoids for both coordinates must match !');
        }
    }
public static function checkCoordinatesEllipsoid(CoordinatesInterface $a, CoordinatesInterface $b)
    {
        if ($a->getEllipsoid() != $b->getEllipsoid()) {
            throw new GeoliteException('The ellipsoids for both coordinates must match !');
        }
    }
public static function checkCoordinatesEllipsoid ( CoordinatesInterface $ a , CoordinatesInterface $ b ) { if ( $ a -> getEllipsoid ( ) != $ b -> getEllipsoid ( ) ) { throw new GeoliteException ( 'The ellipsoids for both coordinates must match !' ) ; } }
Check if coordinates have the same ellipsoid.

@param \Igniter\Flame\Geolite\Contracts\CoordinatesInterface $a A coordinate.
@param \Igniter\Flame\Geolite\Contracts\CoordinatesInterface $b A coordinate.

@throws \Igniter\Flame\Geolite\Exception\GeoliteException
Check if coordinates have the same ellipsoid .