Class ST_Covers

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

    public class ST_Covers
    extends org.h2gis.api.DeterministicScalarFunction
    ST_Covers returns true if no point in geometry B is outside geometry A.
    Author:
    Adam Gouge, Erwan Bocher
    • Constructor Detail

      • ST_Covers

        public ST_Covers()
    • Method Detail

      • getJavaStaticMethod

        public String getJavaStaticMethod()
      • covers

        public static Boolean covers​(org.locationtech.jts.geom.Geometry geomA,
                                     org.locationtech.jts.geom.Geometry geomB)
                              throws SQLException
        Returns true if no point in geometry B is outside geometry A.
        Parameters:
        geomA - Geometry A
        geomB - Geometry B
        Returns:
        True if no point in geometry B is outside geometry A
        Throws:
        SQLException