Commit Graph

128 Commits

Author SHA1 Message Date
Sébastien Loriot c697c2086f handle triangles attached by non-manifold vertices 2019-01-16 15:24:57 +01:00
Laurent Rineau 0ec8873a37 Merge pull request #3538 from maxGimeno/BGL-Fix_add_face-GF
BGL: Fix Euler::add_face()
2018-12-19 16:01:14 +01:00
Maxime Gimeno 51f8877e60 Replace the assertion about n>2 by a if 2018-12-13 09:31:35 +01:00
Maxime Gimeno 31b68de8b2 use std::copy and adjacent_find 2018-12-13 09:31:28 +01:00
Maxime Gimeno 266fee1c4c Check for uniqueness of the vertices in add_face 2018-12-13 09:31:10 +01:00
Sébastien Loriot e474d61fa7 handle the case of degenerate volumes in the link condition
a volume is degenerate if it consists only of twice the same face
with opposite orientation
2018-09-04 10:09:08 +02:00
Maxime Gimeno b18f5e5546 Fix warning. 2018-06-05 09:30:58 +02:00
Sébastien Loriot 13cb7d250c make the function collapsing edges with constraints always keep the target 2018-05-29 16:17:41 +02:00
Sébastien Loriot 1f1c97050b move code swapping vertices in an internal helper function 2018-05-29 15:59:55 +02:00
Sébastien Loriot acf969560d try improving phrasing 2018-05-29 15:59:54 +02:00
Maxime Gimeno 127b0c68d5 Fix doc 2018-05-29 15:59:54 +02:00
Maxime Gimeno 0b2436d062 Clean-up after review 2018-05-29 15:59:54 +02:00
Sébastien Loriot 4e580a6450 update documentation 2018-05-29 15:59:10 +02:00
Sébastien Loriot 0695f30c17 always preserve q at collapse by swapping p and q if q is of degree 2
the advantage is that we have an easy way to document which
halfedges are removed
2018-05-29 15:59:10 +02:00
Maxime Gimeno 5586622829 Update doc for edge_collapse 2018-05-29 15:59:10 +02:00
Maxime Gimeno f1724b3f4c Make collapse_edge always keep the target vertex. 2018-05-29 15:58:19 +02:00
Maxime Gimeno 132cf694a0 remove is_valid() from the graph_traits 2018-05-03 12:03:14 +02:00
Laurent Rineau d57df10832 Merge pull request #2991 from afabri/BGL-fix_add_vertex_and_face_to_border-GF
Fix Euler::add_vertex_and_face_to_border()
2018-04-24 17:33:13 +02:00
Andreas Fabri 0eb502cad1 Fix Euler::add_vertex_and_face_to_border() 2018-04-06 10:38:15 +01:00
Sébastien Loriot 0698f79aff add SPDX identifier for files under the LGPL-3+ license 2017-11-12 10:17:50 +01: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
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
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
Andreas Fabri 1e2ff1131e assert -> CGAL_assertion 2015-08-27 16:51:55 +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
Sébastien Loriot c616df7196 Merge branch 'old/Polygon_mesh_processing-GF' into Polygon_mesh_processing-GF
Conflicts:
	Documentation/biblio/cgal_manual.bib
	Installation/changes.html
2015-07-13 08:16:59 +02:00
Sébastien Loriot e4277165c6 make an assertion tagged as expensive 2015-07-08 11:44:10 +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
Jane Tournois bab9c51189 fix documentation 2015-06-25 11:49:35 +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
Sébastien Loriot eec0d93a2f move function before it is used 2015-03-12 14:04:35 +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
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 5cfbcb0a06 add two Euler operations :
* add_face(vertex range, g)
* add_edge(source, target, g)
2015-02-17 11:56:50 +01:00
Sébastien Loriot 8a6f9223a1 add missing include 2015-02-16 15:41:53 +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 9ea03ca315 prevent internal namespaces to be documented
trivial bugfix for master
2015-02-13 16:03:23 +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 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 bab97f92a3 WIP: it compiles but crashes for Surface_mesh 2015-01-13 18:47:36 +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
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 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 65a176d0e7 update license 2014-07-04 17:24:06 +02:00
Andreas Fabri 6546468092 polish doc 2014-07-02 17:43:01 +02:00
Andreas Fabri 80c8fec9e2 Add test and fixes of add_vertex_and_face_to_border 2014-07-02 12:55:32 +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 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 f7dd91c556 png -> svg 2014-06-27 12:49:51 +02:00
Andreas Fabri 11b078a969 png -> svg 2014-06-26 23:25:17 +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 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 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 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 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 3ad8f65d28 small fixes 2014-05-22 10:36:50 +02:00