Class ST_Intersection

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

    public class ST_Intersection
    extends org.h2gis.api.DeterministicScalarFunction
    Compute the intersection of two Geometries.
    Author:
    Nicolas Fortin
    • Constructor Detail

      • ST_Intersection

        public ST_Intersection()
        Default constructor
    • Method Detail

      • getJavaStaticMethod

        public String getJavaStaticMethod()
      • intersection

        public static org.locationtech.jts.geom.Geometry intersection​(org.locationtech.jts.geom.Geometry a,
                                                                      org.locationtech.jts.geom.Geometry b)
                                                               throws SQLException
        Parameters:
        a - Geometry instance.
        b - Geometry instance
        Returns:
        the intersection between two geometries
        Throws:
        SQLException