Class ST_TriangleDirection

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

    public class ST_TriangleDirection
    extends org.h2gis.api.DeterministicScalarFunction
    This function is used to compute the main slope direction on a triangle.
    Author:
    Erwan Bocher
    • Constructor Detail

      • ST_TriangleDirection

        public ST_TriangleDirection()
    • Method Detail

      • getJavaStaticMethod

        public String getJavaStaticMethod()
      • computeDirection

        public static org.locationtech.jts.geom.LineString computeDirection​(org.locationtech.jts.geom.Geometry geometry)
                                                                     throws IllegalArgumentException
        Compute the main slope direction
        Parameters:
        geometry -
        Returns:
        Throws:
        IllegalArgumentException