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

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

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

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

@return Curve

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