Class ST_Reverse3DLine

  • All Implemented Interfaces:
    org.h2gis.api.Function, org.h2gis.api.ScalarFunction

    public class ST_Reverse3DLine
    extends org.h2gis.api.DeterministicScalarFunction
    Returns a 1 dimension geometry with vertex order reversed according the start and the end z values.
    Author:
    Erwan Bocher CNRS
    • Field Summary

      • Fields inherited from interface org.h2gis.api.Function

        PROP_NAME, PROP_REMARKS
      • Fields inherited from interface org.h2gis.api.ScalarFunction

        PROP_DETERMINISTIC
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getJavaStaticMethod()  
      static org.locationtech.jts.geom.MultiLineString reverse3D​(org.locationtech.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
      static org.locationtech.jts.geom.Geometry reverse3DLine​(org.locationtech.jts.geom.Geometry geometry)
      Returns a 1 dimension geometry with vertex order reversed using the ascending value.
      static org.locationtech.jts.geom.Geometry reverse3DLine​(org.locationtech.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.api.AbstractFunction

        addProperty, getProperty, removeProperty
      • Methods inherited from interface org.h2gis.api.Function

        getProperty
    • Constructor Detail

      • ST_Reverse3DLine

        public ST_Reverse3DLine()
    • Method Detail

      • getJavaStaticMethod

        public String getJavaStaticMethod()
      • reverse3DLine

        public static org.locationtech.jts.geom.Geometry reverse3DLine​(org.locationtech.jts.geom.Geometry geometry)
        Returns a 1 dimension geometry with vertex order reversed using the ascending value.
        Parameters:
        geometry -
        Returns:
      • reverse3DLine

        public static org.locationtech.jts.geom.Geometry reverse3DLine​(org.locationtech.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 org.locationtech.jts.geom.MultiLineString reverse3D​(org.locationtech.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 -
        order - asc to reverse in ascending , desc to reverse in descending
        Returns: