Jane Tournois
6f27c5a75b
BGL-ization triangulate_faces(PolygonMesh) function
2015-02-10 17:49:22 +01:00
Jane Tournois
5a2de88e73
fix warning
2015-02-10 17:44:12 +01:00
Andreas Fabri
1df27e57ac
Add point property maps to normal computation
2015-02-10 15:36:12 +01:00
Jane Tournois
a2c45b78f0
Merge branch 'Polygon_mesh_processing-GF' of ssh://scm.cgal.org/var/git/cgal into Polygon_mesh_processing-GF
2015-02-10 14:30:46 +01:00
Jane Tournois
c58943c509
fix compilation for msvc2013
2015-02-10 14:30:19 +01:00
Andreas Fabri
1f869d269a
Add overloads with a default for Kernel
2015-02-10 13:08:07 +01:00
Andreas Fabri
5d3b151286
Merge branch 'Polygon_mesh_processing-GF' of ssh://scm.cgal.org/var/git/cgal into Polygon_mesh_processing-GF
2015-02-09 15:30:57 +01:00
Sébastien Loriot
6d8b60b7d7
remove warning
2015-02-05 14:05:28 +01:00
Sébastien Loriot
39f9813070
add discover_connected_component
2015-02-05 14:04:43 +01:00
Sébastien Loriot
1ca862bcd2
EIGEN_VERSION_AT_LEAST is not defined if CGAL_EIGEN3_ENABLED is not
2015-02-03 15:33:50 +01:00
Sébastien Loriot
85c0ff4402
add keep_largest_connected_components
2015-02-03 12:02:40 +01:00
Sébastien Loriot
69d21b213e
rename directory
2015-02-03 11:09:21 +01:00
Sébastien Loriot
717cc88d93
add vertex point pmap as template parameter
2015-02-03 10:36:57 +01:00
Sébastien Loriot
c5737d0fa4
rename header
2015-02-03 10:15:42 +01:00
Sébastien Loriot
022666fe09
Polygon_mesh_slicer_3 -> Polygon_mesh_slicer
2015-02-03 10:12:42 +01:00
Sébastien Loriot
416db703c7
Merge branch 'local/Polygon_mesh_processing-extract_cc' into Polygon_mesh_processing-GF
2015-02-03 09:23:37 +01:00
Sébastien Loriot
a3a48134f1
add package overview
2015-02-03 09:02:00 +01:00
Sébastien Loriot
a686d2ae2d
change namespace
2015-02-02 19:38:38 +01:00
Sébastien Loriot
35cbfea432
copy code added in branch Polyhedra_corefinement-enhancements-sloriot
...
|
|commit fea785072d
|Author: Sébastien Loriot <sebastien.loriot@cgal.org>
|Date: Wed Mar 26 10:48:25 2014 +0100
|
| add an alternative way to compute the patches bounded by marked edges
|
2015-02-02 17:09:32 +01:00
Sébastien Loriot
c9efa943d2
move file to Polygon_mesh_processing
2015-02-02 17:05:53 +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
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
dc1416f0fa
more slices
2015-01-27 08:51:14 +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
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
Sébastien Loriot
029f53e70d
solve overload compilation issues
2015-01-13 16:56:29 +01:00
Sébastien Loriot
c16d88dcb7
SUPERLU is out of the game now
2015-01-13 16:56:29 +01:00
Jane Tournois
bfa83b974d
rename template parameter Polyhedron to PolygonMesh
2015-01-13 16:47:05 +01:00
Jane Tournois
be88a07ebf
rename stitch_polyhedron to stitch_borders
2015-01-13 16:43:27 +01:00
Jane Tournois
b87a437a6e
add a todo
2015-01-13 16:35:22 +01:00
Jane Tournois
8a578f2c0e
fix typo in documentation
2015-01-13 16:34:56 +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
cabf733638
move Polygon_soup_to_polyhedron_3 to its own file
2015-01-13 14:43: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
Jane Tournois
9b151051c3
rename 'self_intersect' to 'self_intersections'
...
for clarity,
because it is collecting intersections
2015-01-13 12:10:42 +01:00
Jane Tournois
7ad34c28ce
add a todo
2015-01-13 11:24:50 +01:00
Jane Tournois
1db4534d8a
do not return a boolean
...
the output iterator can be empty and that's enough
2015-01-13 11:16:02 +01:00
Andreas Fabri
78de42d075
some static_cast to avoid warnings
2015-01-13 10:15:23 +01:00
Sébastien Loriot
764a22ff9c
fix property_map call
2015-01-13 09:49:47 +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
ee82a28b97
use property map tp access points
2015-01-13 09:25:53 +01:00
Andreas Fabri
860d28eb68
partial BGLization
2015-01-12 17:49:48 +01:00
Andreas Fabri
d0eadcda44
partial BGLization
2015-01-12 17:11:06 +01:00
Andreas Fabri
d1b6bc0925
Add dependency on BGL
2015-01-12 14:14:22 +01:00
Andreas Fabri
9554430611
resolve merge conflict
2015-01-12 14:08:35 +01:00
Sébastien Loriot
e9763e3acf
Merge branch 'old/Polygon_mesh_processing-GF' into Polygon_mesh_processing-GF
...
Conflicts:
Documentation/doc/Documentation/Doxyfile.in
Documentation/doc/Documentation/dependencies
Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/compute_normal.h
Polygon_mesh_processing/include/CGAL/Self_intersection_polyhedron_3.h
2015-01-12 11:47:38 +01:00
Sébastien Loriot
dd4fa653b8
fix name of user and ref manuals
2015-01-07 08:39:14 +01:00
Sébastien Loriot
58455566a8
add todos
2015-01-06 17:14:47 +01:00
Sébastien Loriot
206a6b09c9
add missing concept
2015-01-06 16:40:20 +01:00
Sébastien Loriot
20742d2da5
sort classified ref man
2015-01-06 16:13:35 +01:00
Sébastien Loriot
85dce701b9
move compute_normal in Polygon Mesh Processing package
2015-01-06 15:32:45 +01:00
Sébastien Loriot
a9665b3bf8
move Point_inside_polyhedron_3 to Polygon Mesh Processing package
2015-01-06 14:31:51 +01:00
Sébastien Loriot
7b9193adbb
move Polyhedron_slicer_3 to Polygon Mesh Processing package
2015-01-06 13:07:12 +01:00
Sébastien Loriot
68c55ecefa
move polygon soup orientation to Polygon Mesh Processing package
2015-01-06 13:00:58 +01:00
Sébastien Loriot
125d423cbc
move self-intersection to Polygon Mesh Processing package
2015-01-06 12:55:18 +01:00
Sébastien Loriot
819793c998
move triangulate_polyhedron to Polygon Mesh Processing package
2015-01-06 12:07:58 +01:00
Sébastien Loriot
0b55e11abd
move stitching in Polygon Mesh Processing
2015-01-06 12:00:50 +01:00
Sébastien Loriot
1453414e2c
move orientation polygon in Polygon Mesh Processing
2015-01-06 12:00:45 +01:00
Sébastien Loriot
a85e03428c
add classified ref man
2015-01-06 11:43:55 +01:00
Sébastien Loriot
fc6f9368a0
move Hole Filling in the new Polygon Mesh Processing package
2015-01-06 11:37:25 +01:00