Class ST_EnvelopesIntersect

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

    public class ST_EnvelopesIntersect
    extends org.h2gis.api.DeterministicScalarFunction
    Return true if the envelope of Geometry A intersects the envelope of Geometry B.
    Author:
    Nicolas Fortin
    • Constructor Detail

      • ST_EnvelopesIntersect

        public ST_EnvelopesIntersect()
        Default constructor
    • Method Detail

      • getJavaStaticMethod

        public String getJavaStaticMethod()
      • intersects

        public static Boolean intersects​(org.locationtech.jts.geom.Geometry surface,
                                         org.locationtech.jts.geom.Geometry testGeometry)
                                  throws SQLException
        Parameters:
        surface - Surface Geometry.
        testGeometry - Geometry instance
        Returns:
        true if the envelope of Geometry A intersects the envelope of Geometry B
        Throws:
        SQLException