Class LinearRing

    • Method Detail

      • of

        public static LinearRing of​(Point... points)
        Create a LinearRing from the given points.
        Parameters:
        points - Point sequence composed at least by 4 points, with the first and the last that are the same.
        Returns:
        a LinearRing
      • of

        public static LinearRing of​(Iterable<Point> points)
        Create a LinearRing from the given points.
        Parameters:
        points - Point Iterable composed at least by 4 points, with the first and the last that are the same.
        Returns:
        a LinearRing
      • of

        public static LinearRing of​(Stream<Point> points)
        Create a LinearRing from the given points.
        Parameters:
        points - Point Iterable composed at least by 4 points, with the first and the last that are the same.
        Returns:
        a LinearRing