Class ST_VariableBuffer
java.lang.Object
org.h2gis.api.AbstractFunction
org.h2gis.api.DeterministicScalarFunction
org.h2gis.functions.spatial.buffer.ST_VariableBuffer
- All Implemented Interfaces:
org.h2gis.api.Function,org.h2gis.api.ScalarFunction
public class ST_VariableBuffer
extends org.h2gis.api.DeterministicScalarFunction
ST_VariableBuffer computes a buffer around a Geometry with a start and end distance
- 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.GeometryMethods 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_VariableBuffer
public ST_VariableBuffer()Default constructor
-
-
Method Details
-
getJavaStaticMethod
-
buffer
public static org.locationtech.jts.geom.Geometry buffer(org.locationtech.jts.geom.Geometry geom, Double startDistance, Double endDistance) throws SQLException - Parameters:
geom- Geometry instancestartDistance- start distance width in projection unitendDistance- end distance width in projection unit- Returns:
- geom buffer around geom geometry.
- Throws:
SQLException
-