Interface LineString

All Superinterfaces:
Serializable, Shape
All Known Implementing Classes:
LineStringImpl

public interface LineString extends Shape
Since:
11.0
Author:
Niv Ingberg
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the number of points within the line string
    double
    getX(int index)
    Gets the X coordinate of the point in the specified index.
    double
    getY(int index)
    Gets the Y coordinate of the point in the specified index.

    Methods inherited from interface org.openspaces.spatial.shapes.Shape

    appendTo, toString
  • Method Details

    • getNumOfPoints

      int getNumOfPoints()
      Returns the number of points within the line string
      Returns:
      The number of points within the line string
    • getX

      double getX(int index)
      Gets the X coordinate of the point in the specified index.
    • getY

      double getY(int index)
      Gets the Y coordinate of the point in the specified index.