public function withSRID(int $srid) : Geometry
    {
        if ($srid === $this->SRID()) {
            return $this;
        }

        $that = clone $this;
        $that->coordinateSystem = $that->coordinateSystem->withSRID($srid);

        return $that;
    }
public function withSRID(int $srid) : Geometry
    {
        if ($srid === $this->SRID()) {
            return $this;
        }

        $that = clone $this;
        $that->coordinateSystem = $that->coordinateSystem->withSRID($srid);

        return $that;
    }
public function withSRID ( int $ srid ) : Geometry { if ( $ srid === $ this -> SRID ( ) ) { return $ this ; } $ that = clone $ this ; $ that -> coordinateSystem = $ that -> coordinateSystem -> withSRID ( $ srid ) ; return $ that ; }
Returns a copy of this Geometry, with the SRID altered.

@param int $srid

@return static
Returns a copy of this Geometry with the SRID altered .