Class ST_MakeArcLine
- java.lang.Object
-
- org.h2gis.api.AbstractFunction
-
- org.h2gis.api.DeterministicScalarFunction
-
- org.h2gis.functions.spatial.create.ST_MakeArcLine
-
- All Implemented Interfaces:
org.h2gis.api.Function,org.h2gis.api.ScalarFunction
public class ST_MakeArcLine extends org.h2gis.api.DeterministicScalarFunctionST_MakeArcLine constructs an elliptical arc, as a LineString centered at the given point.- Author:
- Erwan Bocher, CNRS, 2023
-
-
Constructor Summary
Constructors Constructor Description ST_MakeArcLine()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.locationtech.jts.geom.LineStringexecute(org.locationtech.jts.geom.Point p, double distance, double startAngle, double angExtent)Creates an elliptical arc, as a LineString centered at the given point with the given start angle and end angle size.StringgetJavaStaticMethod()-
Methods inherited from class org.h2gis.api.AbstractFunction
addProperty, getProperty, removeProperty
-
-
-
-
Method Detail
-
getJavaStaticMethod
public String getJavaStaticMethod()
-
execute
public static org.locationtech.jts.geom.LineString execute(org.locationtech.jts.geom.Point p, double distance, double startAngle, double angExtent)Creates an elliptical arc, as a LineString centered at the given point with the given start angle and end angle size.- Parameters:
p- PointstartAngle- start angle in radiansangExtent- size of angle in radiansdistance- in meters- Returns:
- An arc line centered at the given point.
-
-