11#ifndef __CODAC_POLYGON_H__
12#define __CODAC_POLYGON_H__
17#include "codac_ThickEdge.h"
18#include "codac_ThickPoint.h"
30 Polygon(
const Polygon& p);
31 Polygon(
const std::vector<Vector>& v_floating_pts);
40 int nb_vertices()
const;
41 const std::vector<ThickEdge> edges()
const;
42 const std::vector<Vector>& vertices()
const;
43 const Vector& operator[](
size_t vertex_id)
const;
44 const IntervalVector box()
const;
45 const ThickPoint center()
const;
46 const Interval area()
const;
47 double volume()
const;
53 bool is_empty()
const;
54 bool is_point()
const;
55 bool is_segment()
const;
56 bool operator==(
const Polygon& p)
const;
57 bool operator!=(
const Polygon& p)
const;
63 friend std::ostream& operator<<(std::ostream& str,
const Polygon& p);
70 std::vector<Vector> m_v_floating_pts;
FixPoint of a separator The fixpoint of a separator is computed by calling the "::"separate function ...
Definition codac_capd_helpers.h:9