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
Sébastien Loriot
dab5e16524
accomodate changes of the merge
2015-01-30 17:56:27 +01:00
Sébastien Loriot
137805d091
Merge branch 'old/Polygon_mesh_processing-GF'
...
Conflicts:
Operations_on_polyhedra/include/CGAL/orient_polyhedron_3.h
Polygon_mesh_processing/include/CGAL/orient_polygon_soup.h
Polyhedron/demo/Polyhedron/Scene_polygon_soup_item.cpp
Polyhedron/demo/Polyhedron/Scene_polyhedron_selection_item.h
2015-01-30 17:55:22 +01:00
Andreas Fabri
3d2acacdb9
Add a benchmark for the slicer
2015-01-26 16:12:26 +01:00
Jane Tournois
f9b8938596
stitching BGLized
...
works for Polyhedron_3
todo : check it still works for Surface_mesh
2015-01-23 17:48:46 +01:00
Jane Tournois
594a17eefd
progress on BGLization of stitching
...
until now it only works for Polyhedron_3
2015-01-23 16:39:16 +01:00
Jane Tournois
5f785f7e44
add validity precondition to check valid orientation
2015-01-23 16:37:18 +01:00
Jane Tournois
79fa2df1f7
remove useless include
2015-01-23 15:49:22 +01:00
Jane Tournois
7a4428e43d
start conversion to BGL API, and improve test
2015-01-23 15:48:53 +01:00
Jane Tournois
58b3e09350
make the use of namespaces consistent with other operators
2015-01-23 15:34:19 +01:00
Jane Tournois
fa5fa003fd
remove todo (already done)
2015-01-23 15:03:16 +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
Jane Tournois
52e4126d04
remove useless include
2015-01-22 14:00:07 +01:00
Jane Tournois
6a36d221ba
some cleaning
...
rename variables and types, indentation,
reduce number of useless arguments, etc
2015-01-22 13:06:03 +01:00
Jane Tournois
3de1485921
add missing coma
2015-01-22 12:56:30 +01:00
Sébastien Loriot
818833db5d
add flag to disable axis aligned plane optimisation and todos
2015-01-21 17:23:11 +01:00
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