src/Coordinate/Ellipsoid.php
public static function checkCoordinatesEllipsoid(CoordinateInterface $a, CoordinateInterface $b)
    {
        if ($a->getEllipsoid() != $b->getEllipsoid()) {
            throw new NotMatchingEllipsoidException('The ellipsoids for both coordinates must match !');
        }
    }
public static function checkCoordinatesEllipsoid(CoordinateInterface $a, CoordinateInterface $b)
    {
        if ($a->getEllipsoid() != $b->getEllipsoid()) {
            throw new NotMatchingEllipsoidException('The ellipsoids for both coordinates must match !');
        }
    }
public static function checkCoordinatesEllipsoid ( CoordinateInterface $ a , CoordinateInterface $ b ) { if ( $ a -> getEllipsoid ( ) != $ b -> getEllipsoid ( ) ) { throw new NotMatchingEllipsoidException ( 'The ellipsoids for both coordinates must match !' ) ; } }
Check if coordinates have the same ellipsoid.

@param CoordinateInterface $a A coordinate.
@param CoordinateInterface $b A coordinate.

@throws NotMatchingEllipsoidException
Check if coordinates have the same ellipsoid .