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;
68 return (scaleFactor == 1.0);
72 double nOffsetX = 0.0,
double nOffsetY = 0.0)
75 scaleFactor(nScaleFactor),
78 isScaled(nScaleFactor != 1.0)
83 std::vector<SegmentString*>* getNodedSubstrings()
const override;
85 void computeNodes(std::vector<SegmentString*>* inputSegStr)
override;
92 ::geos::ignore_unused_variable_warning(c);
110 void rescale(std::vector<SegmentString*>& segStrings)
const;
112 void scale(std::vector<SegmentString*>& segStrings)
const;
118 friend class ScaledNoder::Scaler;
120 friend class ScaledNoder::ReScaler;
122 mutable std::vector<geom::CoordinateSequence*> newCoordSeq;
136 #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