Class ST_SimplifyPolygonHull
- java.lang.Object
-
- org.h2gis.api.AbstractFunction
-
- org.h2gis.api.DeterministicScalarFunction
-
- org.h2gis.functions.spatial.generalize.ST_SimplifyPolygonHull
-
- All Implemented Interfaces:
org.h2gis.api.Function,org.h2gis.api.ScalarFunction
public class ST_SimplifyPolygonHull extends org.h2gis.api.DeterministicScalarFunctionComputes a simplified topology-preserving outer or inner hull of a polygonal geometry- Author:
- Erwan Bocher, CNRS
-
-
Constructor Summary
Constructors Constructor Description ST_SimplifyPolygonHull()
-
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 geometry, float vertexNumFraction)Computes a simplified topology-preserving outer or inner hull of a polygonal geometry.static org.locationtech.jts.geom.Geometryexecute(org.locationtech.jts.geom.Geometry geometry, float vertexNumFraction, boolean isOuter)Computes a simplified topology-preserving outer or inner hull of a polygonal geometry.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.Geometry execute(org.locationtech.jts.geom.Geometry geometry, float vertexNumFraction)Computes a simplified topology-preserving outer or inner hull of a polygonal geometry.- Parameters:
geometry- the polygonal geometry to processvertexNumFraction- the fraction of number of input vertices in result- Returns:
- the hull geometry
-
execute
public static org.locationtech.jts.geom.Geometry execute(org.locationtech.jts.geom.Geometry geometry, float vertexNumFraction, boolean isOuter)Computes a simplified topology-preserving outer or inner hull of a polygonal geometry.- Parameters:
geometry- the polygonal geometry to processisOuter- indicates whether to compute an outer or inner hullvertexNumFraction- the fraction of number of input vertices in result- Returns:
- the hull geometry
-
-