27 #ifndef WFMATH_POLYGON_INTERSECT_H 28 #define WFMATH_POLYGON_INTERSECT_H 30 #include <wfmath/axisbox.h> 31 #include <wfmath/ball.h> 32 #include <wfmath/polygon.h> 33 #include <wfmath/intersect.h> 34 #include <wfmath/error.h> 49 bool Intersect(
const Polygon<2>& r,
const Point<2>& p,
bool proper);
51 bool Contains(
const Point<2>& p,
const Polygon<2>& r,
bool proper);
54 bool Intersect(
const Polygon<2>& p,
const AxisBox<2>& b,
bool proper);
56 bool Contains(
const Polygon<2>& p,
const AxisBox<2>& b,
bool proper);
58 bool Contains(
const AxisBox<2>& b,
const Polygon<2>& p,
bool proper);
61 bool Intersect(
const Polygon<2>& p,
const Ball<2>& b,
bool proper);
63 bool Contains(
const Polygon<2>& p,
const Ball<2>& b,
bool proper);
65 bool Contains(
const Ball<2>& b,
const Polygon<2>& p,
bool proper);
68 bool Intersect(
const Polygon<2>& p,
const Segment<2>& s,
bool proper);
70 bool Contains(
const Polygon<2>& p,
const Segment<2>& s,
bool proper);
72 bool Contains(
const Segment<2>& s,
const Polygon<2>& p,
bool proper);
75 bool Intersect(
const Polygon<2>& p,
const RotBox<2>& r,
bool proper);
77 bool Contains(
const Polygon<2>& p,
const RotBox<2>& r,
bool proper);
79 bool Contains(
const RotBox<2>& r,
const Polygon<2>& p,
bool proper);
82 bool Intersect(
const Polygon<2>& p1,
const Polygon<2>& p2,
bool proper);
84 bool Contains(
const Polygon<2>& outer,
const Polygon<2>& inner,
bool proper);
88 #endif // WFMATH_POLYGON_INTERSECT_H Generic library namespace.