Class ST_Intersects

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

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

      • ST_Intersects

        public ST_Intersects()
        Default constructor
    • Method Detail

      • getJavaStaticMethod

        public String getJavaStaticMethod()
      • isIntersects

        public static Boolean isIntersects​(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 geometry A intersects the geometry B
        Throws:
        SQLException