Interface LineBasedGeometry

    • Method Detail

      • getEndPoint

        @Nullable
        Point getEndPoint()
        Gets the end point.
        Returns:
        Point on success, else null
      • getStartPoint

        @Nullable
        Point getStartPoint()
        Gets the start point.
        Returns:
        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.
        Returns:
        true on success, else false
      • length

        double length()
        Gets the length of this line.
        Returns:
        length