Commit Graph

831 Commits

Author SHA1 Message Date
Maxime Gimeno a570495a0f Fix face() for border halfedges. 2017-06-16 10:08:22 +02:00
Sébastien Loriot f9df1e2357 fix conversion warnings 2017-06-07 17:04:22 +02:00
Sébastien Loriot f457b0340d remove extra note 2017-05-30 15:09:42 +02:00
Sébastien Loriot 5c1ace5124 add example and use bgllink macro 2017-05-30 15:09:42 +02:00
Sébastien Loriot ad87028699 use named parameters for index maps 2017-05-30 15:09:42 +02:00
Sébastien Loriot dd64914d59 move helper functions in the BGL package so that they can be used there too 2017-05-30 15:09:42 +02:00
Sébastien Loriot 6d2526499e replace iterators of face patch indices by a range 2017-05-30 15:09:42 +02:00
Sébastien Loriot b453991a44 rename face patch index map 2017-05-30 15:09:42 +02:00
Sébastien Loriot a0f1499614 rename bitsets of selected simplices 2017-05-30 15:09:42 +02:00
Sébastien Loriot eddbffcebe use set_selected_faces in the constructor and add the missing implementation 2017-05-30 15:09:42 +02:00
Sébastien Loriot b4194e3614 import API and documentation 2017-05-30 15:09:42 +02:00
Maxime Gimeno 3ab2f10997 replace remaining 'componant' by 'patch' 2017-05-30 15:09:42 +02:00
Maxime Gimeno 1f96262d3d Rename the graph into Face_filtered_graph and add a function to check its validity. 2017-05-30 15:09:42 +02:00
Maxime Gimeno 185ac3bbd0 clean-up the doc 2017-05-30 15:09:42 +02:00
Maxime Gimeno 1caba59404 add a function to change the current connected component ids to the cc_graph and update Segmentation example. 2017-05-30 15:09:42 +02:00
Maxime Gimeno 64eb2d09c6 Change doc for default index maps and add an example to Surface_mesh_segmentation using area() and Connected_components_graphs. 2017-05-30 15:09:41 +02:00
Maxime Gimeno 557e1a78c1 Add tests for Polyhedron and fix Property forwarding 2017-05-30 15:08:34 +02:00
Maxime Gimeno 0ab9cf974c Add property maps binders for the indices and fix remaining bugs in graph_traits. copy_face_graph doesn't crash anymore. 2017-05-30 15:08:34 +02:00
Maxime Gimeno 4e0bdba931 update changes.html and add tparams for the index maps. 2017-05-30 15:08:34 +02:00
Maxime Gimeno 793931be88 Add templates for the index maps in the class type. 2017-05-30 15:08:34 +02:00
Maxime Gimeno 6e1199d56f bitsets implementation, doc fix and tests fix. 2017-05-30 15:08:34 +02:00
Andreas Fabri 0707e06cee Changes after Andreas' review 2017-05-30 15:08:34 +02:00
Maxime Gimeno 5661666782 Clean-up and add key and value types to fccmap. 2017-05-30 15:08:34 +02:00
Maxime Gimeno 97ad4ba2b2 Rename into Connected_components_graph 2017-05-30 15:08:34 +02:00
Maxime Gimeno afd44de2e6 Changes :
- Remove copy_face_graph_patch
- Use an unordered_set instead of a single patch_id.
2017-05-30 15:08:34 +02:00
Maxime Gimeno 513edafdb2 use iterator_range instead of std::pair in Gwdwg 2017-05-30 15:08:34 +02:00
Maxime Gimeno 904b673da6 Changes for review. 2017-05-30 15:08:33 +02:00
Maxime Gimeno f7c3c48c07 Fixes 2017-05-30 15:08:33 +02:00
Maxime Gimeno be5103c1a1 Fix license and include guards 2017-05-30 15:08:33 +02:00
Maxime Gimeno 00af500498 Add a function to copy a patch and document the Connected_component_graph 2017-05-30 15:08:33 +02:00
Maxime Gimeno 5ababe9c33 Add an adapter:
- Create an adapter for FaceListGraphs that takes a patch_id and a FaceIndexMap and acts as if the specified patch was a whole graph.
2017-05-30 15:08:33 +02:00
Maxime Gimeno c892cf49c7 Clean-up 2017-05-29 13:24:09 +02:00
Maxime Gimeno 360031a14a Restore the PMP_properties_Surface_mesh.h and remove the private copy constructor of Gwdwg to let the default one be used, as it does not allow memory. This allows Surface only meshing to work with surface_mesh. 2017-05-29 13:24:08 +02:00
Maxime Gimeno 5db694c154 polyhedral domain with features works for Surface_mesh and cheese.off (Polyhedron does no longer :(
Conflicts:
	Mesh_3/include/CGAL/Polyhedral_mesh_domain_with_features_3.h
	Surface_mesh/include/CGAL/boost/graph/PMP_properties_Surface_mesh.h
2017-05-29 13:22:37 +02:00
Maxime Gimeno 451af8f3ef bglize and add property maps. polyhedral domain with features works almost for Surface_mesh
Conflicts:
	Mesh_3/include/CGAL/Mesh_polyhedron_3.h
	Mesh_3/include/CGAL/Polyhedral_mesh_domain_with_features_3.h
	Surface_mesh/include/CGAL/boost/graph/PMP_properties_Surface_mesh.h
2017-05-29 13:22:37 +02:00
Andreas Fabri 5a302c805d Make make_mesh_3() work for Surface_mesh 2017-05-29 13:22:37 +02:00
Andreas Fabri 2e4524e11f Remove face_degree; Fix warnings 2017-05-29 13:22:36 +02:00
Maxime Gimeno 2c1c78270b Fix doc of face_degree 2017-05-29 13:20:41 +02:00
Maxime Gimeno 880b6e21a2 Fixes and Clean-up.
- Move the new properties in a file in PMP and remove them from the namespace boost.
- Move the surface mesh properties from properties_Surface_mesh.h to Scene_surface_mesh_item.h
2017-05-29 13:20:39 +02:00
Andreas Fabri b5212bd83b Make surface mesh simplification plugin work for Surface_mesh 2017-05-29 13:20:38 +02:00
Andreas Fabri a33e423d2e Add property maps to Mesh_polyhedron_3::type 2017-05-29 13:20:38 +02:00
Andreas Fabri c8bc628c90 WIP: make the selection plugin work for Surface_mesh 2017-05-29 13:20:33 +02:00
Maxime Gimeno 45edec15db Nef_plugin works with surface_mesh. 2017-05-29 12:12:31 +02:00
Laurent Rineau c174b9880d Merge remote-tracking branch 'cgal/releases/CGAL-4.10-branch' 2017-05-26 17:56:13 +02:00
Sébastien Loriot 9b4e04c48a move function to test if a triangle face is degenerated in BGL helpers 2017-05-24 10:18:44 +02:00
Laurent Rineau ee1c11acfd Merge pull request #2077 from afabri/BGL-links_to_headers-GF
BGL Add a description to doxygen groups
2017-05-19 10:28:46 +02:00
Laurent Rineau 7aad2a560c Merge pull request #1891 from maxGimeno/PMP_named_params_macro-GF
Use macros to add parameters in PMP
2017-05-11 17:09:38 +02:00
Andreas Fabri 3f16400456 Add a desciption to doxygen groups, and in which header file they are 2017-04-26 08:46:58 +02:00
Laurent Rineau 87c9afd486 Fix the compilation of individual headers
- in most cases, that was just adding missing #include
- I have removed the use of <CGAL/basic.h>
2017-04-13 15:56:51 +02:00
Sébastien Loriot deb9d984f5 Merge remote-tracking branch 'cgal/releases/CGAL-4.9-branch' 2017-03-29 13:23:05 +02:00
Laurent Rineau c025d392fb Merge pull request #1960 from sloriot/BGL-fix_split_graph
Fix bug in split_graph_into_polylines
2017-03-29 11:58:38 +02:00
Sébastien Loriot 3da1729ea4 restore the order on nodes and do not remove an edge before a terminal node
The order was relying on the vertex connectivity so no edge incident to a
node in the set should be removed, otherwise the set is no longer sorted
2017-03-21 16:54:49 +01:00
Sébastien Loriot 6d3d570239 Merge remote-tracking branch 'cgal/releases/CGAL-4.9-branch' into HEAD 2017-03-16 09:57:17 +01:00
Andreas Fabri 58b4b81ccd fix in_edges() and out_edges() 2017-03-13 17:12:37 +01:00
Andreas Fabri 426ab99df7 BGL: Fix Dual 2017-03-13 14:01:19 +01:00
Sébastien Loriot 3fa06c2cc8 remove buggy and useless custom less for vertex descriptors
the order was not correct and in some cases, std::set::erase
was picking the wrong vertex_descriptor. The default less
is fine since no vertices is removed from the adjacency_list,
thus descriptors remain valid
2017-03-09 09:25:18 +01:00
Sébastien Loriot e9395aba6f move enum for named parameters inside internal_np namespace 2017-02-13 10:25:28 +01:00
Sébastien Loriot 9b8f910cee move edge_index that is not defined in boost 2017-02-10 17:24:33 +01:00
Sébastien Loriot 47e8f6167f add doc in the interface file and files using it 2017-02-10 17:23:45 +01:00
Sébastien Loriot 2fee4affdd rename macro to be independant of any package 2017-02-10 17:00:38 +01:00
Sébastien Loriot e2e277ad83 fix the list of inherited named parameters and remove special cases 2017-02-10 16:55:56 +01:00
Sébastien Loriot 2068ba14ce remove non used named parameter 2017-02-10 16:45:18 +01:00
Maxime Gimeno 3d8aaf0a6e Add license headers 2017-02-09 15:46:01 +01:00
Maxime Gimeno 0f9c102516 Move the enums in a namespace parameters to clean-up the namespace CGAL. 2017-02-09 15:29:18 +01:00
Maxime Gimeno 21f305db27 Use an include system to factorize the macro calls in PMP and BGL. 2017-02-09 14:14:11 +01:00
Laurent Rineau 1a2f617d89 Merge pull request #1843 from afabri/BGL_accelerate_copy_face_graph-GF
Accelerate copy_face_graph
2017-02-08 17:32:47 +01:00
Laurent Rineau 13e420732c Merge pull request #1840 from afabri/BGL-reserve-GF
BGL: Add helper function reserve(G,nv,ne,nf)
2017-02-08 17:32:22 +01:00
Sébastien Loriot 758e403d02 remove uninitialized variable warning 2017-01-25 08:52:56 +01:00
Sébastien Loriot df886a0904 add missing include directive 2017-01-19 16:46:52 +01:00
Sébastien Loriot 6926578b15 add reserve to MutableFaceGraph 2017-01-18 18:19:25 +01:00
Sébastien Loriot f5044492c7 remove old implementation and benchmark using it 2017-01-18 16:44:21 +01:00
Sébastien Loriot 3fa4abe869 move function to init index maps to BGL 2017-01-18 16:37:34 +01:00
Sébastien Loriot b3340608cc move property map binders to property_map.h 2017-01-18 16:37:24 +01:00
Sébastien Loriot 35394ccebf update reserve and add test 2017-01-17 11:18:07 +01:00
Andreas Fabri 725a658dad Add reserve(G, nv, ne, nf) 2017-01-17 09:44:06 +01:00
Sébastien Loriot e437f1d7e7 WIP add a new copy_face_graph implementation using halfedge_index_map when possible 2017-01-16 18:35:11 +01:00
Sébastien Loriot a99a406d7f set the bucket size of hash maps 2017-01-16 15:58:06 +01:00
Andreas Fabri 7af02ade63 Add a benchmark 2017-01-16 15:15:27 +01:00
Sébastien Loriot 5557ce17fd add another version of copy_face_graph 2017-01-16 14:33:46 +01:00
Sébastien Loriot e3f9ffa6f8 workaround for named parameters with old boost version (<1.51)
handle the renaming of a struct and move get_param overloads
in the boost namespace (to match qualified call boost::get_param)
2017-01-13 12:05:51 +01:00
Sébastien Loriot 9ae7b37845 Merge pull request #1745 from sloriot/Polyhedra_corefinement-enhancements-sloriot
Add corefinement operations in PMP
2017-01-12 12:05:18 +01:00
Laurent Rineau e9d9cc5100 Merge pull request #1793 from lrineau/Mesh_3-various_improvements-lrineau
Improvements for Mesh_3
2017-01-12 11:09:45 +01:00
Laurent Rineau 4ce2e8e416 Reduce the width of lines with `using boost::graph_traits` 2017-01-05 11:59:25 +01:00
Laurent Rineau b7c07effa9 Simplify split_graph_into_polylines
Two tests `it = v2vmap.find(vs)) == v2vmap.end()` were useless because
it is guaranteed that the map does contain the vertices.
2017-01-05 11:56:30 +01:00
Laurent Rineau 47dbde4ace Merge pull request #1753 from maxGimeno/BGL_descriptor_with_graph-GF
BGL descriptor with graph
2017-01-05 10:56:02 +01:00
Sébastien Loriot 9981bcfa27 Merge pull request #1757 from afabri/BGL-reorient_make_tetrahedron-GF
BGL reorient make_tetrahedron() and make_hexahedron()
2017-01-02 19:10:20 +01:00
Laurent Rineau ca0fac22e7 Merge branch 'Mesh_3-improve_detect_features-GF' into Mesh_3-various_improvements-lrineau 2016-12-30 17:33:16 +01:00
Sébastien Loriot fe5e925367 Merge pull request #1701 from afabri/Convex_hull_3-FaceGraph-GF
Convex_hull_3: Switch to FaceGraph
2016-12-30 15:14:34 +01:00
Sébastien Loriot 81f4714b1b mimic what is done for Has_clear
typeof is an gcc extension
2016-12-30 14:51:50 +01:00
Laurent Rineau e5807d17ef Add visitor.add_edge, optional 2016-12-30 14:51:50 +01:00
Laurent Rineau 7776720ca9 Merge pull request #1752 from lrineau/Mesh_3-various_fixes_and_improvements-lrineau
Fix the patch from #1524
2016-12-28 16:12:14 +01:00
Andreas Fabri cbcfbc0259 Remove typedefs; put make_quad for vertices in namespace internal 2016-12-23 16:28:50 +01:00
Laurent Rineau f6bfae0324 Remove an assertion: bug in Boost filtered_graph::out_degree 2016-12-16 17:32:45 +01:00
Andreas Fabri fde59886ba Concept check GWdwg 2016-12-13 15:25:54 +01:00
Andreas Fabri 4a323718e3 Use CGAL_assertion; test that the assertion gets triggered 2016-12-09 17:33:25 +01:00
Andreas Fabri c058ae9bcc deacronymize header file name 2016-12-09 17:01:11 +01:00
Andreas Fabri d3a286d111 Gwdwg may be mutable 2016-12-09 16:52:47 +01:00
Laurent Rineau f8833fbec5 Fix a bug with isolated vertices in the graph 2016-12-09 15:47:19 +01:00
Andreas Fabri 98b5ae02f7 reorient make_hexahedron 2016-12-09 15:16:39 +01:00
Sébastien Loriot d1a00c9ab4 add missing overload 2016-12-09 13:44:41 +01:00
Andreas Fabri a32e75646f reorient make_tetrahedron 2016-12-09 12:49:06 +01:00
Maxime Gimeno d7c8f598a1 Fix doc 2016-12-08 10:12:10 +01:00
Sébastien Loriot a066f8c01b use different overloads even in c++11
The default value for the point map cannot be set
2016-12-07 17:08:30 +01:00
Maxime Gimeno 8569e8fb9a Add an example. 2016-12-07 16:46:49 +01:00
Laurent Rineau 65d67329fc Fix the patch from #1524
When the `less` operator was added to `split_graph_into_polylines`, it
was wrong: as we duplicate vertices, that is not sufficient to compare
the points at vertices.
2016-12-07 11:24:28 +01:00
Sébastien Loriot b4da56f408 remove extra comma 2016-12-07 09:02:36 +01:00
Maxime Gimeno 50e4b04d51 Restore graph_has_property() 2016-12-06 14:13:18 +01:00
Maxime Gimeno 5141f55efe Make doc 2016-12-06 12:59:56 +01:00
Sébastien Loriot f82fce23fd remove trailing whitespaces 2016-12-06 12:59:56 +01:00
Sébastien Loriot b1f6d0c1dd add assertion and graph_has_property specialization 2016-12-06 12:59:56 +01:00
Sébastien Loriot 2355c5b871 fix compilation issues 2016-12-06 12:59:55 +01:00
Sébastien Loriot 5a51e9bc98 allow comparision with null descriptors 2016-12-06 12:59:55 +01:00
Sébastien Loriot b1a481db5c disable the copy-constructor 2016-12-06 12:59:55 +01:00
Sébastien Loriot 4d67fcc08f the base property_map must be copied 2016-12-06 12:59:55 +01:00
Sébastien Loriot 51bed6153e add missing const 2016-12-06 12:59:55 +01:00
Sébastien Loriot b0e5c90eae various fixes 2016-12-06 12:59:55 +01:00
Andreas Fabri 3703683761 Add put 2016-12-06 12:59:55 +01:00
Andreas Fabri 211fcb4107 Partial support for propery maps 2016-12-06 12:59:55 +01:00
Andreas Fabri c9b53a1989 Add null_vertex() etc. 2016-12-06 12:59:55 +01:00
Sébastien Loriot 7f25b7af56 add missing typename and fix typo 2016-12-06 12:59:55 +01:00
Andreas Fabri 5f18b0738c First version of a graph class that stores a pointer to the graph in the descriptor (for debugging) 2016-12-06 12:59:55 +01:00
Sébastien Loriot c3e1309181 update from master branch 2016-12-05 14:37:29 +01:00
Andreas Fabri 3fc151b0dd polish, e.g. P -> pm 2016-11-30 10:32:40 +01:00
Andreas Fabri e0484d4988 Remove Graph_geometry.h 2016-11-28 08:39:51 +01:00
Sébastien Loriot 20fa78081c add property maps as parameter for copy_face_graph 2016-11-23 15:31:29 +01:00
Sébastien Loriot 5c94f7d8ac avoid documenting internal and non-intended classes and functions 2016-10-21 11:11:00 +02:00
Sébastien Loriot e4ba7e0c70 add missing include directive 2016-10-20 18:12:54 +02:00
Laurent Rineau 5ab5825013 Merge pull request #1466 from sloriot/BGL-add_nef_to_pm
Add a function to convert a Nef polyhedron to a polygon mesh
2016-10-17 10:03:24 +02:00
Laurent Rineau d43015c0ef Merge pull request #1543 from afabri/BGL_remove_graph_traits_CMap-GF
Remove files that are here accidentally according to Guillaume
2016-10-17 09:59:17 +02:00
Sébastien Loriot 14030d4c49 remove unused variable 2016-10-12 10:52:02 +02:00
Sébastien Loriot 5d9edb5670 fix license 2016-10-06 09:33:32 +02:00
Andreas Fabri 74a72a4749 Remove files that are here accidentally according to Guillaume 2016-10-05 16:22:26 +02:00
Sébastien Loriot d9413be399 add function convert_nef_polyhedron_to_polygon_mesh and document it 2016-10-05 15:28:12 +02:00
Laurent Rineau 223c1cf5a4 Merge pull request #1530 from lrineau/Installation-compute_dependencies-GF
Compute and fix packages dependencies
2016-10-05 13:11:04 +02:00
Laurent Rineau 745cdaeba5 Merge pull request #1524 from lrineau/Mesh_3-split_graph_into_polylines_determinism-lrineau
Make split_graph_into_polylines deterministic
2016-10-05 13:03:36 +02:00
Laurent Rineau 7b6addbb55 Merge pull request #1519 from lrineau/Mesh_3-fix_conversion_warnings-lrineau
Mesh_3: fix conversion warnings
2016-10-05 13:03:15 +02:00
Laurent Rineau 1c19028e5b Merge pull request #1267 from maxGimeno/Random_generator-GF
Random generator
2016-10-05 13:02:29 +02:00
Laurent Rineau eb21f2ed3b Fix a compilation error 2016-09-30 19:52:20 +02:00
Andreas Fabri 40e9c6f735 Move specializations of graph_traits the packages that are concerned 2016-09-30 15:22:29 +02:00
Andreas Fabri ca1f19b392 Package BGL: Add includes 2016-09-30 15:22:29 +02:00
Laurent Rineau 5bd65fba58 Make split_graph_into_polylines deterministic
- There is a new argument, `Less`, that allows to sort the `std::set` of
  vertex descriptors with a deterministic sort functor.

- The header `<CGAL/Mesh_3/polylines_to_protect.h>` defines and use such
  a functor.
2016-09-29 17:41:32 +02:00
Laurent Rineau 0221c3727a Fix a typo in the doc of the internal function 2016-09-29 14:48:29 +02:00
Maxime Gimeno cf0d78da34 Use const references in the generators instead of simple references. 2016-09-28 10:59:11 +02:00
Maxime Gimeno 4754094f5f Make working tests. 2016-09-28 10:48:07 +02:00
Maxime Gimeno 8469c45336 Enhance Prevent_deref API and use it. 2016-09-28 10:48:07 +02:00
Sébastien Loriot b899dc4549 add default parameters 2016-09-28 10:46:42 +02:00
Maxime Gimeno 3eb1f4ca69 Clean-up
- Clean-up
- Moved Prevent_deref to CGAL/iterator.h
2016-09-28 10:45:46 +02:00
Sébastien Loriot e2f7efa58a clean up 2016-09-28 10:45:45 +02:00
Maxime Gimeno 35a328b1bf Move Halfedge_and_face_graph_property_maps.h to BGL. 2016-09-28 10:45:45 +02:00
Jane Tournois b475497db2 add missing graph_has_property for edge_weight_t 2016-09-22 12:10:06 +02:00
Jane Tournois 661a55f8e6 use Has_member_id where it's possible, and add missing graph_has_property structs 2016-09-22 12:10:06 +02:00
Jane Tournois d1da692ce7 add partial specializations of graph_has_property for existing internal pmaps 2016-09-22 12:05:51 +02:00
Jane Tournois c8de3e32f1 add class to check whether a class has member function id()
this function is also able to detect the id() function in
base classes, however the number of derivations is large

I will add the test `test_Has_member_id.cpp` to the BGL package to test
this functionality
2016-09-22 12:05:51 +02:00
Jane Tournois 73492e7767 add graph_has_property
a struct intended to check whether Graph has an internal property map
for the parameter tag `PropertyTag`
2016-09-22 12:05:51 +02:00
Sébastien Loriot ff1b240a37 replace assert by CGAL_assertion in CGAL code 2016-08-25 11:12:17 +02:00
Sebastien Loriot af5c8210b7 Add missing requirements 2016-07-07 14:25:29 +02:00
Sebastien Loriot fc44ee3051 Merge pull request #1180 from sloriot/BGL-fix_edge_hash
fix edge hash
2016-06-24 13:24:27 +02:00
Sébastien Loriot c3f7310355 handle default constructed edges 2016-06-16 16:47:59 +02:00
Sébastien Loriot f7090e4b71 remove debug output 2016-06-15 14:32:44 +02:00
Sébastien Loriot d94ef9467f fix the hash for edges
it returns the hash value of the smallest edge
2016-06-15 14:29:59 +02:00
Andreas Fabri 20c97edb12 The edge_weight must be the lenth, and not the squared length 2016-06-14 14:17:14 +02:00
Sebastien Loriot 40e36d41b5 Merge pull request #1138 from afabri/BGL-hash_OpenMesh-GF
Add hash_value and specialization of hash for OpenMesh
2016-06-08 14:18:29 +02:00
Andreas Fabri d84be563f8 Add hash_value and specialization of hash for OpenMesh 2016-06-06 19:10:58 +02:00
Andreas Fabri a9e8981278 Document that vertex and face type must be Hashable 2016-06-06 14:05:51 +02:00
Sebastien Loriot 64e8bbe44f Update copy_face_graph.h 2016-06-06 13:50:33 +02:00
Sébastien Loriot fc5c70f7b3 Merge remote-tracking branch 'cgal/releases/CGAL-4.8-branch' 2016-05-23 10:53:33 +02:00
Maxime Gimeno a54b648050 Fix for heap out of space 2016-05-09 10:46:43 +02:00
Laurent Rineau 5ac3473d96 Fix a "typo"?
Actually, the difference between `boost::disable_if` and
`boost::lazy_disable_if` is really important (one "dereference" of
`::type` or not). The fact is that I had not tested correctly: I had
tested only with `test/PMP`, whereas there was a compilation error in
`examples/PMP`.
2016-05-06 11:59:27 +02:00
Maxime Gimeno 91669afc36 Fix for get 2016-05-04 12:20:34 +02:00
Laurent Rineau f39805f8d6 Merge pull request #1014 from afabri/BGL_use_put_get-GF
Add using get and put to help VC++; Add a testcase
2016-04-22 15:25:03 +02:00
Andreas Fabri 0bebd2cbd0 Move the using from properties_Polyhedron.h to property_map.h 2016-04-18 11:24:45 +02:00
Andreas Fabri ca284090b2 move the using ::put to the put that VC++ has problems with 2016-04-18 09:36:16 +02:00
Andreas Fabri aace47d473 Add using get and put to help VC++; Add a testcase 2016-04-15 17:10:12 +02:00
Andreas Fabri cd367c4104 Take fix from janetournois:BGL-fix_conversion_of_boundary_halfedges-jtournois 2016-04-15 10:07:03 +02:00
Philipp Möller 72b2269958 Use Cartesian_converter for point property 2016-04-15 10:04:43 +02:00
Philipp Möller b1666cece7 Improve wording 2016-04-15 10:04:42 +02:00
Philipp Möller 4df63ef37f Specify correct concept 2016-04-15 10:04:41 +02:00
Philipp Möller 2b98567b2b Use an internal v2v as well 2016-04-15 10:04:38 +02:00
Philipp Möller d559271761 Add trickery for default template arguments 2016-04-15 10:04:36 +02:00
Philipp Möller 0fa954bc8a Use f2f argument 2016-04-15 10:04:34 +02:00
Philipp Möller e664952918 Basic documentation 2016-04-15 10:04:33 +02:00
Philipp Möller 56987c5062 Use output iterators and default them 2016-04-15 10:04:32 +02:00
Philipp Möller 6a5bf5f4ce Rename the file 2016-04-15 10:03:46 +02:00
Philipp Möller b63a2d7312 Rename convert_surface_mesh and add to doc 2016-04-15 10:02:16 +02:00
Laurent Rineau fceba01368 Merge pull request #918 from afabri/HDS-hash-GF
Add hash_value for edge_descriptor of HDS
2016-04-14 15:07:47 +02:00
Laurent Rineau 8e604f70f2 Merge modifications from 'releases/CGAL-4.8-branch'
Merges the following:

> dbb2be1 Merge pull request #983 from lrineau/Mesh_3-fix_test_meshing_3D_gray_image-lrineau
> 5dcd5c7 Merge pull request #958 from gdamiand/BGL-bugfix-gdamiand
> 869e65a CGAL-4.8 announcement
2016-04-05 11:24:19 +02:00
Guillaume Damiand c80082a574 Bug fix in add_vertex_and_face_to_border in BGL/include/CGAL/boost/graph/Euler_operations.h. 2016-04-04 11:52:02 +02:00
Laurent Rineau ae33af9222 Merge branch 'releases/CGAL-4.8-branch'
Merges the following fixes:
> 4025913 Merge pull request #949 from janetournois/BGL-fix_conversion_of_boundary_halfedges-jtournois
> 9c62628 Merge pull request #948 from janetournois/PMP-fix_assertion_isotropic_remeshing-jtournois
> f61402d Merge pull request #929 from sloriot/Polyhedron_demo-Isotropic_remeshing_preserve_duplicates

See also:

* https://github.com/CGAL/cgal/pull/949
* https://github.com/CGAL/cgal/pull/948
* https://github.com/CGAL/cgal/pull/929
2016-03-31 10:55:12 +02:00
Laurent Rineau 4025913a8e Merge pull request #949 from janetournois/BGL-fix_conversion_of_boundary_halfedges-jtournois
BGL convert_surface_mesh : convert also boundary halfedges
2016-03-31 10:54:29 +02:00
Laurent Rineau 145b3dbe77 Merge fixes to Surface_mesh and BGL from 4.8
Merge branch 'releases/CGAL-4.8-branch'. Merges:
> 0b5fa6a Merge pull request #945 from sloriot/BGL-OpenMesh_free_functions
> 681e08d Merge pull request #947 from sloriot/SM_shortest_path-fix_package_info
2016-03-29 12:01:15 +02:00
Jane Tournois 2bc034dee1 don't forget to map boundary halfedges 2016-03-25 10:55:07 +01:00
Laurent Rineau 076c982dbf Merge pull request #676 from bo0ts/BGL-document_dual-pmoeller
BGL: document Dual
2016-03-24 17:11:27 +01:00
Laurent Rineau 00e6e03d5c Merge pull request #785 from afabri/CGAL-missing_includes-GF
Partial cleanup of issue #595   Part2
2016-03-24 17:02:27 +01:00
Sébastien Loriot 0354c3913a BGL functions must be in OpenMesh namespace
this was detected by a qualified call to get for variant

(cherry picked from commit 309f91f1550be0653ffa00d59ee040cc8777d0b6)
2016-03-24 15:55:30 +01:00
Andreas Fabri b639ce8d55 Didn't take border edges into account 2016-03-22 16:04:20 +01:00
Andreas Fabri 06a1925f6f Forgot to set the halfedge of the face 2016-03-22 16:04:20 +01:00
Andreas Fabri eddb7b7dbe Add hash_value for edge_descriptor of HDS 2016-03-15 14:30:54 +01:00
Andreas Fabri beb1417477 remove unused header files; remove commented includes; changed include paths 2016-02-15 14:20:12 +01:00
Sebastien Loriot 718eae7a00 Merge pull request #714 from sgiraudot/CGAL-Fix_boost_warning_unused_typedef-GF
Fix boost warning (unused typedef)
2016-02-05 14:59:28 +01:00
Sébastien Loriot 8cee2ef1dd Merge pull request #686 from afabri/Kernel_fix-warnings-GF
Fix warnings concerning indentation and unused parameter
2016-02-03 09:49:54 +01:00
Philipp Möller 5e05cb6205 Also use Key argument
Those functions trigger a hard error when a call such as
`get<XXX>(something)` is made. Using all template arguments makes it go
away, but why this is a hard error is still baffling.
2016-02-02 17:06:49 +01:00
Philipp Möller ed17a8f57d Add free dual function 2016-02-02 16:00:31 +01:00
Philipp Möller 44fdb662b0 Add documentation for members 2016-02-02 16:00:31 +01:00
Philipp Möller 9c0cc1319e Prevent use of other vertex/face properties 2016-02-02 16:00:31 +01:00
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
Andreas Fabri 20cd22c369 Add operator[] to the point property map 2015-05-11 12:22:19 +02:00
Andreas Fabri e9766c0ffd slight change of Index_iterator::increment 2015-04-21 13:24:10 +02:00
Andreas Fabri 62700ded92 a bench for a vector 2015-04-21 12:26:50 +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
Sébastien Loriot d36593eb72 add missing const and remove debug output 2015-04-17 17:22:26 +02:00
Andreas Fabri 832208d815 simplifications 2015-04-17 15:49:21 +02:00
Andreas Fabri 0eaa9235d0 Add specializations of hash 2015-04-17 10:44:43 +02:00
Andreas Fabri 7f0bdd272d move halfedge_descriptor out of the graph_traits class 2015-04-17 10:33:22 +02:00
Andreas Fabri 205a594a77 add specializations of hash and add tests 2015-04-17 10:21:14 +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
Sébastien Loriot 317aae4b32 remove unused variable 2015-02-18 09:50:40 +01:00
Andreas Fabri fef3ec4692 use BGL named parameters 2015-02-17 20:14:59 +01:00
Jane Tournois 08e14b7af5 Merge branch 'Polygon_mesh_processing-GF' of ssh://scm.cgal.org/var/git/cgal into Polygon_mesh_processing-GF
Conflicts:
	Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/is_oriented.h
2015-02-17 12:31:07 +01:00
Jane Tournois 5ef0fd2296 remove assertion
in case v->halfedge() is null_halfedge(), the vertex() operator
crashes
2015-02-17 12:19:58 +01:00
Jane Tournois 0e02e0ed39 fix set_halfedge(face, he, g)
we should use a decorator to use this function
2015-02-17 12:18:03 +01:00
Jane Tournois 24a7f9056b add add_face(begin, end, g) 2015-02-17 12:13:49 +01:00
Jane Tournois 10b6af8461 remove add_edge(s, t), it is now in Euler_operations 2015-02-17 12:13:00 +01:00
Jane Tournois 7a89b6a2ee uncomment add_vertex, and remove add_edge, which is now in Euler_operations 2015-02-17 12:07:13 +01:00
Jane Tournois 2658576fb2 add subfunctions for previous commit 2015-02-17 11:59:59 +01:00
Jane Tournois 5cfbcb0a06 add two Euler operations :
* add_face(vertex range, g)
* add_edge(source, target, g)
2015-02-17 11:56:50 +01:00
Andreas Fabri fb5280b2aa Remove assertion in halfedge(Polyehdron_3, vertex_descriptor)
as it is wrong for an isolated vertex.
Document that add_vertex/edge/face(G&) do not initialize the connectivity
2015-02-17 11:43:23 +01:00
Sébastien Loriot 8a6f9223a1 add missing include 2015-02-16 15:41:53 +01:00
Sébastien Loriot 24c47ae95d add missing typenames 2015-02-16 14:55:14 +01:00
Andreas Fabri e155ff9a75 first version of keep_largest_connected_component 2015-02-16 12:49:40 +01:00