Class ST_Intersection
- java.lang.Object
-
- org.h2gis.api.AbstractFunction
-
- org.h2gis.api.DeterministicScalarFunction
-
- org.h2gis.functions.spatial.operators.ST_Intersection
-
- All Implemented Interfaces:
org.h2gis.api.Function,org.h2gis.api.ScalarFunction
public class ST_Intersection extends org.h2gis.api.DeterministicScalarFunctionCompute the intersection of two Geometries.- Author:
- Nicolas Fortin
-
-
Constructor Summary
Constructors Constructor Description ST_Intersection()Default constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetJavaStaticMethod()static org.locationtech.jts.geom.Geometryintersection(org.locationtech.jts.geom.Geometry a, org.locationtech.jts.geom.Geometry b)static org.locationtech.jts.geom.Geometryintersection(org.locationtech.jts.geom.Geometry a, org.locationtech.jts.geom.Geometry b, double gridSize)-
Methods inherited from class org.h2gis.api.AbstractFunction
addProperty, getProperty, removeProperty
-
-
-
-
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
-
intersection
public static org.locationtech.jts.geom.Geometry intersection(org.locationtech.jts.geom.Geometry a, org.locationtech.jts.geom.Geometry b, double gridSize) throws SQLException- Parameters:
a- Geometry instance.b- Geometry instancegridSize- size of a grid to snap the input geometries- Returns:
- the intersection between two geometries
- Throws:
SQLException
-
-