summaryrefslogtreecommitdiff
path: root/src/PolySetCGALEvaluator.cc
diff options
context:
space:
mode:
authordon bright <hugh.m.bright@gmail.com>2012-10-28 17:40:16 (GMT)
committerdon bright <hugh.m.bright@gmail.com>2012-10-28 17:40:16 (GMT)
commit434ebe017df92dadf9a8e75bca3f540131398ae2 (patch)
tree7d9c7758f73bd63de09b85ea1f131ee4df0a0345 /src/PolySetCGALEvaluator.cc
parent66b6433ffe6f8e0236cf8ab1edad7045df360b2a (diff)
more cleanup
Diffstat (limited to 'src/PolySetCGALEvaluator.cc')
-rw-r--r--src/PolySetCGALEvaluator.cc15
1 files changed, 4 insertions, 11 deletions
diff --git a/src/PolySetCGALEvaluator.cc b/src/PolySetCGALEvaluator.cc
index a5393fd..245e97a 100644
--- a/src/PolySetCGALEvaluator.cc
+++ b/src/PolySetCGALEvaluator.cc
@@ -20,20 +20,15 @@
#include <boost/foreach.hpp>
#include <vector>
-
-
/*
ZRemover
This class converts one or more already 'flat' Nef3 polyhedra into a Nef2
-polyhedron by stripping off the 'z' coordinates from the vertices.
+polyhedron by stripping off the 'z' coordinates from the vertices. The
+resulting Nef2 poly is accumulated in the 'output_nefpoly2d' member variable.
-The class uses the 'visitor' pattern from the CGAL manual -- multiple 3d
-Nef polys fed to this class, with the resulting Nef2 poly accumulating
-in the 'output_nefpoly2d' member variable.
-
-Some notes on CGAL's Nef Polyhedron2:
+Notes on CGAL's Nef Polyhedron2:
1. The 'mark' on a 2d Nef face is important when doing unions/intersections.
If the 'mark' of a face is wrong the resulting nef2 poly will be unexpected.
@@ -44,9 +39,7 @@ Some notes on CGAL's Nef Polyhedron2:
the CGAL::is_simple_2() test, resulting in improperly marked nef2 polys.
3. 3d facets have 'two sides'. we throw out the 'down' side to prevent dups.
-Debugging output is in heavily commented SVG format.
-
-See also
+The class uses the 'visitor' pattern from the CGAL manual. See also
http://www.cgal.org/Manual/latest/doc_html/cgal_manual/Nef_3/Chapter_main.html
http://www.cgal.org/Manual/latest/doc_html/cgal_manual/Nef_3_ref/Class_Nef_polyhedron3.html
OGL_helper.h
contact: Jan Huwald // Impressum