Package io.github.sebasbaumh.postgis
Klasse Curve
java.lang.Object
io.github.sebasbaumh.postgis.Geometry
io.github.sebasbaumh.postgis.Curve
- Alle implementierten Schnittstellen:
LineBasedGeometry
,Serializable
- Bekannte direkte Unterklassen:
CompoundCurve
,LineString
Base class for simple curves like
LineString
s and complex classes like CompoundCurve
s.- Autor:
- Sebastian Baumhekel
- Siehe auch:
-
Feldübersicht
Von Klasse geerbte Felder io.github.sebasbaumh.postgis.Geometry
UNKNOWN_SRID
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungabstract void
close()
Closes thisCurve
if the last coordinate is not already the same as the first coordinate.boolean
Checks if this ring is oriented in clockwise direction.boolean
isClosed()
Checks if this line is closed, so the last coordinate is the same as the first coordinate.abstract void
reverse()
Reverses this linestring.toString()
Von Klasse geerbte Methoden io.github.sebasbaumh.postgis.Geometry
checkConsistency, equals, getCoordinates, getNumberOfCoordinates, getSrid, getType, hashCode, hasMeasure, is3d, isEmpty, setSrid
Von Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Von Schnittstelle geerbte Methoden io.github.sebasbaumh.postgis.LineBasedGeometry
getEndPoint, getStartPoint, length
-
Konstruktordetails
-
Curve
protected Curve(int type) Constructor for subclasses.- Parameter:
type
- has to be given by all subclasses
-
-
Methodendetails
-
close
public abstract void close()Closes thisCurve
if the last coordinate is not already the same as the first coordinate. -
isClockwise
public boolean isClockwise()Checks if this ring is oriented in clockwise direction.- Gibt zurück:
- true on success, else false
-
isClosed
public boolean isClosed()Beschreibung aus Schnittstelle kopiert:LineBasedGeometry
Checks if this line is closed, so the last coordinate is the same as the first coordinate.- Angegeben von:
isClosed
in SchnittstelleLineBasedGeometry
- Gibt zurück:
- true on success, else false
-
reverse
public abstract void reverse()Reverses this linestring. -
toString
-