org.h2gis.h2spatialext.function.spatial.affine_transformations
Class ST_Translate
java.lang.Object
org.h2gis.h2spatialapi.AbstractFunction
org.h2gis.h2spatialapi.DeterministicScalarFunction
org.h2gis.h2spatialext.function.spatial.affine_transformations.ST_Translate
- All Implemented Interfaces:
- Function, ScalarFunction
public class ST_Translate
- extends DeterministicScalarFunction
Translates a geometry using X, Y (and possibly Z) offsets.
- Author:
- Erwan Bocher, Adam Gouge
|
Method Summary |
String |
getJavaStaticMethod()
|
static com.vividsolutions.jts.geom.Geometry |
translate(com.vividsolutions.jts.geom.Geometry geom,
double x,
double y)
Translates a geometry using X and Y offsets. |
static com.vividsolutions.jts.geom.Geometry |
translate(com.vividsolutions.jts.geom.Geometry geom,
double x,
double y,
double z)
Translates a geometry using X, Y and Z offsets. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MIXED_DIM_ERROR
public static final String MIXED_DIM_ERROR
- See Also:
- Constant Field Values
ST_Translate
public ST_Translate()
getJavaStaticMethod
public String getJavaStaticMethod()
translate
public static com.vividsolutions.jts.geom.Geometry translate(com.vividsolutions.jts.geom.Geometry geom,
double x,
double y)
- Translates a geometry using X and Y offsets.
- Parameters:
geom - Geometryx - Xy - Y
- Returns:
- Translated geometry
translate
public static com.vividsolutions.jts.geom.Geometry translate(com.vividsolutions.jts.geom.Geometry geom,
double x,
double y,
double z)
- Translates a geometry using X, Y and Z offsets.
- Parameters:
geom - Geometryx - Xy - Yz - Z
- Returns:
- Translated geometry
Copyright © 2015 IRSTV CNRS-FR-2488. All Rights Reserved.