Commit Graph

377 Commits

Author SHA1 Message Date
Philipp Möller b1deeabe56 More doc 2016-02-02 16:00:31 +01:00
Philipp Möller 9c9256da8c Add the overloads to fix face/vertex_index_t 2016-02-02 16:00:31 +01:00
Philipp Möller 7fc6441903 Add generic property forwarding 2016-02-02 16:00:31 +01:00
Philipp Möller 2b20ea5e92 Add missing graph functions 2016-02-02 16:00:31 +01:00
Philipp Möller b3cf47a81b Directly forward the traversal category 2016-02-02 16:00:31 +01:00
Philipp Möller 2a0e76a29f Add initial documentation 2016-02-02 16:00:31 +01:00
Simon Giraudot d9b3b40dc0 Add CGAL_UNUSED after BOOST_CONCEPT_ASSERT to avoid unused typedef warnings 2016-02-02 12:59:42 +01:00
Sébastien Loriot f02e570690 avoid unused variable warning 2016-01-29 14:18:09 +01:00
Sébastien Loriot ccdb47318f add missing header 2016-01-25 10:29:20 +01:00
Sébastien Loriot 4c4b191209 Merge pull request #604 from bo0ts/BGL-add_clear-pmoeller
Add BGL helper CGAL::clear
2016-01-23 09:18:56 +01:00
Sébastien Loriot cf08261299 Merge pull request #652 from sloriot/BGL-document_selection_functions
BGL: document selection functions
2016-01-20 17:13:21 +01:00
Sébastien Loriot 13de98a97a consistantly rename graph variable 2016-01-20 17:09:10 +01:00
Sébastien Loriot d9e1472468 document all selection functions 2016-01-19 11:32:56 +01:00
Sébastien Loriot c1459d3f20 rename dilate/erode function after review 2016-01-19 11:32:49 +01:00
Sébastien Loriot afc38f5a7b remove extra comment 2016-01-19 11:32:34 +01:00
Sébastien Loriot b10b78c0c1 first step to document selection functions 2016-01-19 11:32:10 +01:00
Sébastien Loriot 1792146afd document split_graph_into_polylines 2016-01-19 09:30:00 +01:00
Philipp Möller 7cf791fa0f Improve documentation to mention clear 2016-01-08 14:48:28 +01:00
Philipp Möller e7ed448862 Add clear overload for OpenMesh 2016-01-08 12:34:46 +01:00
Philipp Möller f17dd10214 Add a clear helper
This helper will use the faster clear member function, if it is
available or clear the mesh in a traditional fashion otherwise.
2016-01-08 12:31:47 +01:00
Philipp Möller 9766b8f350 Add traits class to check for member clear 2015-12-27 17:03:17 +01:00
Sébastien Loriot 554036b699 Merge remote-tracking branch 'cgal/releases/CGAL-4.7-branch' 2015-11-23 09:55:22 +01:00
Sebastien Loriot 019856b8c4 Merge pull request #494 from afabri/BGL-fix_Halfedges_around_source_bug-GF
Fix bug  in Halfedge_around_source_circulator
2015-11-23 09:43:50 +01:00
Sébastien Loriot dbe07942c4 Merge remote-tracking branch 'cgal/releases/CGAL-4.7-branch' 2015-11-20 14:48:11 +01:00
Andreas Fabri 48f367e68b fix bug and improve testsuite 2015-11-20 09:56:55 +01:00
Andreas Fabri 170636b15b add const qualifier 2015-11-19 16:03:43 +01:00
Sebastien Loriot d605b6b95f Merge pull request #457 from janetournois/Polygon_mesh_processing-local_remeshing-GF
Polygon mesh processing - add isotropic remeshing
2015-11-17 13:25:45 +01:00
Sébastien Loriot eef03023fe is_border cannot be used in a file included by CGAL/boost/graph/helpers.h 2015-11-16 17:12:41 +01:00
Sébastien Loriot c6469e6c97 add missing include directives 2015-11-16 17:12:27 +01:00
Andreas Fabri 66e0abc87e fixes: add missing typename; use graph_traits; read from a file 2015-11-16 10:05:58 +01:00
Andreas Fabri bf6cfaa8d9 include header which pragma pushes a warning 2015-11-14 09:44:04 +01:00
Andreas Fabri 6706cc58c4 include header which pragma pushes a warning 2015-11-13 09:47:25 +01:00
Andreas Fabri f805b65f7d suppress warning in boost as this has to be solved upstream 2015-11-12 09:41:24 +01:00
Jane Tournois e2c6f6961b Merge branch 'BGL-SurfaceMesh2SurfaceMesh-GF' into Polygon_mesh_processing-local_remeshing-GF 2015-11-09 12:38:58 +01:00
Jane Tournois d1c2573822 fix unused typedef warning 2015-11-09 12:36:37 +01:00
Sébastien Loriot 03db4f7256 add missing license headers 2015-11-05 20:13:07 +01:00
Sébastien Loriot 0072b649e2 Merge branch 'old/Polygon_mesh_processing-local_remeshing-GF' into Polygon_mesh_processing-local_remeshing-GF 2015-11-05 20:11:10 +01:00
Sébastien Loriot c6e649aa9b Merge branch 'Polygon_mesh_processing-local_remeshing-GF-old' into Polygon_mesh_processing-local_remeshing-GF
and adapt plugin to CGAL::Three
2015-11-05 20:07:15 +01:00
Sébastien Loriot 54ca52b538 Merge branch 'BGL-SurfaceMesh2SurfaceMesh-GF' into Polygon_mesh_processing-local_remeshing-GF 2015-11-05 19:25:00 +01:00
Andreas Fabri d2ed79d38d Add keep_large_connected_components (code,doc,test) 2015-10-22 09:01:08 +02:00
Andreas Fabri 9fa669b81c fix make_quad() 2015-10-14 10:41:47 +02:00
Andreas Fabri a2f3175044 bug fix. set_next was not called for the opposite edges 2015-10-14 10:41:46 +02:00
Jane Tournois fe09c5483e do not use the brackets [] API of std::map, but an API compatible with boost::bimap 2015-09-22 15:07:49 +02:00
Jane Tournois 1bbd90f25b remove redundancy to avoid conflicts when both files are included 2015-09-22 14:55:13 +02:00
Jane Tournois 2a47fd5c0b Merge remote-tracking branch 'remotes/cgal-dev/BGL-OpenTriMesh-GF' into BGL-SurfaceMesh2SurfaceMesh-GF 2015-09-22 12:21:31 +02:00
Andreas Fabri bb208ab2d6 Fix halfedge(v, PolyMesh) + fixes for conversion from OpenMesh to Polyhedron 2015-09-21 16:41:24 +02:00
Andreas Fabri 881a9aefcc Check that the incident halfedge is not the null_halfedge
It is astonishing that add_face works for the PolyMesh
but not for the TriMesh.   The function is_isolated(V)
does not the right thing for a TriMesh
2015-09-21 15:49:34 +02:00
Andreas Fabri cff5745e3d Duplicate the graph traits from PolyMesh to TriMesh 2015-09-21 14:53:42 +02:00
Andreas Fabri 66b3d24af3 Add converter between models of FaceGraph 2015-09-21 12:00:11 +02:00
Andreas Fabri 72c7781b56 Comment add_edge(V,V, OM) as it conflicts with Euler::add_edge(V,V,MFG) 2015-09-21 11:59:07 +02:00
Andreas Fabri 43058e81c0 set_halfedge(..) was called twice 2015-09-17 10:08:23 +02:00
Sébastien Loriot 6d215672aa fix doc issues
* add missing iterator doc (function documented but not the iterator type)
* add missing entries in the classified reference manual
* hide deprecated function from doxygen
2015-09-10 07:38:56 +02:00
Laurent Rineau 7ddefbdcc8 Merge pull request #297 from afabri/CGAL-assert-GF
assert() should not be used in CGAL headers!
2015-09-07 10:58:20 +02:00
Jane Tournois ce54198aa7 Merge branch 'Polygon_mesh_processing-local_remeshing-GF-old' into Polygon_mesh_processing-local_remeshing-GF 2015-09-02 15:57:23 +02:00
Andreas Fabri 1e2ff1131e assert -> CGAL_assertion 2015-08-27 16:51:55 +02:00
Laurent Rineau 0fd6f2fa59 Merge pull request #288 from afabri/CGAL-add_hash-GF
No longer forward declare struct std:hash

