diff options
Diffstat (limited to 'xs/src/clipper.hpp')
-rw-r--r-- | xs/src/clipper.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xs/src/clipper.hpp b/xs/src/clipper.hpp index 11626e396..e62e27e89 100644 --- a/xs/src/clipper.hpp +++ b/xs/src/clipper.hpp @@ -186,8 +186,8 @@ private: friend class Clipper; //to access AllNodes
};
-bool Orientation(const Path &poly);
double Area(const Path &poly);
+inline bool Orientation(const Path &poly) { return Area(poly) >= 0; }
int PointInPolygon(const IntPoint &pt, const Path &path);
void SimplifyPolygon(const Path &in_poly, Paths &out_polys, PolyFillType fillType = pftEvenOdd);
|