Package io.github.sebasbaumh.postgis
Klasse CircularString
java.lang.Object
io.github.sebasbaumh.postgis.Geometry
io.github.sebasbaumh.postgis.Curve
io.github.sebasbaumh.postgis.LineString
io.github.sebasbaumh.postgis.CircularString
- Alle implementierten Schnittstellen:
LineBasedGeometry,Serializable,Iterable<Point>
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.
- Autor:
- Sebastian Baumhekel
- Siehe auch:
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final intThe OGIS geometry type number for arcs/circles.Von Klasse geerbte Felder io.github.sebasbaumh.postgis.Geometry
UNKNOWN_SRID -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungConstructs an instance.CircularString(Iterable<Point> points) Constructs an instance. -
Methodenübersicht
Von Klasse geerbte Methoden io.github.sebasbaumh.postgis.LineString
add, addAll, checkConsistency, close, equals, getCoordinates, getEndPoint, getNumberOfCoordinates, getStartPoint, hashCode, hasMeasure, is3d, isEmpty, iterator, reverseVon Klasse geerbte Methoden io.github.sebasbaumh.postgis.Curve
isClockwise, isClosed, toStringVon Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitVon Schnittstelle geerbte Methoden java.lang.Iterable
forEach, spliterator
-
Felddetails
-
TYPE
public static final int TYPEThe OGIS geometry type number for arcs/circles.- Siehe auch:
-
-
Konstruktordetails
-
CircularString
public CircularString()Constructs an instance. -
CircularString
Constructs an instance.- Parameter:
points- points
-
-
Methodendetails
-
length
public double length()Beschreibung aus Schnittstelle kopiert:LineBasedGeometryGets the length of this line.- Angegeben von:
lengthin SchnittstelleLineBasedGeometry- Setzt außer Kraft:
lengthin KlasseLineString- Gibt zurück:
- length
-