Commit Graph

377 Commits

Author SHA1 Message Date
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
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 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
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 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 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 4b3f88bab6 add assertion 2014-12-23 13:51:09 +01:00
Laurent Rineau 350a95b7e6 Fix the license header of a file 2014-12-18 11:31:23 +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
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
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
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 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 10a5d629aa fix type 2014-12-02 17:50:13 +01:00
Andreas Fabri 3df4841b83 fix type 2014-12-02 17:07:02 +01:00
Andreas Fabri eaf7214844 The split function takes care of parallel edges and self loops 2014-12-02 16:11:11 +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 4ad6156645 uncomment in/out_edge_iterator. No idea why it was commented 2014-11-25 12:32:54 +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 c943497763 Add split_graph_into_polylines and example 2014-11-03 13:07:50 +01: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 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
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
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 a158d13647 initial version of Surface_mesh package 2014-07-15 12:08:51 +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 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 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 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 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 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 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 3ff711c799 handle properties of const Polyhedron 2014-06-24 16:36:18 +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 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 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 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
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
Laurent Rineau 1564f7bca7 Fix license in two BGL headers
The package BGL is released under LGPLv3+ and not GPLv3+.
2014-02-06 18:36:10 +01:00
Sébastien Loriot 0c14664977 Add a is-constrained edge map without using it for now 2014-01-29 19:04:55 +01:00
Sébastien Loriot ee3ce8985f fix the way the specialization of graph_traits are documentated 2013-12-03 12:03:00 +01:00
Andreas Fabri 5c454cec64 add missing includes 2013-09-13 12:43:01 +02:00
Sébastien Loriot c900eabfcd iterators in HDS and Triangulations are bi-directional 2013-06-28 16:28:34 +02:00
Andreas Fabri 950e858555 remove unused parameters 2013-03-12 09:50:46 +01:00
Philipp Möller 4c75c1a88d Implement compatibility between bgl_named_parameters for BOOST_VERSION >= 10510
The implementation of cgal_bgl_named_params (ab)uses internals of
bgl_named_params. Those internals have been changed/removed in Boost
1.51 and I have added another implementation that (ab)uses the new
internals.
2012-10-22 16:28:46 +00:00
Philipp Möller d0c07c51b4 remove duplicated const
Follow-up to r73108
2012-10-22 09:53:28 +00:00
Philipp Möller 6276e88020 Add partial specializations for property_map that match const template arguments.
This shouldn't be necessary, because it should never be called with
const arguments, but this works around a BGL bug. Those changes don't
fix the issues with the dijkstra example, as that would require adding
partial specializations for boost::filtered_graph, which would be a
little over the top.
2012-10-19 15:42:52 +00:00
Philipp Möller 8f1ce2412c Removed all places where the CGAL_CFG_NO_TMPL_IN_TMPL work-around was
used. Those were mostly in Polyhedron and HalfedgeDS but some places
in Arrangement_2 used it, too. Neither of the parts of Arrangement_2
have been documented.
2012-04-13 13:13:30 +00:00
Sébastien Loriot 91a5327fa8 change LGPLv2 -> LGPLv3 2011-10-10 13:48:25 +00:00
Laurent Rineau 369498d1e5 Cancel revision 64607. There had been a problem with the branch.
| ------------------------------------------------------------------------
  | r64607 | efif | 2011-07-05 17:27:04 +0200 (Tue, 05 Jul 2011) | 1 line
  | 
  | Merged feature-branch Aos_2-new_functors-tau into next
  | ------------------------------------------------------------------------
2011-07-06 11:11:58 +00:00
Andreas Fabri 1fc49d2927 next_edge_{cw,ccw} circulate around the target of the edge. Therefore we also have to refine the concept BidirectionalGraph 2011-06-11 19:46:15 +00:00
Andreas Fabri 0264f4e2f9 int -> size_t 2010-06-25 08:19:41 +00:00
Sébastien Loriot 52317dd49f add python script (replace_CGAL_NAMESPACE.py) to replace CGAL_BEGIN_NAMESPACE and CGAL_END_NAMESPACE
by namespace CGAL { and } //namespace CGAL. in all .h and .cpp files
in a directory.
Apply it to all packages in the trunk
Remove macro definition from the config.h file.
2010-06-09 07:37:13 +00:00
Laurent Rineau 838932c7ba More a function definition before its first use, so that it is declared
before its first use.
2010-05-21 17:01:26 +00:00
Laurent Rineau a01063fb02 Merged revisions 54354,54363,54365,54380,54389-54390 via svnmerge from
svn+ssh://lrineau@scm.gforge.inria.fr/svn/cgal/branches/CGAL-3.6-branch

........
  r54354 | lrineau | 2010-03-01 09:23:05 +0100 (Mon, 01 Mar 2010) | 2 lines
  
  Missing word!
........
  r54363 | lrineau | 2010-03-01 11:35:39 +0100 (Mon, 01 Mar 2010) | 3 lines
  
  Fix the issue with <boost/property_map.hpp>
  <CGAL/property_map.h> checks for the Boost version.
........
  r54365 | lrineau | 2010-03-01 14:01:18 +0100 (Mon, 01 Mar 2010) | 2 lines
  
  Let's prepare CGAl-3.6 finale version, now.
........
  r54380 | penarand | 2010-03-01 17:07:43 +0100 (Mon, 01 Mar 2010) | 3 lines
  
  replaced macros reported by check_macro_names script
........
  r54389 | lrineau | 2010-03-02 11:43:47 +0100 (Tue, 02 Mar 2010) | 3 lines
  
  http://doc.qt.nokia.com/latest/ is the permanent URL to latest Qt version
  documentation.
........
  r54390 | lrineau | 2010-03-02 11:44:44 +0100 (Tue, 02 Mar 2010) | 2 lines
  
  qpl.html no longer exists since Qt-4.4!
........
2010-03-02 15:21:52 +00:00
Andreas Fabri 13a4a0c908 The edge weight should be FT and not double 2009-09-02 13:09:06 +00:00
Fernando Cacciola 572c2e9301 Fix in halfedge_graph_traits to work-around BGL const-correctness flaw. 2008-05-21 17:13:31 +00:00
Fernando Cacciola 7af5138e14 Fix hack for non-const correct BGL 2008-04-01 16:15:55 +00:00
Andreas Fabri 0d3c086525 hack graph traits of polyhedron to cope with non-constcorrect BGL 2007-09-20 14:10:09 +00:00