Class ST_SimplifyVW
- java.lang.Object
-
- org.h2gis.api.AbstractFunction
-
- org.h2gis.api.DeterministicScalarFunction
-
- org.h2gis.functions.spatial.generalize.ST_SimplifyVW
-
- All Implemented Interfaces:
org.h2gis.api.Function,org.h2gis.api.ScalarFunction
public class ST_SimplifyVW extends org.h2gis.api.DeterministicScalarFunctionReturns a simplified version of the given geometry using the Visvalingam-Whyatt algorithm.- Author:
- Maƫl PHILIPPE
-
-
Constructor Summary
Constructors Constructor Description ST_SimplifyVW()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetJavaStaticMethod()static org.locationtech.jts.geom.Geometrysimplifyvw(org.locationtech.jts.geom.Geometry geom, double distanceTolerance)Simplifies a geometry using a given tolerance.-
Methods inherited from class org.h2gis.api.AbstractFunction
addProperty, getProperty, removeProperty
-
-
-
-
Method Detail
-
getJavaStaticMethod
public String getJavaStaticMethod()
-
simplifyvw
public static org.locationtech.jts.geom.Geometry simplifyvw(org.locationtech.jts.geom.Geometry geom, double distanceTolerance) throws SQLExceptionSimplifies a geometry using a given tolerance.- Parameters:
geom- geometry to simplifydistanceTolerance- the tolerance to use- Returns:
- a simplified version of the geometry
- Throws:
SQLException
-
-