Class ST_Within

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

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

      • ST_Within

        public ST_Within()
        Default constructor
    • Method Detail

      • getJavaStaticMethod

        public String getJavaStaticMethod()
      • isWithin

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