Commit Graph

92 Commits

Author SHA1 Message Date
Sébastien Loriot 098ffebd8a use a specific traits when the plane is parallel to two axis 2015-01-21 16:06:02 +01:00
Sébastien Loriot c5b65190ae do not use the default constructed traits 2015-01-21 11:48:34 +01:00
Sébastien Loriot 28f8774eaf use a traversal traits to avoid doing twice the orientation tests 2015-01-21 11:42:53 +01:00
Sébastien Loriot 9683acf3e6 fix destructor 2015-01-21 10:26:39 +01:00
Sébastien Loriot 3c2999813c fix doc warnings 2015-01-21 08:15:08 +01:00
Sébastien Loriot 247f8930d4 update and polish doc 2015-01-21 07:55:06 +01:00
Sébastien Loriot 406b4f6cbe add testsuite for polygon mesh slicer
for some reason it does not work with Surface mesh
2015-01-20 19:51:21 +01:00
Sébastien Loriot 811350da34 point property map should only be readable 2015-01-20 19:51:21 +01:00
Sébastien Loriot 50b096ba70 Rewrite of the Polygon_mesh_slicer handling degenerate cases correctly 2015-01-20 19:51:21 +01:00
Jane Tournois 022f9f353f self-intersection operators handles triangle meshes only 2015-01-20 12:05:55 +01:00
Jane Tournois 51d01df1c9 rename file because it only contains a predicate 2015-01-20 11:43:04 +01:00
Jane Tournois f7ff3b2548 move file to subfolder Polygon_mesh_processing 2015-01-20 11:40:07 +01:00
Jane Tournois fcfe30d114 rename is_oriented to is_outward_oriented
'is_oriented' was misleading because it was suggesting
"is consistently oriented" insted of "normals are oriented outwards
on this already consistently oriented mesh"
2015-01-20 10:36:34 +01:00
Jane Tournois 9fb416c1e8 add validity precondition with an assertion 2015-01-20 10:21:53 +01:00
Jane Tournois c76d58d9d7 use CGAL_assertion's 2015-01-20 10:17:56 +01:00
Jane Tournois e028035776 rename orient_polyhedron_3 to orient_polygon_mesh
also add namespace Polygon_mesh_processing
2015-01-20 10:08:09 +01:00
Jane Tournois 38186adcbc add a constructor that takes a pre-built AABB_tree 2015-01-19 17:07:05 +01:00
Jane Tournois f6d32471c9 add preconditions to constructor 2015-01-19 15:46:14 +01:00
Jane Tournois 45ebea96f9 Point_inside_polyhedron renamed to Point_inside_polygon_mesh
also remove TriangleAccessor_3 and start migrating to FaceGraph
2015-01-19 14:34:59 +01:00
Jane Tournois 59c0e2f108 fix compilation for hole filling 2015-01-19 14:14:04 +01:00
Jane Tournois 30d7453630 rename Polyhedron to polygon_mesh and TriangleMesh in Point_inside_polyhedron_3 2015-01-16 16:36:15 +01:00
Jane Tournois ef4df5f47d add constructor for Polygon_mesh_slicer_3 taking a pre-built AABB_tree of edges
AABB_tree is made a template parameter of Polygon_mesh_slicer_3

also add a test for compilation of this new constructor
2015-01-16 16:12:30 +01:00
Jane Tournois af7265f541 rename Polygon_mesh_slicer_3 to Polygon_mesh_slicer_3 2015-01-16 14:38:40 +01:00
Jane Tournois 1471da97bb add a test for hole_filling when DT3 are not used 2015-01-16 14:25:17 +01:00
Jane Tournois 68c33c9e60 remove useless include 2015-01-16 14:15:40 +01:00
Jane Tournois 36a1db7263 add macro CGAL_HOLE_FILLING_DO_NOT_USE_DT3
to be used by inclusion of CGAL/Hole_filling/do_not_use_DT3.h
2015-01-16 14:14:47 +01:00
Jane Tournois 2649705d95 re-order parameters to have use_delaunay_triangulation always last 2015-01-16 13:02:46 +01:00
Jane Tournois ecddea2a0c make the use of DT3 the default configuration 2015-01-16 13:02:16 +01:00
Jane Tournois 6b63cef86e make the use of Delaunay triangulations true by default for hole filling 2015-01-16 12:55:57 +01:00
Jane Tournois 093d27adce fix compilation of examples for Polygon_mesh_processing and Polyhedron demo
this implies adding a CMakeLists for examples so that Eigen is properly included
2015-01-16 12:43:03 +01:00
Jane Tournois 3b4489eb90 rename protection macros and fix missing includes 2015-01-16 12:41:33 +01:00
Jane Tournois 5633f9fe1f add missing protection #ifndef's 2015-01-16 11:10:25 +01:00
Jane Tournois 27d329b1e9 move fair() and refine() to their own files
- move fairing and refinement internal code to
the subfolder Meshing_functions (they were in Hole_filling)

- and fix namespaces
2015-01-15 17:11:00 +01:00
Jane Tournois e4bbbe518b add missing file 2015-01-15 16:11:45 +01:00
Jane Tournois f64ce6874b add missing namespace in documentation 2015-01-15 15:52:47 +01:00
Jane Tournois 2ec9b7eff9 add namespace Polygon_mesh_processing to hole filling functions 2015-01-15 15:49:38 +01:00
Jane Tournois d4c864e1b9 use Delaunay by default 2015-01-15 15:33:43 +01:00
Jane Tournois 473e5e8bee rename triangulate_polyhedron to triangulate_faces 2015-01-15 15:29:01 +01:00
Jane Tournois 93107e9c88 move hole_filling functions to non-internal header triangulate_hole.h 2015-01-15 15:17:15 +01:00
Jane Tournois 45c6446975 Merge branch 'Polygon_mesh_processing-GF' of ssh://scm.cgal.org/var/git/cgal into Polygon_mesh_processing-GF 2015-01-15 11:42:06 +01:00
Andreas Fabri 2e5d7006f0 move the include of Hole_filling after those of the mesh 2015-01-15 11:37:29 +01:00
Jane Tournois 246811669e fix compilation 2015-01-15 11:18:58 +01:00
Andreas Fabri 4f7ae328d7 switch to pmesh as parameter 2015-01-14 11:38:53 +01:00
Andreas Fabri 52840d2a20 Rename template parameter Polyhedron to PolygonMesh 2015-01-14 10:30:01 +01:00
Andreas Fabri 1b2f4f4bb2 it also works with Surface_mesh. The reader does not deal with comments though 2015-01-13 21:57:44 +01:00
Andreas Fabri bab97f92a3 WIP: it compiles but crashes for Surface_mesh 2015-01-13 18:47:36 +01:00
Jane Tournois 27698d58e6 Merge branch 'Polygon_mesh_processing-GF' of ssh://scm.cgal.org/var/git/cgal into Polygon_mesh_processing-GF 2015-01-13 17:37:26 +01:00
Jane Tournois 56c6a126cd add namespace Polygon_mesh_processing to orient_polygon_soup 2015-01-13 17:36:57 +01:00
Jane Tournois 89292cee6b fix documentation 2015-01-13 17:26:55 +01:00
Jane Tournois 99df22972e rename polygon_soup_to_polyhedron to Polygon_soup_to_polygon_mesh
also rename template parameter Polyhedron to PolygonMesh
2015-01-13 17:08:49 +01:00