codac 1.5.6
|
#include "codac2_Polygon.h"
Go to the source code of this file.
Classes | |
class | codac2::ConvexPolygon |
Represents a convex polygon defined by vertices enclosed in IntervalVector s. More... | |
Functions | |
ConvexPolygon | codac2::operator& (const ConvexPolygon &p1, const ConvexPolygon &p2) |
Computes the intersection of two convex polygons. | |
ConvexPolygon codac2::operator& | ( | const ConvexPolygon & | p1, |
const ConvexPolygon & | p2 ) |
Computes the intersection of two convex polygons.
The result is a new ConvexPolygon
enclosing the intersection area. If the polygons do not intersect, the result is an empty convex polygon.
p1 | The first convex polygon. |
p2 | The second convex polygon. |
ConvexPolygon
enclosing the intersection area.