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;
145 PrecisionModel(
double newScale,
double newOffsetX,
double newOffsetY);
185 double makePrecise(
double val)
const;
197 bool isFloating()
const;
209 int getMaximumSignificantDigits()
const;
215 Type getType()
const;
218 double getScale()
const;
226 double getOffsetX()
const;
234 double getOffsetY()
const;
279 std::string toString()
const;
311 void setScale(
double newScale);
327 # include "geos/geom/PrecisionModel.inl" 330 #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:173
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
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25
Definition: PrecisionModel.h:108