Class ST_SideBuffer
- java.lang.Object
-
- org.h2gis.api.AbstractFunction
-
- org.h2gis.api.DeterministicScalarFunction
-
- org.h2gis.functions.spatial.buffer.ST_SideBuffer
-
- All Implemented Interfaces:
org.h2gis.api.Function,org.h2gis.api.ScalarFunction
public class ST_SideBuffer extends org.h2gis.api.DeterministicScalarFunctionCompute a single buffer on one side.- Author:
- Erwan Bocher
-
-
Constructor Summary
Constructors Constructor Description ST_SideBuffer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetJavaStaticMethod()static org.locationtech.jts.geom.GeometrysingleSideBuffer(org.locationtech.jts.geom.Geometry geometry, double distance)Compute a single side buffer with default parametersstatic org.locationtech.jts.geom.GeometrysingleSideBuffer(org.locationtech.jts.geom.Geometry geometry, double distance, String parameters)Compute a single side buffer with join and mitre parameters Note : The End Cap Style for single-sided buffers is always ignored, and forced to the equivalent of flat.-
Methods inherited from class org.h2gis.api.AbstractFunction
addProperty, getProperty, removeProperty
-
-
-
-
Method Detail
-
getJavaStaticMethod
public String getJavaStaticMethod()
-
singleSideBuffer
public static org.locationtech.jts.geom.Geometry singleSideBuffer(org.locationtech.jts.geom.Geometry geometry, double distance)Compute a single side buffer with default parameters- Parameters:
geometry-distance-- Returns:
-
singleSideBuffer
public static org.locationtech.jts.geom.Geometry singleSideBuffer(org.locationtech.jts.geom.Geometry geometry, double distance, String parameters)Compute a single side buffer with join and mitre parameters Note : The End Cap Style for single-sided buffers is always ignored, and forced to the equivalent of flat.- Parameters:
geometry-distance-parameters-- Returns:
-
-