21 #ifndef GEOS_GEOM_PRECISIONMODEL_H
22 #define GEOS_GEOM_PRECISIONMODEL_H
24 #include <geos/export.h>
25 #include <geos/inline.h>
89 friend class io::Unload;
147 PrecisionModel(
double newScale,
double newOffsetX,
double newOffsetY);
187 double makePrecise(
double val)
const;
199 bool isFloating()
const;
211 int getMaximumSignificantDigits()
const;
217 Type getType()
const;
220 double getScale()
const;
228 double getOffsetX()
const;
236 double getOffsetY()
const;
282 std::string toString()
const;
314 void setScale(
double newScale);
330 # include "geos/geom/PrecisionModel.inl"
333 #endif // ndef GEOS_GEOM_PRECISIONMODEL_H
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:61
static const double maximumPreciseValue
The maximum precise value representable in a double.
Definition: PrecisionModel.h:175
Definition: PrecisionModel.h:102
Specifies the precision model of the Coordinate in a Geometry.
Definition: PrecisionModel.h:88
Type
The types of Precision Model which GEOS supports.
Definition: PrecisionModel.h:94
Definition: PrecisionModel.h:109