Class ST_OffSetCurve
- java.lang.Object
-
- org.h2gis.api.AbstractFunction
-
- org.h2gis.api.DeterministicScalarFunction
-
- org.h2gis.functions.spatial.buffer.ST_OffSetCurve
-
- All Implemented Interfaces:
org.h2gis.api.Function,org.h2gis.api.ScalarFunction
public class ST_OffSetCurve extends org.h2gis.api.DeterministicScalarFunctionReturn an offset line at a given distance and side from an input geometry.- Author:
- Erwan Bocher, CNRS
-
-
Constructor Summary
Constructors Constructor Description ST_OffSetCurve()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetJavaStaticMethod()static org.locationtech.jts.geom.GeometryoffsetCurve(org.locationtech.jts.geom.Geometry geometry, double offset)Return an offset line at a given distance and side from an input geometry without buffer parametersstatic org.locationtech.jts.geom.GeometryoffsetCurve(org.locationtech.jts.geom.Geometry geometry, double offset, String parameters)Return an offset line at a given distance and side from an input geometry-
Methods inherited from class org.h2gis.api.AbstractFunction
addProperty, getProperty, removeProperty
-
-
-
-
Method Detail
-
getJavaStaticMethod
public String getJavaStaticMethod()
-
offsetCurve
public static org.locationtech.jts.geom.Geometry offsetCurve(org.locationtech.jts.geom.Geometry geometry, double offset, String parameters)Return an offset line at a given distance and side from an input geometry- Parameters:
geometry- the geometryoffset- the distanceparameters- the buffer parameters- Returns:
-
offsetCurve
public static org.locationtech.jts.geom.Geometry offsetCurve(org.locationtech.jts.geom.Geometry geometry, double offset)Return an offset line at a given distance and side from an input geometry without buffer parameters- Parameters:
geometry- the geometryoffset- the distance- Returns:
-
-