Class ST_Touches

  • All Implemented Interfaces:
    org.h2gis.api.Function, org.h2gis.api.ScalarFunction

    public class ST_Touches
    extends org.h2gis.api.DeterministicScalarFunction
    Return true if the geometry A touches the geometry B
    Author:
    Nicolas Fortin
    • Constructor Detail

      • ST_Touches

        public ST_Touches()
        Default constructor
    • Method Detail

      • getJavaStaticMethod

        public String getJavaStaticMethod()
      • geomTouches

        public static Boolean geomTouches​(org.locationtech.jts.geom.Geometry a,
                                          org.locationtech.jts.geom.Geometry b)
                                   throws SQLException
        Return true if the geometry A touches the geometry B
        Parameters:
        a - Geometry Geometry.
        b - Geometry instance
        Returns:
        true if the geometry A touches the geometry B
        Throws:
        SQLException