public function interiorRingN(int $n) : LineString
    {
        if ($n === 0 || ! isset($this->rings[$n])) {
            throw new NoSuchGeometryException('There is no interior ring in this Polygon at index ' . $n);
        }

        return $this->rings[$n];
    }
public function interiorRingN(int $n) : LineString
    {
        if ($n === 0 || ! isset($this->rings[$n])) {
            throw new NoSuchGeometryException('There is no interior ring in this Polygon at index ' . $n);
        }

        return $this->rings[$n];
    }
public function interiorRingN ( int $ n ) : LineString { if ( $ n === 0 || ! isset ( $ this -> rings [ $ n ] ) ) { throw new NoSuchGeometryException ( 'There is no interior ring in this Polygon at index ' . $ n ) ; } return $ this -> rings [ $ n ] ; }
Returns the specified interior ring N in this Polygon.

@param int $n The ring number, 1-based.

@return LineString

@throws NoSuchGeometryException If there is no interior ring at this index.
Returns the specified interior ring N in this Polygon .