1 #ifndef DM_INTERSECTION_HPP_INCLUDED
2 #define DM_INTERSECTION_HPP_INCLUDED
8 #include "DM/config.hpp"
9 #include "DM/AutoLink.hpp"
11 #include "DM/IGeometry.hpp"
12 #include "DM/IPoint.hpp"
13 #include "DM/IBox.hpp"
14 #include "DM/IPolygon.hpp"
18 namespace Intersection {
21 DM_API
bool test2D(
const IPoint &pt,
const IBox &box);
22 DM_API
bool test2D(
const IBox &box,
const IPoint &pt);
24 DM_API
bool test2D(
const IBox &a,
const IBox &b);
26 DM_API
bool test2D(
const IPoint &pt,
const IPolygon &poly);
27 DM_API
bool test2D(
const IPolygon &poly,
const IPoint &pt);
35 #endif //DM_INTERSECTION_HPP_INCLUDED