Class LineStringExpression<T extends org.geolatte.geom.LineString>

Type Parameters:
T -
All Implemented Interfaces:
Expression<T>, Serializable
Direct Known Subclasses:
LinearRingExpression, LineExpression, LineStringOperation, LineStringPath

public abstract class LineStringExpression<T extends org.geolatte.geom.LineString> extends CurveExpression<T>
A LineString is a Curve with linear interpolation between Points. Each consecutive pair of Points defines a Line segment.
Author:
tiwe
See Also:
  • Constructor Details

    • LineStringExpression

      public LineStringExpression(Expression<T> mixin)
  • Method Details

    • numPoints

      public NumberExpression<Integer> numPoints()
      The number of Points in this LineString.
      Returns:
      number of points
    • pointN

      public PointExpression<org.geolatte.geom.Point> pointN(int idx)
      Returns the specified Point N in this LineString.
      Parameters:
      idx - one-based index of element
      Returns:
      matched element