Fixes issues #287 and #274.
2015-08-27 15:41:50 +02:00
Andreas Fabri 5030ed42b8 deal with graph_traits_HalfedgeDS.h and graph_traits_Triangulation_2.h 2015-08-25 09:34:17 +02:00
Jane Tournois 86896278e5 Merge branch 'Polygon_mesh_processing-local_remeshing-GF-old' into Polygon_mesh_processing-local_remeshing-GF 2015-08-07 13:02:35 +02:00
Laurent Rineau 70c08ae2bf Merge pull request #217 from bo0ts/Surface_mesh-drop_fusion-pmoeller
Drop Boost.Fusion from Surface_mesh
2015-07-31 14:27:30 +02:00
Philipp Möller 0b5e682985 Clean up some includes 2015-07-30 14:16:26 +02:00
Laurent Rineau 8be7c27063 Merge remote-tracking branch 'cgal-public-dev/CGAL-Qt5_support-GF' into CGAL-Qt5_support-GF
...aka refresh the branch from 'master'.

Conflicts:
	AABB_tree/demo/AABB_tree/Scene.cpp
	Polyhedron/demo/Polyhedron/Scene_edit_polyhedron_item.cpp
2015-07-28 15:30:17 +02:00
Jane Tournois bb3d38c9e7 Merge branch 'Polygon_mesh_processing-local_remeshing-GF-old' into Polygon_mesh_processing-local_remeshing-GF 2015-07-23 17:50:34 +02:00
Sébastien Loriot a220686d02 satisfies_link_condition->does_satisfy_link_condition to match naming convention 2015-07-21 10:27:27 +02:00
Laurent Rineau 08666dce25 Merge pull request #179 from afabri/CGAL-add_hash-GF
Add boost::hash and std::hash

