Commit Graph

245 Commits

Author SHA1 Message Date
Jane Tournois 4b7a997df0 add the ability to use a Visitor for a BGL graph using an overload of graph_traits
TODO : is_valid(mesh) does not compile on msvc. To be fixed
2015-07-15 16:02:30 +02:00
Jane Tournois 4ba9dbd71b fix constness 2015-07-15 16:02:30 +02:00
Jane Tournois d34d47a6d5 Revert "detect sharp edges and surface patches"
This reverts commit 80b1363f1db4db8391398188bcb33427ffc69aac.
2015-07-15 16:02:23 +02:00
Jane Tournois 83957ed495 add code to the selection tool to be able to select a surface patch
for now it works only for facets and the checkbox is not used
2015-07-15 16:02:23 +02:00
Sébastien Loriot c616df7196 Merge branch 'old/Polygon_mesh_processing-GF' into Polygon_mesh_processing-GF
Conflicts:
	Documentation/biblio/cgal_manual.bib
	Installation/changes.html
2015-07-13 08:16:59 +02:00
Sébastien Loriot e7563d3e05 Merge branch 'gsoc13-CurveSkeleton-new_package-xgao'
Conflicts:
	Installation/changes.html
2015-07-09 17:30:24 +02:00
Sébastien Loriot e4277165c6 make an assertion tagged as expensive 2015-07-08 11:44:10 +02:00
Sébastien Loriot a306384cc8 add missing include 2015-07-03 11:13:18 +02:00
Andreas Fabri 20c1b1a1f6 Merge branch 'Polygon_mesh_processing-GF-old' into Polygon_mesh_processing-GF
Conflicts:
	BGL/include/CGAL/boost/graph/Euler_operations.h
	BGL/include/CGAL/boost/graph/iterator.h
	Documentation/doc/Documentation/Doxyfile.in
	Documentation/doc/Documentation/dependencies
	Polyhedron/demo/Polyhedron/Polyhedron_demo_point_inside_polyhedron_plugin.cpp
	Polyhedron/demo/Polyhedron/Scene_polygon_soup_item.cpp
	Polyhedron/demo/Polyhedron/Selection_widget.ui
2015-07-01 13:52:44 +02:00
Philipp Möller 224d63be58 On GCC 4.4 with C++0x enabled, ADL + next is unreliable
This is a combination of two bugs: the call to next should pick up
CGAL::next to begin with and even if it didn't iterator_traits should
arguably be SFINAE friendly. See
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40497

