Class 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
    • Constructor Detail

      • ST_VariableBuffer

        public ST_VariableBuffer()
        Default constructor
    • Method Detail

      • getJavaStaticMethod

        public String 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 instance
        startDistance - start distance width in projection unit
        endDistance - end distance width in projection unit
        Returns:
        geom buffer around geom geometry.
        Throws:
        SQLException