https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Small_Features/hash

Conflicts:
	Installation/changes.html
2015-07-17 15:39:18 +02:00
Sébastien Loriot 5d2c892dbe Merge pull request #149 'lrineau/Polygon_mesh_processing-GF'
Add various functions to manipulate polygon meshes
2015-07-17 14:50:56 +02:00
Sébastien Loriot 5ac79c737f use two variable names to avoid warnings and possible issues 2015-07-17 09:40:22 +02:00
Sébastien Loriot c89fa4bd53 simplify bgl named parameters handling with boost < 1.51 and make PMP compatible 2015-07-16 16:01:21 +02:00
Jane Tournois 817d28515c duplicate every function in the overload for tuple<visitor, graph> 2015-07-15 16:02:30 +02:00
Laurent Rineau 7a7c4fa447 <boost/core/ref.hpp> appeared in Boost-1.56
The compatibility path is <boost/ref.hpp>.
2015-07-15 16:02:30 +02:00
Laurent Rineau 6303dbeb7d Fix a syntax error not detected my MSVC 2015-07-15 16:02:30 +02:00
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
Laurent Rineau 2a9b9330c3 Revert "Merge pull request #143 from bo0ts/Surface_mesh-gcc44_fixes-pmoeller"
This reverts commit 8cffc8be58, reversing
changes made to c1a0afd97a.

Philipp (@bo0ts) will open a new pull-request so solve the issue.
2015-07-14 18:29:43 +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
Laurent Rineau fa13f4ed0c Merge remote-tracking branch 'philaris/sdglinf-philaris' into CGAL-Qt5_support-GF 2015-07-10 17:28:07 +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
Andreas Fabri 2dea6db3bb Merge branch 'CGAL-add_hash-GF-old' into CGAL-add_hash-GF
Conflicts:
	Surface_mesh/include/CGAL/Surface_mesh/Surface_mesh.h
2015-07-06 10:51:23 +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 dadb129147 g++ needs a forward declaration for std::hash 2015-06-02 08:46:20 +02:00
Andreas Fabri 56c16d581c use CGAL naming conventions 2015-06-01 12:35:52 +02:00
Andreas Fabri b6850d35c0 #include <functional> and suppress struct/class warning for VC10 2015-06-01 10:42: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