Fade2D Documentation pages v2.16.8
Delaunay Features
CompPolygon.h
Go to the documentation of this file.
1 // Copyright (C) Geom Software e.U, Bernhard Kornberger, Graz/Austria
2 //
3 // This file is part of the Fade2D library. The student license is free
4 // of charge and covers personal, non-commercial research. Licensees
5 // holding a commercial license may use this file in accordance with
6 // the Commercial License Agreement.
7 //
8 // This software is provided AS IS with NO WARRANTY OF ANY KIND,
9 // INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS
10 // FOR A PARTICULAR PURPOSE.
11 //
12 // Please contact the author if any conditions of this licensing are
13 // unclear to you.
14 //
15 // Support: https://www.geom.at/contact/
16 // Project: https://www.geom.at/fade2d/html/
17 
18 
20 #pragma once
21 #include "Edge2.h"
22 #include "common.h"
23 
24 #if GEOM_PSEUDO3D==GEOM_TRUE
25  namespace GEOM_FADE25D {
26 #elif GEOM_PSEUDO3D==GEOM_FALSE
27  namespace GEOM_FADE2D {
28 #else
29  #error GEOM_PSEUDO3D is not defined
30 #endif
31 
32 
50 struct CLASS_DECLSPEC CompPolygon
51 {
58 
66  CompPolygon(const CompPolygon& other);
67 
77 
84  // Data
85 
91  std::vector<Triangle2*>* pvCC;
92 
98  std::vector<Edge2>* pvOuterPolygon;
99 
105  std::vector<std::vector<Edge2> >* pvvHolePolygons;
106 };
107 
108 
109 } // (namespace)
Connected component of triangles with boundary and hole polygons.
Definition: CompPolygon.h:51
CompPolygon & operator=(const CompPolygon &other)
Assignment operator.
CompPolygon(const CompPolygon &other)
Copy constructor.
std::vector< std::vector< Edge2 > > * pvvHolePolygons
Ordered hole polygons. A vector of vectors of Edge2 objects representing holes within the connected c...
Definition: CompPolygon.h:105
std::vector< Edge2 > * pvOuterPolygon
Ordered outer polygon edges.
Definition: CompPolygon.h:98
CompPolygon()
Default constructor.
std::vector< Triangle2 * > * pvCC
Connected component of triangles.
Definition: CompPolygon.h:91