Package org.h2gis.functions.spatial.snap
Class ST_Project
- java.lang.Object
-
- org.h2gis.api.AbstractFunction
-
- org.h2gis.api.DeterministicScalarFunction
-
- org.h2gis.functions.spatial.snap.ST_Project
-
- All Implemented Interfaces:
org.h2gis.api.Function,org.h2gis.api.ScalarFunction
public class ST_Project extends org.h2gis.api.DeterministicScalarFunctionFunction to project a point- Author:
- Erwan Bocher, CNRS
-
-
Constructor Summary
Constructors Constructor Description ST_Project()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.locationtech.jts.geom.Geometryexecute(org.locationtech.jts.geom.Geometry geometry, double distance, double azimuth)Project a point using a given distance and azimuthStringgetJavaStaticMethod()-
Methods inherited from class org.h2gis.api.AbstractFunction
addProperty, getProperty, removeProperty
-
-
-
-
Method Detail
-
getJavaStaticMethod
public String getJavaStaticMethod()
-
execute
public static org.locationtech.jts.geom.Geometry execute(org.locationtech.jts.geom.Geometry geometry, double distance, double azimuth) throws SQLExceptionProject a point using a given distance and azimuth- Parameters:
geometry-distance- is given in metersazimuth- is given in radians and measured clockwise from true north.- Returns:
- a project point
- Throws:
SQLException
-
-