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>
49bool Intersect(
const Polygon<2>& r,
const Point<2>& p,
bool proper);
51bool Contains(
const Point<2>& p,
const Polygon<2>& r,
bool proper);
54bool Intersect(
const Polygon<2>& p,
const AxisBox<2>& b,
bool proper);
56bool Contains(
const Polygon<2>& p,
const AxisBox<2>& b,
bool proper);
58bool Contains(
const AxisBox<2>& b,
const Polygon<2>& p,
bool proper);
61bool Intersect(
const Polygon<2>& p,
const Ball<2>& b,
bool proper);
63bool Contains(
const Polygon<2>& p,
const Ball<2>& b,
bool proper);
65bool Contains(
const Ball<2>& b,
const Polygon<2>& p,
bool proper);
68bool Intersect(
const Polygon<2>& p,
const Segment<2>& s,
bool proper);
70bool Contains(
const Polygon<2>& p,
const Segment<2>& s,
bool proper);
72bool Contains(
const Segment<2>& s,
const Polygon<2>& p,
bool proper);
75bool Intersect(
const Polygon<2>& p,
const RotBox<2>& r,
bool proper);
77bool Contains(
const Polygon<2>& p,
const RotBox<2>& r,
bool proper);
79bool Contains(
const RotBox<2>& r,
const Polygon<2>& p,
bool proper);
82bool Intersect(
const Polygon<2>& p1,
const Polygon<2>& p2,
bool proper);
84bool Contains(
const Polygon<2>& outer,
const Polygon<2>& inner,
bool proper);
Generic library namespace.