Commit Graph

703 Commits

Author SHA1 Message Date
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 e354de8493 char* -> const char* 2015-04-20 11:14:12 +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
Sébastien Loriot 1c7234bd43 add missing doc of set_halfedgeds_items_id 2015-04-17 15:09:42 +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 89529f2bd1 typo 2015-04-15 17:55:42 +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 bdee3347c9 add null_halfedge to HalfedgeGraph concept 2015-03-12 14:27:35 +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
Andreas Fabri af0800bb45 CGAL_USE a variable 2015-02-18 11:11:11 +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
Sébastien Loriot ad744ee6bb fix typename position 2015-02-16 11:57:49 +01:00
Sébastien Loriot 837be0b84f fix of 10c08719 2015-02-16 11:54:32 +01:00
Sébastien Loriot 13296e6887 Merge branch 'old/Polygon_mesh_processing-GF' into Polygon_mesh_processing-GF 2015-02-16 11:48:29 +01:00
Sébastien Loriot e2d0d44f3c add missing typename's 2015-02-16 11:26:28 +01:00
Sébastien Loriot 68d15e165a Merge branch 'local/Polyhedron_demo-better_selection_offset'
Improve the facet selection process in the demo plugin
  by using the vertex incidence instead of the edge incidence.
  First step toward simpler the code

  Tested in CGAL-4.6-Ic-126
  Approved by the release manager
2015-02-16 10:23:31 +01:00
Andreas Fabri 92e3482da4 Add high level function connected_component which uses boost::connected_component 2015-02-13 16:58:02 +01:00
Sébastien Loriot 9ea03ca315 prevent internal namespaces to be documented
trivial bugfix for master
2015-02-13 16:03:23 +01:00
Andreas Fabri cc953a0ac7 remove warning in example, and improve output 2015-02-12 15:40:44 +01:00
Andreas Fabri 0d67ba64df improve example for connected_components of a graph and its dual 2015-02-12 15:34:05 +01:00
Andreas Fabri a41f54cc54 Add property map for Dual<> 2015-02-12 11:14:57 +01:00
Andreas Fabri b538707892 Add a Dual<Graph> class 2015-02-11 18:33:23 +01:00
Andreas Fabri dc0687dc26 Use iterator_adaptor instead derivation from transform_iterator
With transform iterator we would have to rewrite operator++
as it does not return the derived class.
This led to a compilation bug when using connected_components.
2015-02-11 17:24:08 +01:00
Andreas Fabri 1c51cc7832 Improve doc of Face_around_face_circulator
Approved by the release manager (SL, interim)
2015-02-11 10:03:53 +01:00
Sébastien Loriot c4e57be3d9 add function to dilate and erode selection on a HalfedgeGraph or FaceGraph 2015-02-11 09:53:42 +01:00
Sébastien Loriot eeae2f392a Merge branch 'local/Remove_condition_on_CGAL_version' into Polygon_mesh_processing-GF 2015-02-05 14:47:56 +01:00
Andreas Fabri 84663476e5 iterating around a face works also for the border == null_face()
Approved by the release manager (SL, interim)
2015-02-04 10:08:59 +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 567a557930 fix links 2015-01-29 10:04:03 +01:00
Sébastien Loriot e0af32ceb2 int -> degree_size_t 2015-01-21 09:15:51 +01:00
Sébastien Loriot 97c00a797d report isolated vertices 2015-01-20 19:51:21 +01:00
Sébastien Loriot bebc80a739 use BOOST_FOREACH 2015-01-20 19:51:21 +01:00
Sébastien Loriot bb26d0f049 add a call to the visitor when ending a polyline 2015-01-20 19:51:21 +01:00
Sébastien Loriot ee07b6990a add another overload to avoid specify the IsTerminal functor 2015-01-20 19:51:20 +01:00
Andreas Fabri baca4ca5b7 Add Euler::fill_hole() 2015-01-20 18:42:54 +01:00
Sébastien Loriot 4d0b730f62 add missing typename 2015-01-19 10:35:08 +01:00
Andreas Fabri 657e6326d7 Add make_tetrahedron 2015-01-19 10:23:52 +01:00
Andreas Fabri 2e77240b3c the index type is boost::uint32_t 2015-01-15 15:10:02 +01:00
Andreas Fabri e5d759f508 Add Surface_mesh as model of the new BGL graph concepts 2015-01-14 15:41:09 +01:00
Andreas Fabri bab97f92a3 WIP: it compiles but crashes for Surface_mesh 2015-01-13 18:47:36 +01:00
Andreas Fabri 6e36a853a9 Merge branch 'Surface_mesh-new_package-GF'
Approved by the release manager
Conflicts:
	Documentation/doc/Documentation/dependencies
	Documentation/resources/how_to_cite_cgal.bib.in
	Installation/changes.html
