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>
46 bool Intersect(
const Polygon<2>& r,
const Point<2>& p,
bool proper);
48 bool Contains(
const Point<2>& p,
const Polygon<2>& r,
bool proper);
51 bool Intersect(
const Polygon<2>& p,
const AxisBox<2>& b,
bool proper);
53 bool Contains(
const Polygon<2>& p,
const AxisBox<2>& b,
bool proper);
55 bool Contains(
const AxisBox<2>& b,
const Polygon<2>& p,
bool proper);
58 bool Intersect(
const Polygon<2>& p,
const Ball<2>& b,
bool proper);
60 bool Contains(
const Polygon<2>& p,
const Ball<2>& b,
bool proper);
62 bool Contains(
const Ball<2>& b,
const Polygon<2>& p,
bool proper);
65 bool Intersect(
const Polygon<2>& p,
const Segment<2>& s,
bool proper);
67 bool Contains(
const Polygon<2>& p,
const Segment<2>& s,
bool proper);
69 bool Contains(
const Segment<2>& s,
const Polygon<2>& p,
bool proper);
72 bool Intersect(
const Polygon<2>& p,
const RotBox<2>& r,
bool proper);
74 bool Contains(
const Polygon<2>& p,
const RotBox<2>& r,
bool proper);
76 bool Contains(
const RotBox<2>& r,
const Polygon<2>& p,
bool proper);
79 bool Intersect(
const Polygon<2>& p1,
const Polygon<2>& p2,
bool proper);
81 bool Contains(
const Polygon<2>& outer,
const Polygon<2>& inner,
bool proper);
Generic library namespace.