Class JTSLineStringExpression<T extends com.vividsolutions.jts.geom.LineString>

Type Parameters:
T -
All Implemented Interfaces:
Expression<T>, Serializable
Direct Known Subclasses:
JTSLinearRingExpression, JTSLineExpression, JTSLineStringOperation, JTSLineStringPath

public abstract class JTSLineStringExpression<T extends com.vividsolutions.jts.geom.LineString> extends JTSCurveExpression<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

    • JTSLineStringExpression

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

    • numPoints

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

      public JTSPointExpression<com.vividsolutions.jts.geom.Point> pointN(int idx)
      Returns the specified Point N in this LineString.
      Parameters:
      idx - one based index
      Returns:
      point at index