org.h2gis.h2spatialext.function.spatial.edit
Class ST_Reverse3DLine

java.lang.Object
  extended by org.h2gis.h2spatialapi.AbstractFunction
      extended by org.h2gis.h2spatialapi.DeterministicScalarFunction
          extended by org.h2gis.h2spatialext.function.spatial.edit.ST_Reverse3DLine
All Implemented Interfaces:
Function, ScalarFunction

public class ST_Reverse3DLine
extends DeterministicScalarFunction

Returns a 1 dimension geometry with vertex order reversed according the start and the end z values.

Author:
Erwan Bocher

Field Summary
 
Fields inherited from interface org.h2gis.h2spatialapi.ScalarFunction
PROP_DETERMINISTIC, PROP_NOBUFFER
 
Fields inherited from interface org.h2gis.h2spatialapi.Function
PROP_NAME, PROP_REMARKS
 
Constructor Summary
ST_Reverse3DLine()
           
 
Method Summary
 String getJavaStaticMethod()
           
static com.vividsolutions.jts.geom.MultiLineString reverse3D(com.vividsolutions.jts.geom.MultiLineString multiLineString, String order)
          Reverses a multilinestring according to z value.
static com.vividsolutions.jts.geom.Geometry reverse3DLine(com.vividsolutions.jts.geom.Geometry geometry)
          Returns a 1 dimension geometry with vertex order reversed using the ascending value.
static com.vividsolutions.jts.geom.Geometry reverse3DLine(com.vividsolutions.jts.geom.Geometry geometry, String order)
          Returns a 1 dimension geometry with vertex order reversed according values ascending (asc) or descending (desc)
 
Methods inherited from class org.h2gis.h2spatialapi.AbstractFunction
addProperty, getProperty, removeProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.h2gis.h2spatialapi.Function
getProperty
 

Constructor Detail

ST_Reverse3DLine

public ST_Reverse3DLine()
Method Detail

getJavaStaticMethod

public String getJavaStaticMethod()

reverse3DLine

public static com.vividsolutions.jts.geom.Geometry reverse3DLine(com.vividsolutions.jts.geom.Geometry geometry)
Returns a 1 dimension geometry with vertex order reversed using the ascending value.

Parameters:
geometry -
Returns:

reverse3DLine

public static com.vividsolutions.jts.geom.Geometry reverse3DLine(com.vividsolutions.jts.geom.Geometry geometry,
                                                                 String order)
Returns a 1 dimension geometry with vertex order reversed according values ascending (asc) or descending (desc)

Parameters:
geometry -
order -
Returns:

reverse3D

public static com.vividsolutions.jts.geom.MultiLineString reverse3D(com.vividsolutions.jts.geom.MultiLineString multiLineString,
                                                                    String order)
Reverses a multilinestring according to z value. If asc : the z first point must be lower than the z end point if desc : the z first point must be greater than the z end point

Parameters:
multiLineString -
Returns:


Copyright © 2015 IRSTV CNRS-FR-2488. All Rights Reserved.