src/Coordinate/Coordinate.php
public function isEqual(Coordinate $coordinate) {
        return bccomp($this->latitude, $coordinate->getLatitude(), $this->getPrecision()) === 0 && bccomp($this->longitude, $coordinate->getLongitude(), $this->getPrecision()) === 0;
    }
public function isEqual(Coordinate $coordinate) {
        return bccomp($this->latitude, $coordinate->getLatitude(), $this->getPrecision()) === 0 && bccomp($this->longitude, $coordinate->getLongitude(), $this->getPrecision()) === 0;
    }
public function isEqual ( Coordinate $ coordinate ) { return bccomp ( $ this -> latitude , $ coordinate -> getLatitude ( ) , $ this -> getPrecision ( ) ) === 0 && bccomp ( $ this -> longitude , $ coordinate -> getLongitude ( ) , $ this -> getPrecision ( ) ) === 0 ; }
Returns a boolean determining coordinates equality
@param  Coordinate  $coordinate
@return boolean
Returns a boolean determining coordinates equality