Class CircularString

All Implemented Interfaces:
LineBasedGeometry, Serializable, Iterable<Point>

@NonNullByDefault public class CircularString extends LineString
The CIRCULARSTRING is the basic curve type, similar to a LINESTRING in the linear world. A single segment required three points, the start and end points (first and third) and any other point on the arc. The exception to this is for a closed circle, where the start and end points are the same. In this case the second point MUST be the center of the arc, ie the opposite side of the circle. To chain arcs together, the last point of the previous arc becomes the first point of the next arc, just like in LINESTRING. This means that a valid circular string must have an odd number of points greater than 1.
Author:
Sebastian Baumhekel
See Also:
  • Field Details

    • TYPE

      public static final int TYPE
      The OGIS geometry type number for arcs/circles.
      See Also:
  • Constructor Details

    • CircularString

      public CircularString()
      Constructs an instance.
    • CircularString

      public CircularString(Iterable<Point> points)
      Constructs an instance.
      Parameters:
      points - points
  • Method Details