Commit Graph

892 Commits

Author SHA1 Message Date
Sébastien Loriot 022666fe09 Polygon_mesh_slicer_3 -> Polygon_mesh_slicer 2015-02-03 10:12:42 +01:00
Sébastien Loriot a6ea5c0b22 update orient_polygon_soup testsuite 2015-01-30 18:02:36 +01:00
Sébastien Loriot 1a79edd840 fix compilation issues (nothing to do with the merge) 2015-01-30 17:57:04 +01:00
Jane Tournois 7a4428e43d start conversion to BGL API, and improve test 2015-01-23 15:48:53 +01:00
Jane Tournois 4f364cf17b make is_oriented, compute_facet_normal, and compute_vertex_normal BGL
these 3 functions now handle a FaceGraph
test completed to check their use with Polyhedron_3 and Surface_mesh

typedef Point added in Polyhedron_3
to handle with no difference Surface_mesh and Polyhedron_3
2015-01-23 14:55:36 +01:00
Jane Tournois da972f0df8 TriangleMesh made a model of FaceListGraph
test added to use Point_inside_polygon_mesh with Surface_mesh
test code factorized in a helper file
2015-01-22 14:43:56 +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
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 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 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 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 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 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 93107e9c88 move hole_filling functions to non-internal header triangulate_hole.h 2015-01-15 15:17:15 +01:00
Andreas Fabri 2e5d7006f0 move the include of Hole_filling after those of the mesh 2015-01-15 11:37:29 +01:00
Andreas Fabri 4f7ae328d7 switch to pmesh as parameter 2015-01-14 11:38:53 +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 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
Sébastien Loriot 029f53e70d solve overload compilation issues 2015-01-13 16:56:29 +01:00
Jane Tournois be88a07ebf rename stitch_polyhedron to stitch_borders 2015-01-13 16:43:27 +01:00
Jane Tournois d4c63f8911 renaming
- rename do_self_intersect to is_self_intersecting
- add namespace Polygon_mesh_processing
- rename template parameter Polyhedron to PolygonMesh
2015-01-13 16:30:23 +01:00
Jane Tournois 67786d30ec convert Polygon_soup_to_polyhedron_3 to a standalone function 2015-01-13 16:03:26 +01:00
Jane Tournois 8e5312bfc1 Merge branch 'Polygon_mesh_processing-GF' of ssh://scm.cgal.org/var/git/cgal into Polygon_mesh_processing-GF 2015-01-13 15:17:11 +01:00
Jane Tournois ab92b04655 move tests from Operations_on_Polyhedra to Polygon_mesh_processing
and fix compilation
2015-01-13 15:16:05 +01:00
Sébastien Loriot 162e6c7527 fix warnings and some compilation issues 2015-01-13 15:07:36 +01:00
Jane Tournois dff6924698 Merge branch 'Polygon_mesh_processing-GF' of ssh://scm.cgal.org/var/git/cgal into Polygon_mesh_processing-GF 2015-01-13 14:11:01 +01:00
Jane Tournois 83d35ff704 rename polyhedron_stitching() to Polygon_mesh_processing::stitch_polyhedron() 2015-01-13 14:10:35 +01:00
Andreas Fabri 013d7e6e69 code which does not compile 2015-01-13 13:01:39 +01:00
Andreas Fabri 78de42d075 some static_cast to avoid warnings 2015-01-13 10:15:23 +01:00
Sébastien Loriot 690839ea00 ofstream built from std::string is available in c++11 2015-01-13 09:49:26 +01:00
Andreas Fabri 19fc08ebc3 add CMakeists.txt 2015-01-13 09:35:01 +01:00
Andreas Fabri d0eadcda44 partial BGLization 2015-01-12 17:11:06 +01:00
Sébastien Loriot 0b55e11abd move stitching in Polygon Mesh Processing 2015-01-06 12:00:50 +01:00
Sébastien Loriot fc6f9368a0 move Hole Filling in the new Polygon Mesh Processing package 2015-01-06 11:37:25 +01:00