Package com.querydsl.spatial
Class PolygonExpression<T extends org.geolatte.geom.Polygon>
java.lang.Object
com.querydsl.core.types.dsl.DslExpression<T>
com.querydsl.core.types.dsl.SimpleExpression<T>
com.querydsl.spatial.GeometryExpression<T>
com.querydsl.spatial.SurfaceExpression<T>
com.querydsl.spatial.PolygonExpression<T>
- Type Parameters:
T-
- All Implemented Interfaces:
Expression<T>,Serializable
- Direct Known Subclasses:
PolygonOperation,PolygonPath
public abstract class PolygonExpression<T extends org.geolatte.geom.Polygon>
extends SurfaceExpression<T>
A Polygon is a planar Surface defined by 1 exterior boundary and 0 or more interior boundaries. Each interior
boundary defines a hole in the Polygon. A Triangle is a polygon with 3 distinct, non-collinear vertices and no
interior boundary.
- Author:
- tiwe
- See Also:
-
Field Summary
Fields inherited from class com.querydsl.core.types.dsl.DslExpression
hashCode, mixin -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the exterior ring of this Polygon.LineStringExpression<org.geolatte.geom.LineString>interiorRingN(int idx) Returns the N th interior ring for this Polygon as a LineString.Returns the number of interior rings in this Polygon.Methods inherited from class com.querydsl.spatial.SurfaceExpression
area, centroid, pointOnSurfaceMethods inherited from class com.querydsl.spatial.GeometryExpression
asBinary, asText, boundary, buffer, contains, contains, convexHull, crosses, crosses, difference, difference, dimension, disjoint, disjoint, distance, distance, distanceSphere, distanceSpheroid, envelope, eq, eq, geometryType, intersection, intersection, intersects, intersects, isEmpty, isSimple, overlaps, overlaps, relate, relate, srid, symDifference, symDifference, touches, touches, transform, union, union, within, withinMethods inherited from class com.querydsl.core.types.dsl.SimpleExpression
as, as, count, countDistinct, eqAll, eqAll, eqAny, eqAny, in, in, in, in, in, isNotNull, isNull, ne, ne, neAll, neAny, notIn, notIn, notIn, notIn, notIn, nullif, nullif, when, whenMethods inherited from class com.querydsl.core.types.dsl.DslExpression
equals, getType, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.querydsl.core.types.Expression
accept
-
Constructor Details
-
PolygonExpression
-
-
Method Details
-
exteriorRing
Returns the exterior ring of this Polygon.- Returns:
- exterior ring
-
numInteriorRing
Returns the number of interior rings in this Polygon.- Returns:
- number of interior rings
-
interiorRingN
Returns the N th interior ring for this Polygon as a LineString.- Parameters:
idx- one based index- Returns:
- interior ring at index
-