Package javax.jdo.query.geospatial
Interface PolygonExpression<T>
- All Superinterfaces:
ComparableExpression<T>
,Expression<T>
,GeometryExpression<T>
Representation of a Polygon 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 exterior ring of this Polygon.getInteriorRingN
(NumericExpression position) Returns the nth interior ring in the Polygon.Returns the number of interior rings in the Polygon.Methods inherited from interface javax.jdo.query.ComparableExpression
asc, desc, gt, gt, gteq, gteq, lt, lt, lteq, lteq, max, min
Methods inherited from interface javax.jdo.query.Expression
as, cast, count, countDistinct, eq, eq, instanceOf, ne, ne
Methods inherited from interface javax.jdo.query.geospatial.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
-
getExteriorRing
GeometryExpression getExteriorRing()Returns the exterior ring of this Polygon.- Returns:
- The exterior ring
-
getNumInteriorRings
NumericExpression getNumInteriorRings()Returns the number of interior rings in the Polygon.- Returns:
- Number of interior rings
-
getInteriorRingN
Returns the nth interior ring in the Polygon.- Parameters:
position
- The "n"- Returns:
- The nth interior ring of the Polygon
-