34 #pragma warning(disable: 4251) // warning C4251: needs to have dll-interface to be used by clients of class 43 class LineIntersector;
46 class NodedSegmentString;
67 static constexpr
double TOLERANCE = 0.5;
69 static constexpr
int UPPER_RIGHT = 0;
70 static constexpr
int UPPER_LEFT = 1;
71 static constexpr
int LOWER_LEFT = 2;
72 static constexpr
int LOWER_RIGHT = 3;
84 double scaleRound(
double val)
const;
86 double scale(
double val)
const;
91 bool intersectsScaled(
double p0x,
double p0y,
double p1x,
double p1y)
const;
102 double getWidth()
const {
return 1.0 / scaleFactor; };
139 bool isNode()
const {
return hpIsNode; };
154 # include "geos/noding/snapround/HotPixel.inl" Implements a "hot pixel" as used in the Snap Rounding algorithm.
double getScaleFactor() const
Coordinate is the lightweight class used to store coordinates.
geom::Coordinate originalPt
std::ostream & operator<<(std::ostream &os, const Coordinate &c)
Output function.
Basic namespace for all GEOS functionalities.