We fix this by fully qualifying the call on the affected compiler. To
make this work we have to partially break the dependency between
CGAL/boost/graph/iterator.h and CGAL/boost/graph/graph_traits_Surface_mesh.h
2015-06-29 13:13:10 +02:00
Philipp Möller 0cda240dd1 Clean up some includes 2015-06-29 13:13:09 +02:00
Jane Tournois bab9c51189 fix documentation 2015-06-25 11:49:35 +02:00
Sébastien Loriot f6a2479472 fix compilation issues with g++ 2015-06-22 11:23:31 +02:00
Laurent Rineau 00eb751dc1 Nasty compilation-error
SFINAE does not work in that case, and the substitution error is a hard
error.
2015-06-11 16:17:15 +02:00
Laurent Rineau c61663b6ca Merge branch 'releases/CGAL-4.6-branch' 2015-06-05 16:45:53 +02:00
Andreas Fabri 56c16d581c use CGAL naming conventions 2015-06-01 12:35:52 +02:00
Andreas Fabri c30a000ce3 bug fix. The iterator did not dereference to opposite faces 2015-05-29 09:16:32 +02:00
Laurent Rineau 5b374cbeb1 Merge pull request #77 from afabri/BGL-helpers-GF
Document and complete BGL helper functions
2015-05-26 12:27:15 +02:00
Jane Tournois 68b5acb9b3 Merge branch 'Polygon_mesh_processing_OpenMesh-GF' of github.com:CGAL/cgal-public-dev into Polygon_mesh_processing_OpenMesh-GF 2015-05-15 12:03:13 +02:00
Jane Tournois f5c9d9fce5 fix is_valid_polygon_mesh 2015-05-15 12:02:02 +02:00
Andreas Fabri 57e2c27b73 use generic is_valid test 2015-05-15 11:22:33 +02:00
Andreas Fabri 09ea32096d Add generic is_valid_polygon_mesh() to BGL Helpers 2015-05-15 10:52:31 +02:00
Andreas Fabri 1249f74c83 halfedge(v,om) returns opposite of the stored halfedge 2015-05-15 10:51:46 +02:00
Andreas Fabri 4438c8651c Add operator< for two OpenMesh edges 2015-05-12 19:33:57 +02:00
Andreas Fabri f88ff84d36 move the property map class to a CGAL header file 2015-05-11 14:57:14 +02:00
Andreas Fabri 20cd22c369 Add operator[] to the point property map 2015-05-11 12:22:19 +02:00
Andreas Fabri ac76093c68 use a forward declaration for Euler operation 2015-04-20 10:57:01 +02:00
Andreas Fabri d539246011 add typename; remove unused typedefs 2015-04-20 10:48:12 +02:00
Andreas Fabri 2f73c7e985 add typename 2015-04-17 08:24:19 +02:00
Andreas Fabri a5a982ce61 fixes and cleanup 2015-04-16 11:24:38 +02:00
Andreas Fabri 8eb4ec93c4 fixes and cleanup 2015-04-16 11:21:19 +02:00
Andreas Fabri 6e7debb874 test helpers 2015-04-15 16:36:23 +02:00
Andreas Fabri 6fdb64eb7a fix typos 2015-04-15 11:55:12 +02:00
Jane Tournois 9e3f91a5d4 update documentation according to pre-approved small feature 2015-04-10 11:08:34 +02:00
Jane Tournois f04079a815 documentation of add_face(vertex range, graph) 2015-04-09 17:02:43 +02:00
Andreas Fabri e1c1b58415 Add a test for the make_hexahedron 2015-03-18 15:48:19 +01:00
Andreas Fabri c5810ee2ff integrate fill_hole() 2015-03-18 10:54:23 +01:00
Andreas Fabri 9f62b06bce Add make_..() 2015-03-18 10:53:34 +01:00
Sébastien Loriot 0e3d4586d4 fix doc warnings 2015-03-18 09:28:50 +01:00
Andreas Fabri 020d2ff054 Add documentation of helper functions 2015-03-17 18:41:14 +01:00
Sébastien Loriot 5c1512d63f handle when boundary of the selection is on the border 2015-03-17 16:53:50 +01:00
Sébastien Loriot ef2cef3eb4 use a wrapper to make sure the return type of get is instantiable
the pb encountered comes from get called on a variant
2015-03-17 16:20:37 +01:00
Sébastien Loriot 2c73064343 use nested type 2015-03-17 16:20:37 +01:00
Sébastien Loriot 9cf0a3fd37 add missing license header 2015-03-17 16:20:37 +01:00
Jane Tournois 803c16d3e0 null_halfedge is not a type 2015-03-12 14:19:11 +01:00
Sébastien Loriot eec0d93a2f move function before it is used 2015-03-12 14:04:35 +01:00
Laurent Rineau 2a58fbda4a Merge remote-tracking branch 'origin/Surface_mesh-isolated_vertex-GF'
Bug-fix for the BGL API:

  - Remove assertion in halfedge(Polyehdron_3, vertex_descriptor) as it
    is wrong for an isolated vertex.
  - fix a warning.

Fix the documentation:

  - Document that add_vertex/edge/face(G&) do not initialize the
    connectivity

Approved by the Release Manager.
Tested in CGAL-4.6-Ic-132.
2015-02-19 17:42:23 +01:00
Laurent Rineau 518368e470 Merge remote-tracking branch 'origin/BGL-use_iterator_adaptor-GF'
Bug-fix branch for the BGL API.

Approved by the Release Manager.
Tested in CGAL-4.6-Ic-132.
2015-02-19 17:40:32 +01:00
Sébastien Loriot bb6233c3b6 remove trash 2015-02-18 15:43:02 +01:00
Sébastien Loriot 5f23fad1a9 add missing documentation 2015-02-18 15:42:16 +01:00