Schnittstelle LineBasedGeometry

Alle bekannten Implementierungsklassen:
CircularString, CompoundCurve, Curve, CurvePolygon, LinearRing, LineString, Polygon, PolygonBase

public interface LineBasedGeometry
Interface to mark line based geometries.
Autor:
Sebastian Baumhekel
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    Gets the end point.
    Gets the start point.
    boolean
    Checks if this line is closed, so the last coordinate is the same as the first coordinate.
    double
    Gets the length of this line.
  • Methodendetails

    • getEndPoint

      @Nullable Point getEndPoint()
      Gets the end point.
      Gibt zurück:
      Point on success, else null
    • getStartPoint

      @Nullable Point getStartPoint()
      Gets the start point.
      Gibt zurück:
      Point on success, else null
    • isClosed

      boolean isClosed()
      Checks if this line is closed, so the last coordinate is the same as the first coordinate.
      Gibt zurück:
      true on success, else false
    • length

      double length()
      Gets the length of this line.
      Gibt zurück:
      length