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