Class ST_Holes
- java.lang.Object
-
- org.h2gis.api.AbstractFunction
-
- org.h2gis.api.DeterministicScalarFunction
-
- org.h2gis.functions.spatial.convert.ST_Holes
-
- All Implemented Interfaces:
org.h2gis.api.Function,org.h2gis.api.ScalarFunction
public class ST_Holes extends org.h2gis.api.DeterministicScalarFunctionST_Holes returns the given geometry or geometry collection's holes as a GeometryCollection. Returns GEOMETRYCOLLECTION EMPTY for geometries of dimension less than 2.- Author:
- Erwan Bocher, Adam Gouge
-
-
Constructor Summary
Constructors Constructor Description ST_Holes()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.locationtech.jts.geom.GeometryCollectionexecute(org.locationtech.jts.geom.Geometry geom)Returns the given geometry's holes as a GeometryCollection.StringgetJavaStaticMethod()-
Methods inherited from class org.h2gis.api.AbstractFunction
addProperty, getProperty, removeProperty
-
-
-
-
Method Detail
-
getJavaStaticMethod
public String getJavaStaticMethod()
-
execute
public static org.locationtech.jts.geom.GeometryCollection execute(org.locationtech.jts.geom.Geometry geom) throws SQLExceptionReturns the given geometry's holes as a GeometryCollection.- Parameters:
geom- Geometry- Returns:
- The geometry's holes
- Throws:
SQLException
-
-