public function pointN(int $n) : Point
    {
        if (! isset($this->points[$n - 1])) {
            throw new NoSuchGeometryException('There is no Point in this CircularString at index ' . $n);
        }

        return $this->points[$n - 1];
    }
public function pointN(int $n) : Point
    {
        if (! isset($this->points[$n - 1])) {
            throw new NoSuchGeometryException('There is no Point in this CircularString at index ' . $n);
        }

        return $this->points[$n - 1];
    }
public function pointN ( int $ n ) : Point { if ( ! isset ( $ this -> points [ $ n - 1 ] ) ) { throw new NoSuchGeometryException ( 'There is no Point in this CircularString at index ' . $ n ) ; } return $ this -> points [ $ n - 1 ] ; }
Returns the specified Point N in this CircularString.

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

@return Point

@throws NoSuchGeometryException If there is no Point at this index.
Returns the specified Point N in this CircularString .