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);
178 double makePrecise(
double val)
const;
190 bool isFloating()
const;
202 int getMaximumSignificantDigits()
const;
208 Type getType()
const;
211 double getScale()
const;
219 double getOffsetX()
const;
227 double getOffsetY()
const;
272 std::string toString()
const;
304 void setScale(
double newScale);
320 # include "geos/geom/PrecisionModel.inl" 323 #endif // ndef GEOS_GEOM_PRECISIONMODEL_H Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:60
static const double maximumPreciseValue
Definition: PrecisionModel.h:166
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:26
Definition: PrecisionModel.h:108