Package io.github.sebasbaumh.postgis
Class LinearRing
- java.lang.Object
-
- io.github.sebasbaumh.postgis.Geometry
-
- io.github.sebasbaumh.postgis.Curve
-
- io.github.sebasbaumh.postgis.LineString
-
- io.github.sebasbaumh.postgis.LinearRing
-
- All Implemented Interfaces:
LineBasedGeometry
,java.io.Serializable
,java.lang.Iterable<Point>
@NonNullByDefault public class LinearRing extends LineString
This represents the LinearRing GIS datatype. This type is used to construct the polygon types, but is not stored or retrieved directly from the database.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class io.github.sebasbaumh.postgis.Geometry
UNKNOWN_SRID
-
-
Constructor Summary
Constructors Constructor Description LinearRing()
Constructs an instance.LinearRing(java.lang.Iterable<Point> points)
Constructs an instance.
-
Method Summary
-
Methods inherited from class io.github.sebasbaumh.postgis.LineString
add, addAll, checkConsistency, close, equals, getCoordinates, getEndPoint, getNumberOfCoordinates, getStartPoint, hasMeasure, is3d, isEmpty, iterator, length, reverse
-
Methods inherited from class io.github.sebasbaumh.postgis.Curve
isClockwise, isClosed
-
Methods inherited from class io.github.sebasbaumh.postgis.Geometry
getDimension, getSrid, getType, hashCode, numPoints, setSrid
-
-
-
-
Constructor Detail
-
LinearRing
public LinearRing()
Constructs an instance.
-
LinearRing
public LinearRing(java.lang.Iterable<Point> points)
Constructs an instance.- Parameters:
points
- points
-
-