Interface LineStringExpression<T>
- All Superinterfaces:
ComparableExpression<T>, Expression<T>, GeometryExpression<T>
Representation of a LineString expression.
Note that this is not part of the JDO spec, but a vendor extension to allow JDOQLTyped handling for geometry types.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the last point of the CurvegetPointN(NumericExpression position) Returns the nth Point in the LineString.Returns the first point of the CurveisClosed()Returns TRUE if Curve/MultiCurve is closed, i.e., if StartPoint(Curve) = EndPoint(Curve).isRing()Returns TRUE if Curve/MultiCurve is closed and simple.Methods inherited from interface ComparableExpression
asc, desc, gt, gt, gteq, gteq, lt, lt, lteq, lteq, max, minMethods inherited from interface Expression
as, cast, count, countDistinct, eq, eq, instanceOf, ne, neMethods inherited from interface GeometryExpression
buffer, contains, convexHull, crosses, difference, disjoint, distance, equals, getArea, getBoundary, getCentroid, getDimension, getEnvelope, getGeometryN, getGeometryType, getLength, getNumGeometries, getNumPoints, getPointOnSurface, getSRID, intersection, intersects, isEmpty, isSimple, overlaps, relate, symDifference, toBinary, toText, touches, union, within
-
Method Details
-
isRing
BooleanExpression isRing()Returns TRUE if Curve/MultiCurve is closed and simple.- Returns:
- Whether it is closed and simple
-
getStartPoint
-
getPointN
Returns the nth Point in the LineString.- Parameters:
position- The "n"- Returns:
- The nth Point of the LineString
-
getEndPoint
-
isClosed
BooleanExpression isClosed()Returns TRUE if Curve/MultiCurve is closed, i.e., if StartPoint(Curve) = EndPoint(Curve).- Returns:
- Whether it is closed
-