Sébastien Loriot
460f49d64f
move code to swap edges in a function
2018-05-29 15:59:55 +02:00
Sébastien Loriot
1f1c97050b
move code swapping vertices in an internal helper function
2018-05-29 15:59:55 +02:00
Maxime Gimeno
d3c874bd83
Add some info about what a valid graph is.
2018-05-03 12:03:15 +02:00
Maxime Gimeno
4c309c4564
Fix doc
2018-05-03 12:03:15 +02:00
Maxime Gimeno
a45ac9e470
Split is_valid_polygon_mesh into 3 : adding is_valid_halfedge_graph() and is_valid_face_graph()
2018-05-03 12:03:14 +02:00
Maxime Gimeno
9ec26cdccd
WIP : Split is_valid_polygon_mesh into 3 functions.
2018-05-03 12:03:14 +02:00
Maxime Gimeno
fd7def35c7
remove useless rule in doc
2018-05-03 12:03:14 +02:00
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