20 #ifndef GEOS_NODING_SCALEDNODER_H
21 #define GEOS_NODING_SCALEDNODER_H
23 #include <geos/export.h>
28 #include <geos/inline.h>
29 #include <geos/noding/Noder.h>
31 #include <geos/util.h>
35 #pragma warning(disable: 4251) // warning C4251: needs to have dll-interface to be used by clients of class
42 class CoordinateSequence;
66 bool isIntegerPrecision() {
return (scaleFactor == 1.0); }
69 double nOffsetX=0.0,
double nOffsetY=0.0)
72 scaleFactor(nScaleFactor),
75 isScaled(nScaleFactor!=1.0)
80 std::vector<SegmentString*>* getNodedSubstrings()
const;
82 void computeNodes(std::vector<SegmentString*>* inputSegStr);
88 ::geos::ignore_unused_variable_warning(c);
106 void rescale(std::vector<SegmentString*>& segStrings)
const;
108 void scale(std::vector<SegmentString*>& segStrings)
const;
114 friend class ScaledNoder::Scaler;
116 friend class ScaledNoder::ReScaler;
118 mutable std::vector<geom::CoordinateSequence*> newCoordSeq;
136 #endif // GEOS_NODING_SCALEDNODER_H