20 #ifndef GEOS_GEOM_PRECISIONMODEL_H
21 #define GEOS_GEOM_PRECISIONMODEL_H
23 #include <geos/export.h>
24 #include <geos/inline.h>
88 friend class io::Unload;
146 PrecisionModel(
double newScale,
double newOffsetX,
double newOffsetY);
186 double makePrecise(
double val)
const;
198 bool isFloating()
const;
210 int getMaximumSignificantDigits()
const;
216 Type getType()
const;
219 double getScale()
const;
227 double getOffsetX()
const;
235 double getOffsetY()
const;
281 std::string toString()
const;
313 void setScale(
double newScale);
329 # include "geos/geom/PrecisionModel.inl"
332 #endif // ndef GEOS_GEOM_PRECISIONMODEL_H
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:60
static const double maximumPreciseValue
The maximum precise value representable in a double.
Definition: PrecisionModel.h:174
Definition: PrecisionModel.h:101
Specifies the precision model of the Coordinate in a Geometry.
Definition: PrecisionModel.h:87
Type
The types of Precision Model which GEOS supports.
Definition: PrecisionModel.h:93
Definition: PrecisionModel.h:108