A closed, simple LineString. Consecutive points are not allowed to be equal.
LinearRings are the fundamental building block for Polygon s. LinearRings may not be degenerate; that is, a LinearRing must have at least 3 points. Other non-degeneracy criteria are implied by the requirement that LinearRings be simple. For instance, not all the points may be collinear. The SFS does not specify a requirement on the orientation of a LinearRing, and JTS follows this by allowing them to be oriented either clockwise or counter-clockwise.
If the LinearRing is empty, IsClosed and IsRing return true.
Namespace: Geotools.Geometries Namespace