public class ST_TriangleAspect
extends org.h2gis.api.DeterministicScalarFunction
| Constructor and Description |
|---|
ST_TriangleAspect() |
| Modifier and Type | Method and Description |
|---|---|
static Double |
computeAspect(org.locationtech.jts.geom.Geometry geometry)
Compute the aspect in degree.
|
String |
getJavaStaticMethod() |
static double |
measureFromNorth(double angle)
Transforms an angle measured in degrees counterclockwise from the x-axis
(mathematicians) to an angle measured in degrees clockwise from the
y-axis (geographers).
|
addProperty, getProperty, removePropertypublic String getJavaStaticMethod()
public static Double computeAspect(org.locationtech.jts.geom.Geometry geometry) throws IllegalArgumentException
geometry - Polygon triangleIllegalArgumentException - ST_TriangleAspect accept only trianglespublic static double measureFromNorth(double angle)
angle - Mathematician's angleCopyright © 2019 CNRS. All rights reserved.