public final class GeometryExpressions extends Object
Modifier and Type | Method and Description |
---|---|
static StringExpression |
asEWKT(GeometryExpression<?> expr)
Return a specified ST_Geometry value from Extended Well-Known Text representation (EWKT).
|
static GeometryExpression<?> |
collect(Expression<? extends org.geolatte.geom.Geometry> expr1,
Expression<? extends org.geolatte.geom.Geometry> expr2)
Return a specified ST_Geometry value from a collection of other geometries.
|
static GeometryExpression<?> |
collect(Expression<? extends org.geolatte.geom.GeometryCollection> collection)
Return a specified ST_Geometry value from a collection of other geometries.
|
static BooleanExpression |
dwithin(Expression<? extends org.geolatte.geom.Geometry> expr1,
Expression<? extends org.geolatte.geom.Geometry> expr2,
double distance)
Returns true if the geometries are within the specified distance of one another.
|
static BooleanExpression |
dwithin(Expression<? extends org.geolatte.geom.Geometry> expr1,
Expression<? extends org.geolatte.geom.Geometry> expr2,
Expression<Double> distance)
Returns true if the geometries are within the specified distance of one another.
|
static GeometryExpression<?> |
extent(Expression<? extends org.geolatte.geom.GeometryCollection> collection)
Returns the bounding box that bounds rows of geometries.
|
static GeometryExpression<?> |
fromText(Expression<String> text)
Return a specified ST_Geometry value from Well-Known Text representation (WKT).
|
static GeometryExpression<?> |
fromText(String text)
Return a specified ST_Geometry value from Well-Known Text representation (WKT).
|
static <T extends org.geolatte.geom.Geometry> |
setSRID(Expression<T> expr,
int srid)
Sets the SRID on a geometry to a particular integer value.
|
static <T extends org.geolatte.geom.Geometry> |
translate(Expression<T> expr,
float deltax,
float deltay)
Translates the geometry to a new location using the numeric parameters as offsets.
|
static <T extends org.geolatte.geom.Geometry> |
translate(Expression<T> expr,
float deltax,
float deltay,
float deltaz)
Translates the geometry to a new location using the numeric parameters as offsets.
|
static NumberExpression<Double> |
xmax(GeometryExpression<?> expr)
Returns X maxima of a bounding box 2d or 3d or a geometry.
|
static NumberExpression<Double> |
xmin(GeometryExpression<?> expr)
Returns X minima of a bounding box 2d or 3d or a geometry.
|
static NumberExpression<Double> |
ymax(GeometryExpression<?> expr)
Returns Y maxima of a bounding box 2d or 3d or a geometry.
|
static NumberExpression<Double> |
ymin(GeometryExpression<?> expr)
Returns Y minima of a bounding box 2d or 3d or a geometry.
|
public static StringExpression asEWKT(GeometryExpression<?> expr)
expr
- public static GeometryExpression<?> fromText(String text)
text
- public static GeometryExpression<?> fromText(Expression<String> text)
text
- public static <T extends org.geolatte.geom.Geometry> GeometryExpression<T> setSRID(Expression<T> expr, int srid)
T
- expr
- srid
- public static NumberExpression<Double> xmin(GeometryExpression<?> expr)
expr
- public static NumberExpression<Double> xmax(GeometryExpression<?> expr)
expr
- public static NumberExpression<Double> ymin(GeometryExpression<?> expr)
expr
- public static NumberExpression<Double> ymax(GeometryExpression<?> expr)
expr
- public static BooleanExpression dwithin(Expression<? extends org.geolatte.geom.Geometry> expr1, Expression<? extends org.geolatte.geom.Geometry> expr2, Expression<Double> distance)
expr1
- expr2
- distance
- public static BooleanExpression dwithin(Expression<? extends org.geolatte.geom.Geometry> expr1, Expression<? extends org.geolatte.geom.Geometry> expr2, double distance)
expr1
- expr2
- distance
- public static GeometryExpression<?> extent(Expression<? extends org.geolatte.geom.GeometryCollection> collection)
collection
- public static GeometryExpression<?> collect(Expression<? extends org.geolatte.geom.GeometryCollection> collection)
collection
- public static GeometryExpression<?> collect(Expression<? extends org.geolatte.geom.Geometry> expr1, Expression<? extends org.geolatte.geom.Geometry> expr2)
expr1
- expr2
- public static <T extends org.geolatte.geom.Geometry> GeometryExpression<T> translate(Expression<T> expr, float deltax, float deltay)
T
- expr
- deltax
- deltay
- public static <T extends org.geolatte.geom.Geometry> GeometryExpression<T> translate(Expression<T> expr, float deltax, float deltay, float deltaz)
T
- expr
- deltax
- deltay
- deltaz
- Copyright © 2007–2015 Mysema Ltd. All rights reserved.