2015-01-12 11:27:35 +01:00
Andreas Fabri dc797a7036 use numeric_cast, as abs does not change the return type 2015-01-08 09:38:41 +01:00
Andreas Fabri 6ce17b3460 chmod -x 2015-01-07 18:44:05 +01:00
Andreas Fabri 81a6431baa fix license header 2015-01-07 18:28:19 +01:00
Andreas Fabri ecd2404cee Remove a const as ICC warns about it 2015-01-01 19:39:47 +01:00
Andreas Fabri 471396d821 change Surface_mesh::size_type to unsigned int 2014-12-31 12:38:10 +01:00
Andreas Fabri be632d39f5 use the size type of the graph 2014-12-29 14:47:14 +01:00
Andreas Fabri 8fac52527d use size_type of the graph in the edge property map class instead of std::size_t 2014-12-29 12:55:43 +01:00
Sébastien Loriot 4865943ea0 add missing example 2014-12-23 17:30:53 +01:00
Andreas Fabri 49d6495d62 Merge branch 'Surface_mesh-new_package-GF' of ssh://scm.cgal.org/var/git/cgal into Surface_mesh-new_package-GF 2014-12-23 15:00:56 +01:00
Andreas Fabri 3a75fb45a0 iterator_range -> Iterator_range 2014-12-23 14:25:29 +01:00
Andreas Fabri 28dc50fdfc point property map must be passed as argument 2014-12-23 14:24:51 +01:00
Sébastien Loriot 4b3f88bab6 add assertion 2014-12-23 13:51:09 +01:00
Andreas Fabri 18b5b312f9 do not use the boost testing framework 2014-12-18 20:32:50 +01:00
Laurent Rineau 350a95b7e6 Fix the license header of a file 2014-12-18 11:31:23 +01:00
Sébastien Loriot 7e0b5a3fe6 skip comments while reading off files 2014-12-18 08:42:49 +01:00
Andreas Fabri e0007b0564 remove free functions for proprty handling s this is not mature yet 2014-12-18 08:26:03 +01:00
Andreas Fabri 2ccc5e5b59 clean up example of face_graph.cpp 2014-12-18 08:26:00 +01:00
Andreas Fabri 9f6807b005 Add Tds_2::collapse_edge() 2014-12-18 08:25:57 +01:00
Laurent Rineau 057924e1d4 Merge remote-tracking branch 'origin/releases/CGAL-4.5-branch'
That merges the following:
  | commit 5dbfeec3ae
  | Merge: fc407cf 5b9be0f
  | Author: Sébastien Loriot <sebastien.loriot@cgal.org>
  | Date:   Fri Dec 12 15:29:51 2014 +0100
  |
  |     Merge branch 'BSO_2-fix_kernel_conflict-local' into releases/CGAL-4.5-branch
  |
  |     Tested in CGAL-4.5.1-Ic-171
  |
  | commit fc407cfebf
  | Merge: bd2c6f8 0c6153c
  | Author: Laurent Rineau <laurent.rineau@cgal.org>
  | Date:   Mon Dec 1 17:38:48 2014 +0100
  |
  |     Merge branch 'Mesh_3-fix_with_time_stamps-GF' into releases/CGAL-4.5-branch
  |
  |     Bug-fix in Mesh_3 with time stamps.
  |
  |     Tested in CGAL-4.5.1-Ic-168.
  |     Approved by the Release Manager.
  |
  | commit bd2c6f890f
  | Merge: ad53e42 c904f77
  | Author: Laurent Rineau <laurent.rineau@cgal.org>
  | Date:   Fri Nov 28 12:04:55 2014 +0100
  |
  |     Merge branch BGL-make_property_map_lightweight-For_4.5_bugfix-GF' into releases/CGAL-4.5-branch
  |
  |     Bug fix: a property map was not lightweight.
  |
  |     Tested in CGAL-4.5.1-Ic-167.
  |     Approved by the Release Manager.
  |
  | commit ad53e42fb3
  | Merge: 044660e b281d86
  | Author: Laurent Rineau <laurent.rineau@cgal.org>
  | Date:   Fri Nov 28 12:03:30 2014 +0100
  |
  |     Merge remote-tracking branch 'remotes/origin/BGL-fix_example-GF' into releases/CGAL-4.5-branch
  |
  |     Fix the example examples/BGL_triangulation_2/emst.cpp:
  |     the filtered (finite) triangulation was not used.
  |
  |     Tested in CGAL-4.5.1-Ic-167.
  |     Approved by the Release Manager.
  |
  | commit 044660eb48
  | Merge: a096cdf 4464116
  | Author: Laurent Rineau <laurent.rineau@cgal.org>
  | Date:   Fri Nov 28 12:01:50 2014 +0100
  |
  |     Merge branch 'CGAL-fix_sse2_mingw-lrineau' into releases/CGAL-4.5-branch
  |
  |     Fix the SSE macros when MinGW is used.
  |
  |     Tested in CGAL-4.5.1-Ic-167.
  |     Approved by the Release Manager.

