public class ST_PrecisionReducer
extends org.h2gis.api.DeterministicScalarFunction
| Constructor and Description |
|---|
ST_PrecisionReducer() |
| Modifier and Type | Method and Description |
|---|---|
String |
getJavaStaticMethod() |
static org.locationtech.jts.geom.Geometry |
precisionReducer(org.locationtech.jts.geom.Geometry geometry,
int nbDec)
Reduce the geometry precision.
|
static double |
scaleFactorForDecimalPlaces(int decimalPlaces)
Computes the scale factor for a given number of decimal places.
|
addProperty, getProperty, removePropertypublic String getJavaStaticMethod()
public static org.locationtech.jts.geom.Geometry precisionReducer(org.locationtech.jts.geom.Geometry geometry,
int nbDec)
throws SQLException
geometry - nbDec - SQLExceptionpublic static double scaleFactorForDecimalPlaces(int decimalPlaces)
decimalPlaces - Copyright © 2019 CNRS. All rights reserved.