org.h2gis.h2spatialext.function.spatial.edit
Class ST_Reverse
java.lang.Object
org.h2gis.h2spatialapi.AbstractFunction
org.h2gis.h2spatialapi.DeterministicScalarFunction
org.h2gis.h2spatialext.function.spatial.edit.ST_Reverse
- All Implemented Interfaces:
- Function, ScalarFunction
public class ST_Reverse
- extends DeterministicScalarFunction
Returns the geometry with vertex order reversed.
- Author:
- Erwan Bocher, Adam Gouge
|
Method Summary |
String |
getJavaStaticMethod()
|
static com.vividsolutions.jts.geom.Geometry |
reverse(com.vividsolutions.jts.geom.Geometry geometry)
Returns the geometry with vertex order reversed. |
static com.vividsolutions.jts.geom.Geometry |
reverseMultiPoint(com.vividsolutions.jts.geom.MultiPoint mp)
Returns the MultiPoint with vertex order reversed. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ST_Reverse
public ST_Reverse()
getJavaStaticMethod
public String getJavaStaticMethod()
reverse
public static com.vividsolutions.jts.geom.Geometry reverse(com.vividsolutions.jts.geom.Geometry geometry)
- Returns the geometry with vertex order reversed.
- Parameters:
geometry - Geometry
- Returns:
- geometry with vertex order reversed
reverseMultiPoint
public static com.vividsolutions.jts.geom.Geometry reverseMultiPoint(com.vividsolutions.jts.geom.MultiPoint mp)
- Returns the MultiPoint with vertex order reversed. We do our own
implementation here because JTS does not handle it.
- Parameters:
mp - MultiPoint
- Returns:
- MultiPoint with vertex order reversed
Copyright © 2015 IRSTV CNRS-FR-2488. All Rights Reserved.