11#ifndef __CODAC_CONVEXPOLYGON_H__
12#define __CODAC_CONVEXPOLYGON_H__
15#include "codac_Polygon.h"
20 class ConvexPolygon :
public Polygon
28 ConvexPolygon(
const ConvexPolygon& p);
29 explicit ConvexPolygon(
const IntervalVector& box);
30 ConvexPolygon(
const std::vector<ThickPoint>& v_thick_pts);
31 ConvexPolygon(
const std::vector<Vector>& v_floating_pts,
bool convex_and_convention_order =
false);
37 const BoolInterval is_subset(
const ConvexPolygon& p)
const;
38 bool is_unbounded()
const;
39 const BoolInterval contains(
const ThickPoint& p)
const;
40 const BoolInterval encloses(
const ThickPoint& p)
const;
41 const BoolInterval intersects(
const ConvexPolygon& p)
const;
47 const ConvexPolygon& inflate(
double rad);
48 const ConvexPolygon& simplify(
size_t max_edges);
49 const ConvexPolygon& rotate(
const Interval& theta,
const IntervalVector& center);
55 const IntervalVector fast_intersection(
const IntervalVector& x)
const;
56 const ConvexPolygon& operator&=(
const ConvexPolygon& x);
57 const ConvexPolygon& operator|=(
const ConvexPolygon& x);
FixPoint of a separator The fixpoint of a separator is computed by calling the "::"separate function ...
Definition codac_capd_helpers.h:9