Class ST_RingBuffer
- java.lang.Object
-
- org.h2gis.api.AbstractFunction
-
- org.h2gis.functions.spatial.create.ST_RingBuffer
-
- All Implemented Interfaces:
org.h2gis.api.Function,org.h2gis.api.ScalarFunction
public class ST_RingBuffer extends org.h2gis.api.AbstractFunction implements org.h2gis.api.ScalarFunctionCompute a ring buffer around a geometry.- Author:
- Erwan Bocher
-
-
Constructor Summary
Constructors Constructor Description ST_RingBuffer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.locationtech.jts.geom.GeometrycomputeNegativeRingBuffer(org.locationtech.jts.geom.Geometry geom, double bufferDistance, int numBuffer, org.locationtech.jts.operation.buffer.BufferParameters bufferParameters, boolean doDifference)Compute a ring buffer with a negative offsetstatic org.locationtech.jts.geom.GeometrycomputePositiveRingBuffer(org.locationtech.jts.geom.Geometry geom, double bufferDistance, int numBuffer, org.locationtech.jts.operation.buffer.BufferParameters bufferParameters, boolean doDifference)Compute a ring buffer with a positive offsetStringgetJavaStaticMethod()static org.locationtech.jts.geom.GeometryringBuffer(org.locationtech.jts.geom.Geometry geom, double bufferSize, int numBuffer)Compute a ring buffer around a geometrystatic org.locationtech.jts.geom.GeometryringBuffer(org.locationtech.jts.geom.Geometry geom, double bufferDistance, int numBuffer, String parameters)static org.locationtech.jts.geom.GeometryringBuffer(org.locationtech.jts.geom.Geometry geom, double bufferDistance, int numBuffer, String parameters, boolean doDifference)Compute a ring buffer around a geometrystatic org.locationtech.jts.geom.GeometryrunBuffer(org.locationtech.jts.geom.Geometry geom, double bufferSize, org.locationtech.jts.operation.buffer.BufferParameters bufferParameters)Calculate the ring buffer-
Methods inherited from class org.h2gis.api.AbstractFunction
addProperty, getProperty, removeProperty
-
-
-
-
Method Detail
-
getJavaStaticMethod
public String getJavaStaticMethod()
- Specified by:
getJavaStaticMethodin interfaceorg.h2gis.api.ScalarFunction
-
ringBuffer
public static org.locationtech.jts.geom.Geometry ringBuffer(org.locationtech.jts.geom.Geometry geom, double bufferSize, int numBuffer) throws SQLExceptionCompute a ring buffer around a geometry- Parameters:
geom-bufferSize-numBuffer-- Returns:
- Throws:
SQLException
-
ringBuffer
public static org.locationtech.jts.geom.Geometry ringBuffer(org.locationtech.jts.geom.Geometry geom, double bufferDistance, int numBuffer, String parameters) throws SQLException- Parameters:
geom-bufferDistance-numBuffer-parameters-- Returns:
- Throws:
SQLException
-
ringBuffer
public static org.locationtech.jts.geom.Geometry ringBuffer(org.locationtech.jts.geom.Geometry geom, double bufferDistance, int numBuffer, String parameters, boolean doDifference) throws SQLExceptionCompute a ring buffer around a geometry- Parameters:
geom-bufferDistance-numBuffer-parameters-doDifference-- Returns:
- Throws:
SQLException
-
computePositiveRingBuffer
public static org.locationtech.jts.geom.Geometry computePositiveRingBuffer(org.locationtech.jts.geom.Geometry geom, double bufferDistance, int numBuffer, org.locationtech.jts.operation.buffer.BufferParameters bufferParameters, boolean doDifference) throws SQLExceptionCompute a ring buffer with a positive offset- Parameters:
geom-bufferDistance-numBuffer-bufferParameters-doDifference-- Returns:
- Throws:
SQLException
-
computeNegativeRingBuffer
public static org.locationtech.jts.geom.Geometry computeNegativeRingBuffer(org.locationtech.jts.geom.Geometry geom, double bufferDistance, int numBuffer, org.locationtech.jts.operation.buffer.BufferParameters bufferParameters, boolean doDifference) throws SQLExceptionCompute a ring buffer with a negative offset- Parameters:
geom-bufferDistance-numBuffer-bufferParameters-doDifference-- Returns:
- Throws:
SQLException
-
runBuffer
public static org.locationtech.jts.geom.Geometry runBuffer(org.locationtech.jts.geom.Geometry geom, double bufferSize, org.locationtech.jts.operation.buffer.BufferParameters bufferParameters) throws SQLExceptionCalculate the ring buffer- Parameters:
geom-bufferSize-bufferParameters-- Returns:
- Throws:
SQLException
-
-