Class ST_Buffer
- java.lang.Object
-
- org.h2gis.api.AbstractFunction
-
- org.h2gis.api.DeterministicScalarFunction
-
- org.h2gis.functions.spatial.buffer.ST_Buffer
-
- All Implemented Interfaces:
org.h2gis.api.Function,org.h2gis.api.ScalarFunction
public class ST_Buffer extends org.h2gis.api.DeterministicScalarFunctionST_Buffer computes a buffer around a Geometry. Circular arcs are approximated using 8 segments per quadrant. In particular, circles contain 32 line segments.- Author:
- Nicolas Fortin, Erwan Bocher
-
-
Constructor Summary
Constructors Constructor Description ST_Buffer()Default constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.locationtech.jts.geom.Geometrybuffer(org.locationtech.jts.geom.Geometry geom, Double distance)static org.locationtech.jts.geom.Geometrybuffer(org.locationtech.jts.geom.Geometry geom, Double distance, org.h2.value.Value value)StringgetJavaStaticMethod()-
Methods inherited from class org.h2gis.api.AbstractFunction
addProperty, getProperty, removeProperty
-
-
-
-
Method Detail
-
getJavaStaticMethod
public String getJavaStaticMethod()
-
buffer
public static org.locationtech.jts.geom.Geometry buffer(org.locationtech.jts.geom.Geometry geom, Double distance)- Parameters:
geom- Geometry instancedistance- Buffer width in projection unit- Returns:
- geom buffer around geom geometry.
-
buffer
public static org.locationtech.jts.geom.Geometry buffer(org.locationtech.jts.geom.Geometry geom, Double distance, org.h2.value.Value value) throws IllegalArgumentException- Parameters:
geom- Geometry instancedistance- Buffer width in projection unitvalue- Int or varchar end type- Returns:
- a buffer around a geometry.
- Throws:
IllegalArgumentException
-
-