Tested in CGAL-4.6-Ic-79.
2014-12-17 17:05:01 +01:00
Sébastien Loriot 12a9027ed9 Merge remote-tracking branch 'origin/BG-split_graph_into_polylines-GF'
The extract polyhedron boundary now extract maximal polylines from
  the set of boundary edges. End point are vertices of degree != 2
  For convenience the function used to build these maximal polylines
  is put into include/CGAL/boost/graph/split_graph_into_polylines.h

Tested in 4.6-Ic-76
Approved by the release manager
2014-12-16 11:40:11 +01:00
Sébastien Loriot eaedcd3724 move file to test 2014-12-11 18:56:59 +01:00
Andreas Fabri 705cb65c1c Fix sm_bgl.cpp I am not yet lucky with the API, as member functions return a pair 2014-12-11 09:12:34 +01:00
Andreas Fabri 46fe0501b8 add .sm_do_intersect.cmd file and data 2014-12-10 20:32:47 +01:00
Sébastien Loriot ad1954afc4 fix warnings and compilation issues 2014-12-10 17:34:51 +01:00
Andreas Fabri 036c0c0231 iterator_range.h -> Iterator_range.h 2014-12-10 15:23:13 +01:00
Andreas Fabri 43e967a72e remove property map after use 2014-12-10 15:18:25 +01:00
Andreas Fabri 3ba095eb97 Add data and .cmd files 2014-12-09 15:18:25 +01:00
Andreas Fabri f597b12c37 simplify the example 2014-12-08 22:04:56 +01:00
Andreas Fabri facbc98636 Add documentation about the BGL API of Surface_mesh 2014-12-08 21:35:42 +01:00
Andreas Fabri dac3ce14e0 int -> size_t to remove a warning 2014-12-04 14:29:41 +01:00
Andreas Fabri 9dfce2bdcf add input files 2014-12-03 19:23:58 +01:00
Andreas Fabri ca2c8a79e1 fix typo 2014-12-03 19:18:30 +01:00
Andreas Fabri 1606841d22 wording in a comment 2014-12-03 17:04:30 +01:00
Andreas Fabri 6e8a9a6432 remove trailing whitespace 2014-12-03 11:48:44 +01:00
Andreas Fabri 4a20dded24 Only copy vertices which are not isolated 2014-12-03 09:30:52 +01:00
Andreas Fabri 11a5ffd5ed isolated vertices may have degree==0 in the assertion 2014-12-03 09:30:52 +01:00
Sébastien Loriot bba0e8ce05 remove warning 2014-12-02 19:52:38 +01:00
Andreas Fabri bc56c90adb simplify example 2014-12-02 17:50:35 +01:00
Andreas Fabri 10a5d629aa fix type 2014-12-02 17:50:13 +01:00
Andreas Fabri 3ef7ce079f Add an example that extracts the border of a Polyhedron_3 2014-12-02 17:10:34 +01:00
Andreas Fabri 3df4841b83 fix type 2014-12-02 17:07:02 +01:00
Andreas Fabri 26fe9a82d6 Polyline is used by Microsoft 2014-12-02 16:33:24 +01:00
Andreas Fabri eaf7214844 The split function takes care of parallel edges and self loops 2014-12-02 16:11:11 +01:00
Laurent Rineau bd2c6f890f Merge branch BGL-make_property_map_lightweight-For_4.5_bugfix-GF' into releases/CGAL-4.5-branch
Bug fix: a property map was not lightweight.

