Class ST_Clip
- java.lang.Object
-
- org.h2gis.api.AbstractFunction
-
- org.h2gis.api.DeterministicScalarFunction
-
- org.h2gis.functions.spatial.others.ST_Clip
-
- All Implemented Interfaces:
org.h2gis.api.Function,org.h2gis.api.ScalarFunction
public class ST_Clip extends org.h2gis.api.DeterministicScalarFunctionFunction to clip a [Multi]Polygon or [Multi]LineString geometry with another [Multi]Polygon or [Multi]LineString geometry.- Author:
- Erwan Bocher, CNRS, 2023
-
-
Constructor Summary
Constructors Constructor Description ST_Clip()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.locationtech.jts.geom.Geometryexecute(org.locationtech.jts.geom.Geometry geomToClip, org.locationtech.jts.geom.Geometry geomForClip)Clip a [Multi]Polygon or [Multi]LineString geometry with another [Multi]Polygon or [Multi]LineString geometryStringgetJavaStaticMethod()-
Methods inherited from class org.h2gis.api.AbstractFunction
addProperty, getProperty, removeProperty
-
-
-
-
Method Detail
-
getJavaStaticMethod
public String getJavaStaticMethod()
-
execute
public static org.locationtech.jts.geom.Geometry execute(org.locationtech.jts.geom.Geometry geomToClip, org.locationtech.jts.geom.Geometry geomForClip) throws SQLException, org.locationtech.jts.io.ParseExceptionClip a [Multi]Polygon or [Multi]LineString geometry with another [Multi]Polygon or [Multi]LineString geometry- Parameters:
geomToClip- [Multi]Polygon or [Multi]LineStringgeomForClip- [Multi]Polygon or [Multi]LineString- Returns:
- Throws:
SQLExceptionorg.locationtech.jts.io.ParseException
-
-