Commit Graph

122 Commits

Author SHA1 Message Date
Maxime Gimeno 3d39a78838 typo 2018-05-03 12:03:14 +02:00
Maxime Gimeno c68c188286 Add definition of polygonmesh validity 2018-05-03 12:03:14 +02:00
Maxime Gimeno b1b8e71b44 Remove unused typedef 2018-05-03 12:03:14 +02:00
Maxime Gimeno 132cf694a0 remove is_valid() from the graph_traits 2018-05-03 12:03:14 +02:00
Maxime Gimeno 153bc0c76a Fixes 2018-05-03 12:03:14 +02:00
Maxime Gimeno 0cc59505b6 add some doc 2018-05-03 12:03:14 +02:00
Maxime Gimeno 6dfa8d0ba3 replace CGAL_is_valid(Mesh) by CGAL::is_valid_polygon_mesh(Mesh) 2018-05-03 12:03:14 +02:00
Laurent Rineau 77e461d1f6 Merge pull request #2976 from maxGimeno/BGL-Fix_make_icosahedron-GF
BGL: fix orientation of make_icosahedron()
2018-04-06 17:23:58 +02:00
Maxime Gimeno 2f60d87b65 Replace cw by clockwise 2018-04-03 14:03:55 +02:00
Maxime Gimeno ed3a7af1c9 document cw orientation 2018-04-03 10:40:57 +02:00
Maxime Gimeno 9eb63c64e1 Orient icosahedron CW to fit the orientation of other helpers. 2018-04-03 10:36:22 +02:00
Laurent Rineau 42b11ddf29 Revert the merge of PR #2478
This reverts the merge commit 46cc91e787 onto
488c3e2879.
2018-01-04 17:54:08 +01:00
Sébastien Loriot 0698f79aff add SPDX identifier for files under the LGPL-3+ license 2017-11-12 10:17:50 +01:00
Maxime Gimeno 9381041e18 Doc fixes and enhancement 2017-08-02 11:16:44 +02:00
Maxime Gimeno f1a3ea95a3 Add face selection expansion to the selection_plugin 2017-08-02 11:14:32 +02:00
Maxime Gimeno 8460df09c3 Add a function to make a removal of faces manifold. 2017-08-02 11:14:32 +02:00
Laurent Rineau c5224829fc Merge branch 'master' into Polyhedron_demo-Volume_generator-GF 2017-06-30 17:27:06 +02:00
Maxime Gimeno 6fff279f7a Fixes:
- Warning
 - orientation
 - Plugin pictures
2017-06-26 10:59:11 +02:00
Maxime Gimeno 90e647f0c2 Fix doc 2017-06-26 10:59:11 +02:00
Maxime Gimeno 40f0fb65ac Document `i` and `j` in make_grid() 2017-06-26 10:59:11 +02:00
Maxime Gimeno 38c297bc66 Fix grid generation 2017-06-26 10:59:11 +02:00
Maxime Gimeno 515645ec8b Use creator_uniform_3 as default functor for grid and use facegraph_mode for Polyhedron/SM choice in plugin. 2017-06-26 10:59:11 +02:00
Maxime Gimeno 4b59f50d24 Enhance doc 2017-06-26 10:59:10 +02:00
Maxime Gimeno cf2ecfb232 make_grid takes the number of cells instead of the number of vertices and specify that it is row major ordered. 2017-06-26 10:59:10 +02:00
Maxime Gimeno 502b1fb089 Silent warnings 2017-06-26 10:59:10 +02:00
Maxime Gimeno 814b1ae782 Add the grid generation to the plugin. 2017-06-26 10:59:10 +02:00
Maxime Gimeno c8d4385e40 Add tests for new helper functions and a grid generator 2017-06-26 10:59:10 +02:00
Maxime Gimeno 4bd7c04819 Fixes and Enhancements of the plugin, and make the center of the prism the center of its lower base. 2017-06-26 10:59:10 +02:00
Maxime Gimeno 9bb88d9fe2 Fix doc of old make_... functions 2017-06-26 10:59:10 +02:00
Maxime Gimeno 045dc942cd Fix doc 2017-06-26 10:59:10 +02:00
Maxime Gimeno a8178c1474 Make the helper functions return a halfedge and specify th efirst point of the base in the pyramid and the prism in the doc. 2017-06-26 10:59:10 +02:00
Maxime Gimeno 3f72bfc8ba Changes :
- change types in the functions parameters
- make the tetrahedron based on the unit vectors
- add a function to create a pyramid
- add assertions to protect the numbers of vertices
- move the functions to BGL::helpers.h and add documentation
2017-06-26 10:59:10 +02:00
Jane Tournois 105b275768 use boost::empty 2017-06-26 10:17:59 +02:00
Jane Tournois 6cc02867d0 add functionality to make mesh_3_plugin
it is now able to mesh surfaces with border inside a closed polyhedral domain

`empty()` yields an ambiguity with the function available in Interval_traits.h,
so we need to rename `empty()` to `is_empty()`
2017-06-22 16:17:24 +02:00
Jane Tournois 0c0177e432 add empty() helper function in BGL 2017-06-20 17:33:03 +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
Andreas Fabri c8bc628c90 WIP: make the selection plugin work for Surface_mesh 2017-05-29 13:20:33 +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
Sébastien Loriot 6926578b15 add reserve to MutableFaceGraph 2017-01-18 18:19:25 +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 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
Andreas Fabri cbcfbc0259 Remove typedefs; put make_quad for vertices in namespace internal 2016-12-23 16:28:50 +01:00
Andreas Fabri 98b5ae02f7 reorient make_hexahedron 2016-12-09 15:16:39 +01:00
Andreas Fabri a32e75646f reorient make_tetrahedron 2016-12-09 12:49:06 +01:00
Andreas Fabri 3fc151b0dd polish, e.g. P -> pm 2016-11-30 10:32:40 +01:00
Laurent Rineau eb21f2ed3b Fix a compilation error 2016-09-30 19:52:20 +02:00
Philipp Möller 7cf791fa0f Improve documentation to mention clear 2016-01-08 14:48:28 +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
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
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
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
Jane Tournois f5c9d9fce5 fix is_valid_polygon_mesh 2015-05-15 12:02:02 +02:00
Andreas Fabri 09ea32096d Add generic is_valid_polygon_mesh() to BGL Helpers 2015-05-15 10:52:31 +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
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 020d2ff054 Add documentation of helper functions 2015-03-17 18:41:14 +01:00
Andreas Fabri 4355794781 iterator_range moved the package 2014-11-12 14:40:51 +01:00
Sébastien Loriot 8bf04d7909 fix compilation issues 2014-09-09 16:50:55 +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 65a176d0e7 update license 2014-07-04 17:24:06 +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 cf84eb22dc Add global functions such as is_pure_quad(FaceGraph) 2014-06-10 15:58:48 +02:00