org.h2gis.h2spatialext.function.spatial.affine_transformations
Class ST_Scale
java.lang.Object
org.h2gis.h2spatialapi.AbstractFunction
org.h2gis.h2spatialapi.DeterministicScalarFunction
org.h2gis.h2spatialext.function.spatial.affine_transformations.ST_Scale
- All Implemented Interfaces:
- Function, ScalarFunction
public class ST_Scale
- extends DeterministicScalarFunction
ST_Scale scales the given geometry by multiplying the coordinates by the
indicated scale factors.
- Author:
- Adam Gouge
|
Method Summary |
String |
getJavaStaticMethod()
|
static com.vividsolutions.jts.geom.Geometry |
scale(com.vividsolutions.jts.geom.Geometry geom,
double xFactor,
double yFactor)
Scales the given geometry by multiplying the coordinates by the
indicated x and y scale factors, leaving the z-coordinate untouched. |
static com.vividsolutions.jts.geom.Geometry |
scale(com.vividsolutions.jts.geom.Geometry geom,
double xFactor,
double yFactor,
double zFactor)
Scales the given geometry by multiplying the coordinates by the
indicated x, y and z scale factors. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ST_Scale
public ST_Scale()
getJavaStaticMethod
public String getJavaStaticMethod()
scale
public static com.vividsolutions.jts.geom.Geometry scale(com.vividsolutions.jts.geom.Geometry geom,
double xFactor,
double yFactor)
- Scales the given geometry by multiplying the coordinates by the
indicated x and y scale factors, leaving the z-coordinate untouched.
- Parameters:
geom - GeometryxFactor - x scale factoryFactor - y scale factor
- Returns:
- The geometry scaled by the given x and y scale factors
scale
public static com.vividsolutions.jts.geom.Geometry scale(com.vividsolutions.jts.geom.Geometry geom,
double xFactor,
double yFactor,
double zFactor)
- Scales the given geometry by multiplying the coordinates by the
indicated x, y and z scale factors.
- Parameters:
geom - GeometryxFactor - x scale factoryFactor - y scale factorzFactor - z scale factor
- Returns:
- The geometry scaled by the given x, y and z scale factors
Copyright © 2015 IRSTV CNRS-FR-2488. All Rights Reserved.