Tested in CGAL-4.5.1-Ic-167.
Approved by the Release Manager.
2014-11-28 12:04:55 +01:00
Andreas Fabri 4933d8d52c Swith to Iterator_range 2014-11-27 08:39:32 +01:00
Andreas Fabri 637734f9de Swith to Iterator_range 2014-11-26 17:53:13 +01:00
Andreas Fabri 7fa28d6d2a Swith to Iterator_range 2014-11-26 17:47:46 +01:00
Andreas Fabri 901c3829d0 add tests 2014-11-26 11:06:31 +01:00
Andreas Fabri 4ad6156645 uncomment in/out_edge_iterator. No idea why it was commented 2014-11-25 12:32:54 +01:00
Andreas Fabri b281d86414 We must run kruskal on the filtered graph to ignore the infinite vertex 2014-11-24 16:55:59 +01:00
Andreas Fabri 419d332bfe Add more BGL functions for Triangulation_2; errouneously try to do simplification 2014-11-21 18:45:24 +01:00
Andreas Fabri c904f77e13 Use a shared_ptr in order to make the property map lightweight 2014-11-21 12:50:35 +01:00
Andreas Fabri 6899d73e71 Use vertex_around_target (and add halfedge(vertex_descriptor) 2014-11-20 21:10:38 +01:00
Andreas Fabri 3e6a99b327 Add property map for vertex_point_t 2014-11-20 17:30:44 +01:00
Andreas Fabri 42a1c49066 The class Triangulation_2 (but neither TDS2 nor DT_2) should now be a model of FaceListGraph (but not Mutable) 2014-11-20 15:39:56 +01:00
Andreas Fabri 8ab546b25f move the functions from namespace boost to CGAL as they should be found with Koenig lookup 2014-11-20 11:56:51 +01:00
Andreas Fabri 2005988c4c Add halfedge_descriptor, halfedge(FD), face(HD) 2014-11-19 15:35:17 +01:00
Andreas Fabri 0eccab2cce Add face_descriptor/iterator and faces() 2014-11-19 15:13:07 +01:00
Andreas Fabri 4355794781 iterator_range moved the package 2014-11-12 14:40:51 +01:00
Andreas Fabri 8927faef43 Do not insert zero length or duplicate edges 2014-11-06 09:08:53 +01:00
Andreas Fabri c943497763 Add split_graph_into_polylines and example 2014-11-03 13:07:50 +01:00
Laurent Rineau c5aeb89b68 Merge remote-tracking branch 'origin/BGL_doc_fixes-GF'
Fix the documentation in BGL.

Fix a typo in a function name.

Approved by the Release Manager.
2014-11-03 12:39:24 +01:00
Andreas Fabri 15bfc64808 We must run kruskal on the filtered graph to ignore the infinite vertex
Approved by the release manager
2014-10-24 11:30:16 +02:00
Andreas Fabri d91f2deaff safisfies_link_condition() -> satisfies_link_condition() in code/doc/test
Add doxygen for collapse_edge() with an EdgeIsConstrainedMap
2014-10-21 10:17:34 +02:00
Andreas Fabri 293c5c51ba code follows manual and compiles again 2014-10-06 16:42:08 +02:00
Andreas Fabri 34a9d85575 adress some remarks of the reviews 2014-10-06 12:44:24 +02:00
Andreas Fabri b70d6d60fc iterator_range -> Iterator_range 2014-10-03 17:13:26 +02:00
Andreas Fabri 1979820571 cleanup 2014-10-01 12:27:20 +02:00
Andreas Fabri 8e83b04cb5 move iterator_range.h from BGL to STL_Extension 2014-10-01 09:37:11 +02:00
Andreas Fabri 8dfbe2eba4 Remove class Range again, and put functionality into iterator_range 2014-10-01 09:36:10 +02:00
Sébastien Loriot f87046546e remove duplicated class with name clashing with a macro in X11/X.h 2014-09-30 11:11:19 +02:00
Andreas Fabri 08a033ffb4 Integrate remarks from the review by Michael and Guillaume.
Switch from pair of iterators to a range class
2014-09-26 16:53:37 +02:00
Sébastien Loriot 8bf04d7909 fix compilation issues 2014-09-09 16:50:55 +02:00
Andreas Fabri 89617acce6 Add graph_traits_Surface_mesh 2014-09-09 16:26:35 +02:00
Sébastien Loriot 494f558a7a Merge branch 'BGL-fix_split_edge-local'
Tested in CGAL-4.5-Ic-106

Approved by the release manager (interim)
2014-07-28 09:13:49 +02:00
Sébastien Loriot ba8fd0d603 fix typo
trivial bugfix for master
2014-07-28 09:10:13 +02:00
Andreas Fabri 8d7cc0cf6f fixes in the doxygen comments
Approved by the release manager
2014-07-27 17:48:01 +02:00
Andreas Fabri d754b9f31e Replace sans by Arial in svg files 2014-07-27 17:47:43 +02:00
Sébastien Loriot 2b6fa0076a Merge branch 'BGL-fix_halfedge_edge_is_border_pmap-sloriot'
Tested in CGAL-4.5-Ic-105

Approved by the (interim) release manager
2014-07-24 20:41:06 +02:00
Sébastien Loriot f7cad6db65 bug in the doc of Polyhedron_3::split_edge inducing a bug in Euler::split_edge 2014-07-24 13:26:36 +02:00
Sébastien Loriot 483ff9acb1 fix warning
trivial bugfix for master
2014-07-24 10:08:36 +02:00
Sébastien Loriot d77d9797e4 fix unused variable warnings
trivial bugfix for master
2014-07-23 08:53:15 +02:00
Sébastien Loriot cdec3d6414 make the edge_descriptor of Polyhedron hashable 2014-07-23 08:20:16 +02:00
Sébastien Loriot 5c6b54257a the XXX_is_border properties are removed + add missing replacement functions 2014-07-22 12:00:15 +02:00
Sébastien Loriot 0b8314e28d the notion of border for a halfedge is not encoded using a property map 2014-07-21 22:30:14 +02:00
Sébastien Loriot bc8e1f399d workaround a bug in dijsktra algorithm in boost 1.54 affecting normal estimation 2014-07-19 12:20:29 +02:00
Sébastien Loriot 8b7af3a397 vector_property_map include is done by CGAL/property_map.h 2014-07-19 11:36:33 +02:00
Sébastien Loriot a158d13647 initial version of Surface_mesh package 2014-07-15 12:08:51 +02:00
Sébastien Loriot 5fce0d89f2 remove non-needed conversion operator (because of inheritance)
trivial bug-fix for master
2014-07-09 23:54:52 +02:00
Sébastien Loriot 1d1c99d2f6 remove a file copied from boost that is not used 2014-07-04 17:24:06 +02:00
Sébastien Loriot cd88dc010b remove extra include directives 2014-07-04 17:24:06 +02:00
Sébastien Loriot 0a5a986fbd prefix macros with CGAL_ 2014-07-04 17:24:06 +02:00
Sébastien Loriot 65a176d0e7 update license 2014-07-04 17:24:06 +02:00
Sébastien Loriot ec9c796552 remove exe flag 2014-07-04 17:24:06 +02:00
Sébastien Loriot 5f4813b64d properties_Polyhedron_3.h is now included by graph_traits_Polyhedron_3.h 2014-07-04 17:24:05 +02:00
Sébastien Loriot 947fa97639 remove non-needed include directive 2014-07-04 11:14:31 +02:00
Sébastien Loriot 03c7223873 remove extra ; 2014-07-03 17:13:22 +02:00
Sébastien Loriot f3dd6472e6 fix typos
(cherry picked from commit 5ed924261c)
2014-07-03 12:27:30 +02:00
Sébastien Loriot 64a893c8fc remove warning about a unused type in release mode 2014-07-03 11:04:08 +02:00
Andreas Fabri c726cedbbb As BOOST_NO_CXX11_RANGE_BASED_FOR has been introduced with Boost 1.51
we need a CGAL macro
2014-07-03 09:24:20 +02:00
Andreas Fabri 6546468092 polish doc 2014-07-02 17:43:01 +02:00
Andreas Fabri f08a65d914 cleanup 2014-07-02 17:42:37 +02:00
Andreas Fabri 3bd0fb9c86 Add bool verbose to is_valid(G) 2014-07-02 12:55:32 +02:00
Andreas Fabri 80c8fec9e2 Add test and fixes of add_vertex_and_face_to_border 2014-07-02 12:55:32 +02:00
Sébastien Loriot 589144aff8 add assertions to prevent using a default initialized property map 2014-07-02 10:42:55 +02:00
Andreas Fabri 31cbcd5544 less warnings 2014-07-01 14:45:28 +02:00
Andreas Fabri e0eafe352c add the code of add_vertex_and_face_to_border 2014-07-01 14:33:09 +02:00
Andreas Fabri 56825335fa include CGAL/property_map.h instead of rhe boost file 2014-06-29 16:41:46 +02:00
Andreas Fabri 09535e6078 remove #include that is not used 2014-06-29 16:41:03 +02:00
Andreas Fabri b301c88982 polish 2014-06-27 17:37:08 +02:00
Andreas Fabri 8f4e02a39a last png -> svg 2014-06-27 16:16:35 +02:00
Andreas Fabri 00d89a8ded removed unused typedefs 2014-06-27 15:49:21 +02:00
Andreas Fabri 1201fd9885 Use CGAL_USE_TYPE to avoid warnings 2014-06-27 15:29:24 +02:00
Andreas Fabri d11cac3e94 remove unused typedefs 2014-06-27 15:11:39 +02:00
Andreas Fabri 3252e8557f add missing typename 2014-06-27 12:50:24 +02:00
Andreas Fabri f7dd91c556 png -> svg 2014-06-27 12:49:51 +02:00
Andreas Fabri 25ae87571b fix openmesh testsuite 2014-06-26 23:25:18 +02:00
Andreas Fabri 11b078a969 png -> svg 2014-06-26 23:25:17 +02:00
Sébastien Loriot b01091dbac fix typos 2014-06-25 21:14:24 +02:00
Andreas Fabri cbd8af7690 go back to the classical testsuite 2014-06-25 18:11:14 +02:00
Sébastien Loriot a374556e48 typo 2014-06-25 15:13:38 +02:00
Andreas Fabri b18acb6097 fix example 2014-06-24 18:33:42 +02:00
Andreas Fabri f644ff649a now the testsuite works on Windows (on my machine) 2014-06-24 18:16:25 +02:00
Sébastien Loriot 3ff711c799 handle properties of const Polyhedron 2014-06-24 16:36:18 +02:00
Andreas Fabri 55d9d30f26 Use the non-header only version of the boost test framework 2014-06-20 15:14:06 +02:00
Andreas Fabri 99f082bd2e first svgs replacing pngs 2014-06-20 13:47:07 +02:00
Andreas Fabri 659da042cc bug fix, read file argv[1], is_border instead of border_map 2014-06-20 10:32:21 +02:00
Andreas Fabri 9a28ba0ca9 Add implementation and first test for satisfies_link_condition 2014-06-19 18:46:23 +02:00
Andreas Fabri 5da08ce426 #include <ifstream> 2014-06-19 08:57:57 +02:00
Andreas Fabri 689e5ef4a6 add a typename 2014-06-19 08:49:33 +02:00
Andreas Fabri e7b0528ff8 Add a CGAL::iterator_range 2014-06-18 13:17:43 +02:00
Andreas Fabri ded507212d Add a CGAL::iterator_range 2014-06-13 12:29:18 +02:00
Andreas Fabri 9170b0a866 use argc/argv to pass the argument 2014-06-13 09:51:31 +02:00
Andreas Fabri f531ee2fa9 include property_map header file wrapper 2014-06-13 08:54:43 +02:00
Andreas Fabri 9ae02cf59f fix graph_traits and halfedge_graph_traits for Polyhedron 2014-06-12 09:10:08 +02:00
Andreas Fabri 144d206a75 cleanup of the helper files, and a partial fix of the slicer (which will be red in the testsuite) 2014-06-11 18:16:58 +02:00
Andreas Fabri 3a940e4fb5 Document halfedge_graph_traits as deprecated 2014-06-11 16:01:10 +02:00
Andreas Fabri c837839cb9 no set_constant_vertex_is_border 2014-06-11 15:29:14 +02:00
Andreas Fabri 285271c09d handwritten CMakeList.txt as we check for OpenMesh 2014-06-11 15:28:18 +02:00
Andreas Fabri 313db67d8c revive halfedge_graph_traits 2014-06-11 15:15:10 +02:00
Andreas Fabri bbf70667bd bug fix 2014-06-11 12:37:04 +02:00
Andreas Fabri 9787964e99 include the wrapper file CGAL/property_map 2014-06-11 09:58:03 +02:00
Andreas Fabri 074c6aab2e read from a file so that the testsuite passes 2014-06-11 09:51:54 +02:00
Andreas Fabri d6ad6fd6d9 remove constant_vertex_is_border 2014-06-11 09:34:38 +02:00
Andreas Fabri cf84eb22dc Add global functions such as is_pure_quad(FaceGraph) 2014-06-10 15:58:48 +02:00
Andreas Fabri d92d0cef84 Use CGAL points even for OpenMesh 2014-06-10 15:26:06 +02:00
Sébastien Loriot 98bc19fee1 argument were mixed up 2014-06-06 09:21:30 +02:00
Andreas Fabri 84208ee628 constness problems with CGAL::Polyhedron_3. The problem with edges(G) persists :< 2014-06-05 16:12:03 +02:00
Andreas Fabri 3d7d596e6b Use vertex_point property map so that it now also compiled with OpenMesh 2014-06-05 15:29:49 +02:00
Andreas Fabri 2425bba8a5 The OpenMesh example shows at the same time how to wrap the OpenMesh properties 2014-06-04 16:14:04 +02:00
Andreas Fabri 51990f53e3 Remove border property map and switch from halfedge to edge constraints.
The latter has a bug as edge_constrain_sharp_edges removed constrained edges
2014-06-04 13:03:31 +02:00
Andreas Fabri afe2c7b4f3 bug fix: const correctness 2014-06-03 09:18:13 +02:00
Andreas Fabri 7b4464a812 Add free function 2014-06-03 09:16:31 +02:00
Andreas Fabri d98231f7e3 move assertion 2014-06-03 09:15:46 +02:00
Andreas Fabri 223b188f03 Add is_valid(G) 2014-05-30 15:24:51 +02:00
Andreas Fabri a5d19e9147 fix bugs in collapse_edge. Unfortunately there are still others, therefore an #if 0 2014-05-28 14:17:41 +02:00
Andreas Fabri 91bbc88c86 bugfix 2014-05-28 12:15:58 +02:00
Andreas Fabri ae75e031c8 Add convenience functions for iterating/circulating around a vertex 2014-05-28 12:12:22 +02:00
Andreas Fabri c753fc97ff add Euler::collapse_edge taking into account constrained edges 2014-05-28 11:46:24 +02:00
Andreas Fabri a26b6ef84c #if 0 the low level implementation of collapse_edge as it has a bug 2014-05-28 10:30:36 +02:00
Andreas Fabri c552dce7c6 first pass to switch to the BFL API 2014-05-27 16:02:42 +02:00
Andreas Fabri d1736fa1e8 revive deprecated files 2014-05-22 13:12:58 +02:00
Andreas Fabri 23fd3a791a undo 2014-05-22 13:07:24 +02:00
Andreas Fabri b1b4b05fe6 changes such that the testsuite compiles 2014-05-22 12:21:29 +02:00
Andreas Fabri 3ad8f65d28 small fixes 2014-05-22 10:36:50 +02:00
Sébastien Loriot d45d1a1070 Merge branch 'Surface_mesh_simplification-preserve_constrained_edges_bug_fix-sloriot'
bug-fix: preserve edges marked as non-removable
 See Features/Small_Features/SMS_with_constrained

 Tested in CGAL-4.4-Ic-119 and CGAL-4.4-Ic-120

Conflicts:
	Installation/changes.html
2014-02-14 08:02:15 +01:00