Class ST_TriangleDirection
- java.lang.Object
-
- org.h2gis.api.AbstractFunction
-
- org.h2gis.api.DeterministicScalarFunction
-
- org.h2gis.functions.spatial.topography.ST_TriangleDirection
-
- All Implemented Interfaces:
org.h2gis.api.Function,org.h2gis.api.ScalarFunction
public class ST_TriangleDirection extends org.h2gis.api.DeterministicScalarFunctionThis function is used to compute the main slope direction on a triangle.- Author:
- Erwan Bocher
-
-
Constructor Summary
Constructors Constructor Description ST_TriangleDirection()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.locationtech.jts.geom.LineStringcomputeDirection(org.locationtech.jts.geom.Geometry geometry)Compute the main slope directionStringgetJavaStaticMethod()-
Methods inherited from class org.h2gis.api.AbstractFunction
addProperty, getProperty, removeProperty
-
-
-
-
Method Detail
-
getJavaStaticMethod
public String getJavaStaticMethod()
-
computeDirection
public static org.locationtech.jts.geom.LineString computeDirection(org.locationtech.jts.geom.Geometry geometry) throws IllegalArgumentExceptionCompute the main slope direction- Parameters:
geometry-- Returns:
- Throws:
IllegalArgumentException
-
-