17 #include <geos/export.h> 19 #include <geos/geom/CoordinateFilter.h> 20 #include <geos/geom/Coordinate.h> 53 static double robustScale(
double inherentScale,
double safeScale);
62 static double maxBoundMagnitude(
const Envelope* env);
78 static double precisionScale(
double value,
int precisionDigits);
84 static constexpr
int MAX_ROBUST_DP_DIGITS = 14;
130 static double robustScale(
const Geometry* a);
138 static double safeScale(
double value);
146 static double safeScale(
const Geometry* geom);
167 static double inherentScale(
double value);
179 static double inherentScale(
const Geometry* geom);
202 static int numberOfDecimals(
double value);
214 void updateScaleMax(
double value) {
216 if (scaleVal > scale) {
229 updateScaleMax(coord->x);
230 updateScaleMax(coord->y);
233 double getScale()
const {
An Envelope defines a rectangulare region of the 2D coordinate plane.
Definition: Envelope.h:58
static double inherentScale(double value)
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:216
Specifies the precision model of the Coordinate in a Geometry.
Definition: PrecisionModel.h:90
Definition: PrecisionUtil.h:49
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:186
Geometry classes support the concept of applying a coordinate filter to every coordinate in the Geome...
Definition: CoordinateFilter.h:43
Basic namespace for all GEOS functionalities.
Definition: Angle.h:25
Definition: PrecisionUtil.h:208