19 #ifndef GEOS_NODING_SCALEDNODER_H 20 #define GEOS_NODING_SCALEDNODER_H 22 #include <geos/export.h> 27 #include <geos/inline.h> 28 #include <geos/noding/Noder.h> 30 #include <geos/util.h> 34 #pragma warning(disable: 4251) // warning C4251: needs to have dll-interface to be used by clients of class 41 class CoordinateSequence;
65 bool isIntegerPrecision() {
return (scaleFactor == 1.0); }
68 double nOffsetX=0.0,
double nOffsetY=0.0)
71 scaleFactor(nScaleFactor),
74 isScaled(nScaleFactor!=1.0)
79 std::vector<SegmentString*>* getNodedSubstrings()
const;
81 void computeNodes(std::vector<SegmentString*>* inputSegStr);
87 ::geos::ignore_unused_variable_warning(c);
105 void rescale(std::vector<SegmentString*>& segStrings)
const;
107 void scale(std::vector<SegmentString*>& segStrings)
const;
113 friend class ScaledNoder::Scaler;
115 friend class ScaledNoder::ReScaler;
117 mutable std::vector<geom::CoordinateSequence*> newCoordSeq;
131 #endif // GEOS_NODING_SCALEDNODER_H Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:60
Wraps a Noder and transforms its input into the integer domain.
Definition: ScaledNoder.h:61
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25
Computes all intersections between segments in a set of SegmentString.
Definition: Noder.h:49