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.DeterministicScalarFunction
Compute a single buffer on one side.
- Author:
- Erwan Bocher
-
Field Summary
Fields inherited from interface org.h2gis.api.Function
PROP_NAME, PROP_REMARKSFields inherited from interface org.h2gis.api.ScalarFunction
PROP_DETERMINISTIC -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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, removePropertyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.h2gis.api.Function
getProperty
-
Constructor Details
-
ST_SideBuffer
public ST_SideBuffer()
-
-
Method Details
-
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:
-