19 #ifndef GEOS_NODING_SCALEDNODER_H 20 #define GEOS_NODING_SCALEDNODER_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;
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;
136 #endif // GEOS_NODING_SCALEDNODER_H bool isIntegerPrecision()
Coordinate is the lightweight class used to store coordinates.
Wraps a Noder and transforms its input into the integer domain.
ScaledNoder(Noder &n, double nScaleFactor, double nOffsetX=0.0, double nOffsetY=0.0)
std::vector< geom::CoordinateSequence * > newCoordSeq
Basic namespace for all GEOS functionalities.
Computes all intersections between segments in a set of SegmentString.
void ignore_unused_variable_warning(T const &)
void filter_ro(const geom::Coordinate *c)