Maxime Gimeno
6638d51fe8
- Unify the Facegraph builders (GOCAD and STL for now)
...
- Make a BGL STL_reader
- Add a test for it.
2019-08-09 13:53:33 +02:00
Maxime Gimeno
6dbf2d3d78
Move STL bgl writer into BGL, and replace it by a soup writer in Stream_support.
...
Write a SS test for read and write soups in STL
2019-08-09 12:09:20 +02:00
Maxime Gimeno
88b5d1916a
some fixes in write_vtp and add read_vtp in BGL
2019-08-08 15:35:23 +02:00
Maxime Gimeno
ebbe8571ee
Move GOCAD's IO BGL code to BGL.
2019-08-08 11:46:10 +02:00
Sebastien Loriot
aca05d36fa
Merge pull request #4119 from sloriot/CGAL-named_function_parameters-5.0
...
Named function parameters (5.0)
2019-08-08 10:10:45 +02:00
Sébastien Loriot
25a05e9f4c
Merge branch 'CGAL-named_function_parameters-4.14' into master
...
Conflicts resolved by hand
2019-07-28 23:46:43 +02:00
Sébastien Loriot
aa47744c36
update the usage for the new CGAL named function parameters
2019-07-28 22:30:17 +02:00
Sébastien Loriot
2f81a21523
Merge 'CGAL-named_function_parameters' for 4.13-branch into 4.14-branch
...
Conflicts resolved by hand
2019-07-28 22:30:13 +02:00
Necip Yildiran
c482d356d7
Merging with OpenGR_wrapper, further documentation
...
Merging with OpenGR_wrapper branch of remote https://github.com/necipfazil/cgal/
2019-07-26 14:18:27 +03:00
Simon Giraudot
475e9fdec6
Update with reviews
2019-07-25 09:16:16 +02:00
Mael Rouxel-Labbé
ae44cf3ff9
Do not return a const& for Named Parameters' default values
...
Since 'd' is in general some default constructed value, things can get weird,
for example with default constructed std::function
2019-07-23 11:58:21 +02:00
Simon Giraudot
c06c778ca9
Move MaxFlow back to segmentation and fix documentation
2019-07-23 09:21:20 +02:00
Simon Giraudot
497c121e55
Finalize API of alpha expansion + doc
2019-07-23 08:43:17 +02:00
Necip Yildiran
23eb9768fa
Take initial transform for data point set as opt. namedparam to icp regist. method
2019-07-19 23:58:12 +03:00
Necip Yildiran
dbc173d04c
changed namedparameters, convenience overloads for pointmatcher::icp
2019-07-19 11:35:12 +03:00
Sébastien Loriot
8ca71ec60c
doc fixes
2019-07-18 20:41:49 +02:00
Sébastien Loriot
c411ae69d0
Merge pull request #2951 from kkatrio/PMP-smoothing-kkatrio
...
PMP: Mesh and shape smoothing
2019-07-18 16:49:05 +02:00
Sébastien Loriot
1f8065c6c3
Merge pull request #3885 from MaelRL/PMP-Locate-GF
...
PMP: Add locate.h and rewrite Triangulation_2 graph traits
2019-07-18 16:40:49 +02:00
Necip Yildiran
a87cc959d4
added named parameters for pointmatcher icp config
...
Using CGAL::pointmatcher::ICP_config, config (name,params) could be passed to registration method through named parameters. Having pointmatcher style (name,params) pair as ICP_config allows to use extended pointmatcher configurations without needing to change wrapper implementation.
2019-07-17 17:14:17 +03:00
Sébastien Loriot
adff92f8f8
missing namespace
2019-07-15 08:49:12 +02:00
Sébastien Loriot
560c77f567
rename named function parameter class
2019-07-15 06:25:02 +02:00
Sébastien Loriot
cebf0657d8
Use a full CGAL version of named function parameters
...
no longer rely on boost
2019-07-14 22:45:47 +02:00
Mael
47c247ae72
Merge branch 'master' into PMP-smoothing-kkatrio
2019-07-10 15:36:25 +02:00
Laurent Rineau
8051ff5c5e
Merge branch 'releases/CGAL-4.13-branch' into releases/CGAL-4.14-branch
2019-07-10 13:36:31 +02:00
Mael Rouxel-Labbé
a4fc736001
Merge branch 'BGL-Tiny_is_valid_fix-GF' into BGL-Tiny_is_valid_fix-GF-5.0
2019-07-04 14:00:30 +02:00
Mael Rouxel-Labbé
43a08f5303
Give in to the 'goto' censorship bureau's pressures
2019-07-04 13:47:57 +02:00
Mael Rouxel-Labbé
2592d6b0bd
Fix is_valid_pm verbosity
...
Some error messages were not printed. Some messages were printed too much
(since as soon as 'valid' was wrong, everything below was printed, even
if the test was not actually failing).
2019-07-04 09:04:28 +02:00
Sébastien Loriot
2e4881dcbd
add a helper indicating from the types if a named parameter contains a given parameter
2019-06-26 12:05:19 +02:00
Sébastien Loriot
956d02109d
add a new named parameter to pass a map of non-manifold features
2019-06-26 12:05:19 +02:00
Sébastien Loriot
b536b8a232
use non-manifold edges map to filter intersection of edges and faces
2019-06-26 12:04:03 +02:00
Simon Giraudot
927474eecd
Modify named parameters and begin ref manual
2019-06-26 11:31:02 +02:00
Sébastien Loriot
d36aa97573
add named parameters for OpenGR options
2019-06-26 11:29:41 +02:00
Mael Rouxel-Labbé
0d1759e996
Merge branch 'PMP-smoothing-kkatrio-old' into PMP-smoothing-kkatrio
2019-06-20 15:02:32 +02:00
Mael Rouxel-Labbé
7a5486962d
Merge branch 'PMP-Locate-GF-old' into PMP-Locate-GF
2019-06-20 14:49:25 +02:00
Mael Rouxel-Labbé
77711e4e71
Merge branch 'PMP-smoothing-kkatrio-old' into PMP-smoothing-kkatrio
2019-06-19 11:34:48 +02:00
Mael Rouxel-Labbé
22bd8a943b
Merge smooth_areas and smooth_angles, rework AABB tree, document everything
2019-06-18 16:02:42 +02:00
Mael Rouxel-Labbé
7f6cb0411c
Merge branch 'PMP-Locate-GF-old' into PMP-Locate-GF
2019-06-18 08:20:16 +02:00
Mael Rouxel-Labbé
19de8eda04
Merge branch 'PMP-Generalize_keep_largest_CC-GF-old' into PMP-Generalize_keep_largest_CC-GF
2019-06-17 15:18:33 +02:00
Laurent Rineau
be0d07d150
Merge pull request #3979 from afabri/CGAL-null_ptr-GF
...
Replace NULL and Nullptr_t with nullptr and nullptr_t
2019-06-17 14:10:35 +02:00
Laurent Rineau
96912aaa20
Merge branch 'releases/CGAL-4.14-branch'
2019-06-17 13:53:42 +02:00
Laurent Rineau
377d707dfe
Merge pull request #3996 from sloriot/BGL-split_fix_fct_pos
...
Put declaration before the call to the function
2019-06-17 13:51:31 +02:00
Sébastien Loriot
d6fe7d485a
add declaration before usage
2019-06-13 07:44:58 +02:00
Mael Rouxel-Labbé
6c4d873338
Get rid of the explicit curvature flow smoothing scheme
...
It's just worse all the time anyway
2019-06-07 10:27:21 +02:00
Andreas Fabri
4581f1b7a8
Morte replacements
2019-06-05 08:39:55 +02:00
Mael Rouxel-Labbé
6e3f2c3510
Factorize smoothers and clean obsolete code
2019-05-29 15:59:50 +02:00
Mael Rouxel-Labbé
ea7885e348
Add new named parameter: use_safety_constraints
...
Used in PMP::smooth_areas() / PMP::smooth_angles()
2019-05-24 13:32:18 +02:00
Mael Rouxel-Labbé
2848158354
Fix typos
2019-05-20 08:54:04 +02:00
Mael Rouxel-Labbé
a120290675
Merge branch 'PMP-smoothing-kkatrio-old' into PMP-smoothing-kkatrio
2019-05-15 14:31:00 +02:00
Mael
c53e7e2c68
Merge branch 'master' into PMP-Locate-GF
2019-05-15 07:59:52 +02:00
Laurent Rineau
90782d4b7f
Revert the merge of two pull-requests that target CGAL-4.14-branch
...
- Revert "Merge pull request #3857 from MaelRL/CGAL-Fix_duplicate_non_manifold_vertices-GF"
- Revert "Merge pull request #3898 from lrineau/Mesh_3-stop_during_protection-lrineau"
2019-05-14 17:50:45 +02:00
Laurent Rineau
423c4fbd11
Merge pull request #3266 from MaelRL/PMP-Snap_boundary-GF
...
PMP: boundary snapping
2019-05-14 16:48:00 +02:00
Laurent Rineau
b7bb3f74ac
Merge pull request #3858 from MaelRL/BGL-Fix_is_valid_polygon_mesh-GF
...
BGL: Fix is_valid_polygon_mesh not breaking away from potential infinite loops
2019-05-14 16:26:19 +02:00
Laurent Rineau
8e872081fc
Merge pull request #3898 from lrineau/Mesh_3-stop_during_protection-lrineau
...
Mesh_3 `Protect_edges_sizing_field`: handle the `stop` Boolean
# Conflicts:
# .travis/build_package.sh
# Installation/cmake/modules/CGALConfig_binary.cmake.in
# Installation/cmake/modules/CGALConfig_install.cmake.in
# Installation/cmake/modules/CGAL_SetupCGAL_CoreDependencies.cmake
# Installation/lib/cmake/CGAL/CGALConfig.cmake
# Polygon_mesh_processing/include/CGAL/Polygon_mesh_slicer.h
# Polyhedron/demo/Polyhedron/Plugins/Classification/CMakeLists.txt
# Polyhedron/demo/Polyhedron/Plugins/Mesh_3/CMakeLists.txt
2019-05-14 16:18:24 +02:00
Laurent Rineau
d5b2621076
Merge pull request #3858 from MaelRL/BGL-Fix_is_valid_polygon_mesh-GF
...
BGL: Fix is_valid_polygon_mesh not breaking away from potential infinite loops
2019-05-14 16:15:29 +02:00
Mael Rouxel-Labbé
0528592011
Fix cyclical header dependencies
2019-05-10 12:41:01 +02:00
Mael Rouxel-Labbé
1e9ca61fba
Doc fixes
2019-05-10 11:45:49 +02:00
Mael Rouxel-Labbé
408ebbb784
Dependency fixes
2019-05-10 11:44:58 +02:00
Mael Rouxel-Labbé
75f9c7798e
Add a forward declaration
2019-05-09 08:06:10 +02:00
Mael Rouxel-Labbé
d4ad35b136
Resolve conflicts between 4.13 branch and master
2019-05-09 07:56:38 +02:00
Mael Rouxel-Labbé
9664d8f774
Whether coordinate snapping is used or not is now a named parameter
2019-05-08 18:20:32 +02:00
Mael Rouxel-Labbé
f14f9ce447
Move some functions from PMP to BGL
2019-05-08 16:05:26 +02:00
Mael Rouxel-Labbé
9e8524c29e
Rename BGL/polyhedra.h to BGL/generators.h
2019-05-08 15:16:25 +02:00
Mael Rouxel-Labbé
1e21492b9e
Extract polyhedron genetion functions from helpers.h into a new header
2019-05-08 14:37:03 +02:00
Mael
21ebdb737c
Merge branch 'master' into PMP-Snap_boundary-GF
2019-05-06 15:53:56 +02:00
Laurent Rineau
d466ea50cd
Merge pull request #3884 from MaelRL/BGL-Fix_FFG_master-GF
...
BGL: Fix `Face_filtered_graph`'s `is_selection_valid()` (5.0)
2019-05-06 15:30:33 +02:00
Laurent Rineau
c9beac61ca
Merge pull request #3862 from MaelRL/BGL-Fix_is_valid_selection-GF
...
BGL: Fix `Face_filtered_graph`'s `is_selection_valid()`
2019-05-06 15:02:10 +02:00
Mael Rouxel-Labbé
af142c7416
Add new named parameter: face_size_map
...
Used to pass custom maps to keep_large(st)_CCs
2019-05-06 09:00:09 +02:00
Mael Rouxel-Labbé
ccf98605ab
Fix Face_filtered_graph::is_selection_valid() (master)
2019-04-26 09:20:36 +02:00
Sébastien Loriot
564a6c72f4
Merge remote-tracking branch 'cgal/releases/CGAL-4.14-branch'
2019-04-23 10:46:32 +02:00
Mael Rouxel-Labbé
6ed5f5d064
Fixed CGAL::Face_filtered_graph::is_selection_valid()
...
The walk was wrong:
hd = next(opposite(hd, _graph), _graph);
does not walk around the target.
It also didn't properly test all types of non-manifoldness
2019-04-18 11:26:54 +02:00
Mael Rouxel-Labbé
c8767d3487
Fixed is_valid_polygon_mesh() (and family) not breaking away from invalid loops
...
also reduced verbosity and improved indentation
2019-04-17 16:32:05 +02:00
Sébastien Loriot
bd955e57d3
fix conversion warnings
2019-04-10 14:28:35 +02:00
Sébastien Loriot
9c39f2260f
add calls to reserve before creating meshes
2019-04-02 21:54:30 +02:00
Sébastien Loriot
0ce7fc09b5
turns iterator pairs into iterable ranges
2019-03-29 13:28:22 +01:00
Sébastien Loriot
d60f5645aa
replace BOOST_FOREACH by c++ ranged-based for loop
...
some of the command used for the replacement:
ack --cpp BOOST_FOREACH -l | xargs sed -i -E "s/BOOST_FOREACH\(([a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack --cpp BOOST_FOREACH -l | xargs sed -i -E "s/BOOST_FOREACH\((const [a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack --cpp BOOST_FOREACH -l | xargs sed -i -E "s/BOOST_FOREACH\((const typename [a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack --cpp BOOST_FOREACH -l | xargs sed -i -E "s/BOOST_FOREACH\((typename [<>a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack "boost/foreach.hpp" -l --cpp | xargs sed -i '/boost\/foreach.hpp>/d'
2019-03-29 13:22:15 +01:00
Laurent Rineau
fc81d3bfec
Merge pull request #3780 from afabri/CGAL-links-GF
...
Some Documentation Fixes for Issue #3457
2019-03-27 18:05:17 +01:00
Laurent Rineau
0d5009e582
Merge branch 'releases/CGAL-4.13-branch'
2019-03-26 16:43:41 +01:00
Laurent Rineau
0aa49e3549
Merge pull request #3783 from afabri/BGL_add_seams-GF
...
BGL: Seam_mesh::add_seams() requires .selection.txt
2019-03-26 16:42:59 +01:00
Mael
f1dceb79ee
fix typo
2019-03-20 11:43:33 +01:00
Andreas Fabri
d31f685a0b
polish
2019-03-20 11:42:06 +01:00
Andreas Fabri
a9c3f9bc6c
BGL: Seam_mesh::add_seams() requires .selection.txt
2019-03-20 11:34:21 +01:00
Andreas Fabri
a472c24185
http:/www.boost.org -> https://www.bost.org
2019-03-20 08:59:22 +01:00
Laurent Rineau
69fad29842
Merge branch 'releases/CGAL-4.13-branch'
2019-02-28 20:49:15 +01:00
Laurent Rineau
b22f210fd4
Merge branch 'releases/CGAL-4.12-branch' into releases/CGAL-4.13-branch
2019-02-28 20:48:05 +01:00
Sébastien Loriot
5ee640be6c
add missing function required by the concept
2019-02-26 09:11:07 +01:00
Laurent Rineau
8693f95dac
Merge pull request #3619 from albert-github/feature/bug_headers
...
Update of headers
2019-02-22 16:39:09 +01:00
Andreas Fabri
84e118266d
BGL: Return Iterator_range instead of std::pair
2019-02-20 11:44:20 +01:00
Sébastien Loriot
a5576cd3fb
replace markdown subsections by \cgalHeading
2019-02-14 10:53:48 +01:00
Laurent Rineau
fdd8357915
Merge pull request #3580 from afabri/Stream_support-Color-GF
...
Fix warnings (Add/remove copy constructors, and other warnings)
Co-authored-by: Laurent Rineau <laurent.rineau@cgal.org>
Co-authored-by: Mael <mael.rouxel.labbe@geometryfactory.com>
Co-authored-by: Maxime GIMENO <maxime.gimeno@gmail.com>
2019-02-13 15:25:07 +00:00
Laurent Rineau
afc3de2894
Merge branch 'master' into Stream_support-Color-GF
2019-01-23 09:37:08 +01:00
Laurent Rineau
c9164a0660
Merge branch 'master' into Stream_support-Dont_use_vtk_for_vtu-GF
2019-01-22 12:06:08 +01:00
Laurent Rineau
f5a8686cf3
Merge pull request #3439 from aboudev/VSA-lingjie
...
New package: Surface_mesh_approximation
2019-01-22 09:17:35 +01:00
Laurent Rineau
28e520b121
Merge pull request #3594 from sloriot/PMP-remove_null_edges_on_border
...
Null edges removal fix on the border
2019-01-22 09:15:08 +01:00
Sébastien Loriot
eadb08d976
replace mode by a np
2019-01-17 16:03:48 +01:00
Laurent Rineau
40cf3869ba
My changes for write_vtp
2019-01-16 16:15:01 +01:00
Sébastien Loriot
c5cef4ce06
handle triangles attached by non-manifold vertices
...
cherry-picking of c697c2086f
2019-01-16 15:29:44 +01:00
Sébastien Loriot
c697c2086f
handle triangles attached by non-manifold vertices
2019-01-16 15:24:57 +01:00
Andreas Fabri
53816ffc2c
Fix Seam_mesh
2019-01-15 17:59:03 +01:00
Maxime Gimeno
2a49dfcb05
Fix conflict
2019-01-11 09:47:34 +01:00
Andreas Fabri
cd6bf144fe
Simplify Seam_mesh
2019-01-10 13:54:16 +01:00
Laurent Rineau
c9fb876574
Merge branch 'master' into VSA-lingjie
2019-01-10 10:13:09 +01:00
Andreas Fabri
608c5c6ac8
Fix Seam_mesh and Dispatch_output_iterator
2019-01-09 17:43:45 +01:00
Simon Giraudot
0396dd1118
Patch to improve normal orientation using user-defined seed points
2019-01-04 14:34:56 +01:00
Sébastien Loriot
551be55235
Merge remote-tracking branch 'cgal/releases/CGAL-4.13-branch'
2018-12-31 10:29:57 +01:00
Mael Rouxel-Labbé
2c6e9c2b70
Fixed memory leaks in partition code
2018-12-20 15:57:51 +01:00
Laurent Rineau
57b2fbdbfb
Merge pull request #3485 from afabri/BGL-write_wrl-GF
...
BGL: Add write_wrl() for FaceGraph
2018-12-19 16:12:26 +01:00
Laurent Rineau
4bf2499b52
Merge pull request #3512 from maxGimeno/BGL-Fix_make_hexahedron_API-GF
...
Fix make_hexahedron doc
2018-12-19 16:08:58 +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
Laurent Rineau
eb51562fe9
Merge pull request #3538 from maxGimeno/BGL-Fix_add_face-GF
...
BGL: Fix Euler::add_face()
2018-12-19 15:45:45 +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
Maxime Gimeno
629b41e69d
Remove garbage
2018-12-05 16:33:44 +01:00
Maxime Gimeno
b04523f8c3
add images to doc
2018-12-04 13:27:02 +01:00
Maxime Gimeno
20899df7a7
Make the hexahedron creation clearer and fix examples and tests
2018-12-04 11:46:48 +01:00
Laurent Rineau
eb1d7ecd68
Merge pull request #3480 from afabri/patch-3
...
BGL: Fix doc of Face_filtered_graph
2018-12-01 16:31:11 +01:00
Laurent Rineau
c137f9f252
Merge pull request #3476 from sloriot/BGL_PSP-fix_getK_helper
...
Fix in PSP named parameters
2018-12-01 16:31:09 +01:00
Sébastien Loriot
7bf5cff4cf
accomodate update from master
2018-11-30 15:32:34 +08:00
Sébastien Loriot
cb4c3b47cf
fix back-ticking
2018-11-29 14:53:21 +01:00
Andreas Fabri
c570e86661
Removed unused typedef; Added to CHANGES.md
2018-11-29 08:12:26 +01:00
Andreas Fabri
5f007da461
Remove unused variables
2018-11-28 07:56:14 +01:00
Andreas Fabri
7ac3dcd63b
Add write_wrl() for FaceGraph
2018-11-27 10:04:32 +01:00
Andreas Fabri
eb688df5e0
BGL: Fix doc of Face_filtered_graph
...
Fix typo in documentation.
2018-11-26 15:00:07 +01:00
Sébastien Loriot
75aca45157
do no ignore user provided traits
2018-11-24 18:40:15 +01:00
Mael
49033c14ad
Merge branch 'master' into PMP-Snap_boundary-GF
2018-11-13 22:38:58 +01:00
Andreas Fabri
5b62f06871
Fix merge conflicts
2018-11-12 13:02:52 +01:00
Sébastien Loriot
4dd6526022
Merge remote-tracking branch 'cgal/releases/CGAL-4.13-branch'
2018-11-08 17:21:29 +01:00
Sébastien Loriot
20b8205952
Merge remote-tracking branch 'cgal/releases/CGAL-4.12-branch' into HEAD
2018-11-08 17:21:00 +01:00
Sebastien Loriot
d718870772
Merge pull request #3426 from maxGimeno/BGL-Fix_make_grid_doc-GF
...
BGL: Fix make_grid() documentation
2018-11-08 16:17:04 +01:00
Balázs Ludmány
5d35c33316
Fix type missmatch in adjacent_vertices
...
The adjacent_vertices uses the wrong iterator type in it's body. This commit changes it to the same as the function's return type.
2018-11-06 07:47:11 +01:00
Sébastien Loriot
6b8a36ba0c
update clipping code for surface case and use Face_graph_output_builder
...
This fixes a bug when a patch with no input vertex must be
classified wrt the clipper
2018-11-05 16:26:33 +01:00
Maxime Gimeno
b7d546eebb
Remove ifdef
2018-11-05 14:02:39 +01:00
Maxime Gimeno
e4f5455d2f
Use the default
2018-11-05 13:57:22 +01:00
Maxime Gimeno
7f14d79292
Fix doc and only use 2 arguments in functor
2018-11-05 11:12:37 +01:00
Maxime Gimeno
985f34202d
Adds missing information in the doc of make_grid and adds the 3rd argument of the functor.
2018-11-05 11:12:25 +01:00
Sébastien Loriot
d940632471
Merge pull request #3258 from MaelRL/PMP-Filter_degenerate_polygon_soup_input-GF
...
PMP: repair polygon soup
2018-11-02 10:37:58 +01:00
Sébastien Loriot
056c778305
Merge pull request #3370 from maxGimeno/AABB_tree-Change_facegraph_triangle_primitive_id-GF
...
Aabb_tree: change the id of AABB_face_graph_triangle_primitive and AABB_halfedge_graph_segment_primitive
2018-11-02 10:34:26 +01:00
Sébastien Loriot
cdbe19b480
Merge pull request #3369 from maxGimeno/AABB_tree-AABB_transformed_traits-GF
...
[Small Feature] Add collision detection in PMP
2018-10-30 15:49:38 +01:00
Laurent Rineau
aba922e2d4
Merge pull request #3395 from sloriot/BGL-selection_issue
...
Fix selection issue with boundary vertices
# Conflicts:
# BGL/test/BGL/test_Manifold_face_removal.cpp
2018-10-29 10:42:21 +01:00
Laurent Rineau
821f9c015e
Merge pull request #3311 from sloriot/Doc-Pkg_link_name
...
Update the name of package names reference links
2018-10-29 10:27:53 +01:00
Laurent Rineau
2721f9a35b
Merge pull request #3395 from sloriot/BGL-selection_issue
...
Fix selection issue with boundary vertices
2018-10-29 10:27:15 +01:00
Sébastien Loriot
915c3e7fec
use a vector for dynamic properties of const Surface_mesh
...
also done for OpenMesh types
2018-10-25 17:05:21 +02:00
Sébastien Loriot
53a5bbbedc
add named parameters to export error codes and nesting info
2018-10-19 23:05:13 +02:00
Sébastien Loriot
8c10366486
add named parameters for orientation and SI tests
2018-10-12 19:17:54 +02:00
Sébastien Loriot
8b6a2b8aef
fix issue with boundary vertices
2018-10-11 14:30:49 +02:00
Sébastien Loriot
eb8e5e5b35
change the Id in the base class + update pmaps to handle also pairs
2018-10-09 14:15:26 +02:00
Sébastien Loriot
bfa9844b1a
make default vpm of mesh convertible to default vpm of const mesh
2018-10-09 10:28:45 +02:00
Mael Rouxel-Labbé
d18e21cfe7
Merge branch 'PMP-Filter_degenerate_polygon_soup_input-GF-old' into PMP-Filter_degenerate_polygon_soup_input-GF
2018-10-08 16:19:26 +02:00
Sébastien Loriot
a2e8a1c68f
add the suffix Ref to doxygen link to reference
2018-10-08 10:26:56 +02:00
Mael Rouxel-Labbé
1676cd7405
Merge branch 'repair_functions-old' into repair_functions
2018-09-17 15:10:39 +02:00
Laurent Rineau
3686015045
Merge pull request #3310 from sloriot/BGL_SMS-fix_link_condition
...
Handle the case of degenerate volumes in the link condition
2018-09-17 11:36:37 +02:00
Sébastien Loriot
376bc42716
update URL and use https
2018-09-04 13:29:51 +02: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
Mael Rouxel-Labbé
ab9b0479b3
Removed unnecessary 'do_' in named parameters
2018-08-17 15:32:26 +02:00
Mael Rouxel-Labbé
46bd7dc832
Merge branch 'PMP-Filter_degenerate_polygon_soup_input-GF-old' into PMP-Filter_degenerate_polygon_soup_input-GF
2018-08-03 09:34:15 +02:00
Mael Rouxel-Labbé
0aabaf3025
Added some functions to snap mesh borders onto another mesh
2018-08-01 08:44:30 +02:00
Mael Rouxel-Labbé
5a8d6c67e8
Merge branch 'repair_functions-old' into repair_functions
2018-07-30 15:53:37 +02:00
Mael Rouxel-Labbé
4e31832136
Added a function to detect and merge duplicate faces
2018-07-30 13:08:16 +02:00
Laurent Rineau
f3b9d03ccf
Merge pull request #3234 from sloriot/BGL-fix_copy_fg_with_garbage
...
Fix copy_face_graph with target mesh having garbage
2018-07-26 17:31:15 +02:00
Mael Rouxel-Labbé
16a9bc4d7c
Fixed some links / concepts related to sgi.com and cppreference
2018-07-26 16:27:58 +02:00
Sébastien Loriot
b0d012fe01
Merge pull request #3243 from sloriot/BGL-clear_fix
...
Fix CGAL::clear
2018-07-25 18:56:39 +02:00
Sébastien Loriot
c8c1c11c9c
Merge pull request #3234 from sloriot/BGL-fix_copy_fg_with_garbage
...
Fix copy_face_graph with target mesh having garbage
2018-07-25 18:55:26 +02:00
Mael Rouxel-Labbé
072b2376b8
Merge branch 'repair_functions-old' into repair_functions
2018-07-23 17:59:43 +02:00
Sébastien Loriot
e5ec40abe9
use itself as next instead of null_halfedge
...
some models might call set_prev on null_halfedge
2018-07-19 18:23:01 +02:00
Sébastien Loriot
0561f62d43
simplify patch
2018-07-19 18:03:15 +02:00
Sébastien Loriot
f0605c818c
do not remove element you iterate on
...
+ as for std::vector, clear() does not always imply a change of capacity
2018-07-19 10:58:27 +02:00
Sébastien Loriot
869f1c01b0
init next pointer we rely on in the algorithm
2018-07-17 09:56:47 +02:00
Laurent Rineau
87715e3342
Merge pull request #3224 from sloriot/BGL-fix_getGT
...
Fix GetGeomTraits
2018-07-16 11:12:53 +02:00
Sébastien Loriot
080b2a70d1
we should also check whether a vertex point map was given as parameter
2018-07-11 16:52:36 +02:00
Konstantinos Katrioplas
032ee2828a
named parameters for duplicate non-manifold vertices
2018-07-03 15:38:57 +02:00
Konstantinos Katrioplas
903df8106a
corrections after the review
2018-07-03 15:37:20 +02:00
Maxime Gimeno
e961746dd3
fix make_functor and doc.
2018-07-03 11:47:52 +02:00
Sébastien Loriot
b66ffa3df1
fix merge issues
2018-07-02 10:37:57 +02:00
konstantinos katrioplas
9901ed78ef
Merge branch 'master' into PMP-smoothing
2018-07-01 20:07:19 +03:00
Maxime Gimeno
a584af827b
Fix Conflicts
2018-06-29 18:21:24 +02:00
Laurent Rineau
2d9000efde
Merge pull request #3111 from sloriot/PMP-coref_preserve_face_attributes
...
Add a visitor to track the creation of faces in corefinement functions
2018-06-28 16:09:37 +02:00
Laurent Rineau
c68cf8fc4c
Merge pull request #3129 from sgiraudot/Point_set_processing-Callbacks-GF
...
Point Set Processing: Callbacks
2018-06-27 10:21:40 +02:00
Laurent Rineau
0e4e50f2e7
Merge pull request #3060 from maxGimeno/BGL-read_write_off_use_np-GF
...
BGL: Use Named Parameters in OFF I/O
2018-06-27 10:21:33 +02:00
Laurent Rineau
b44ad18983
Merge branch 'master' into PMP-stitch_after_orient-GF
2018-06-21 12:31:26 +02:00
Sébastien Loriot
0abfba8ac0
Update branch 'PMP-coref_preserve_face_attributes' from master@5ceb529d0f
2018-06-21 10:53:59 +02:00
Laurent Rineau
b08fb6c4ed
Merge pull request #3069 from sloriot/PMP-isotropic_remeshing_user_projection
...
Fix constrained edge map update and add user projection functor as input
2018-06-20 17:21:10 +02:00
Mael Rouxel-Labbé
26c857a431
Moved unary/binary_function to CGAL::cpp98
2018-06-13 15:58:19 +02:00
Maxime Gimeno
158d292435
Add missing overload
2018-06-13 10:22:11 +02:00
Maxime Gimeno
1d4b1f9183
Merge master to solve conflicts
2018-06-13 09:48:07 +02:00
Sébastien Loriot
e1e1512869
Merge 'PMP-isotropic_remeshing_user_projection' into PMP-isotropic_remeshing_user_projection
2018-06-06 18:00:32 +02:00
Konstantinos Katrioplas
60cbb2fc6a
Merge remote-tracking branch 'cgal/master' into PMP-smoothing-kkatrio
2018-06-06 15:50:14 +02:00
Sébastien Loriot
6e1d9b2a3e
clip_volumes -> clip_volume
2018-06-06 13:30:36 +02:00
Sébastien Loriot
e26bee1a61
rename new_face_visitor -> visitor
2018-06-06 09:50:05 +02:00
Sébastien Loriot
7d69c199af
the variable is name graph_visitor and not visitor (visitor is the function)
2018-06-06 09:37:14 +02:00
Simon Giraudot
beb3408663
Add forward declarations and remove dependency to Solver_interface
2018-06-05 14:50:17 +02:00
Maxime Gimeno
b18f5e5546
Fix warning.
2018-06-05 09:30:58 +02:00
Sébastien Loriot
aecefd2e6d
include_clipper_boundary -> use_compact_clipper
2018-06-04 15:20:31 +02:00
Maxime GIMENO
0517c35f59
Merge branch 'master' into BGL-Copy_face_graph_use_np-GF
2018-06-04 11:58:43 +02:00
Sébastien Loriot
2569c271e5
improve doc and plugin
2018-06-01 16:50:39 +02:00
Sébastien Loriot
94a73232d5
document clip functions
2018-06-01 11:06:29 +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
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
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
Simon Giraudot
6daa40c4aa
Add callback named parameter
2018-05-29 11:42:02 +02:00
Sébastien Loriot
d3a9f655af
replace bool parameter throw_on_self_intersection with a named parameter
...
used it at the same time in Boolean operation functions
2018-05-28 17:37:17 +02:00
Sébastien Loriot
a207317cf5
add a parameter in corefinement functions to track the creation of new faces
2018-05-28 17:36:07 +02:00
Laurent Rineau
851dfabd29
Merge pull request #2757 from maxGimeno/BGL-Add_facegraph_validity_check_function-GF
...
BGL: Add a FaceGraph validity check function
2018-05-28 13:58:07 +02:00
Sébastien Loriot
edf7527b3f
simplify call
2018-05-17 13:42:42 +02:00
Maxime Gimeno
4b90bca4e3
Clean-up and fixes
2018-05-17 11:49:31 +02:00
Maxime Gimeno
e0cf352319
Revert changes to Emptyset_iterator and modifies default map management to use a dummy functor instead
2018-05-17 10:50:23 +02:00
Maxime Gimeno
cd6ffdc12a
Add property maps for simplex mapping.
...
Also adds an operator()(const T&){} to Emptyset_iterator so it can be used by boost::function_output_iterator().
2018-05-17 10:49:58 +02:00
Maxime Gimeno
6623d3633f
Clean-up and fixes
2018-05-17 10:49:58 +02:00
Maxime Gimeno
5fc0022d92
make copy_face_graph use NamedParameters
2018-05-17 10:49:58 +02:00
Sébastien Loriot
e08c1cdc4d
add an option to prevent the collapse of constrained edges
2018-05-15 12:21:05 +02:00
Sébastien Loriot
0c61d13e2f
add missing include directive
2018-05-04 10:45:15 +02:00
Maxime Gimeno
861a6a16c5
Fixes
2018-05-03 12:49:34 +02:00
Maxime Gimeno
68de1819cf
Move the code to the PMP functio nand document.
2018-05-03 12:49:34 +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
Sébastien Loriot
95d76709e8
isotropic remeshing can now use a user defined projection functor
...
you can pass it using a named parameter
2018-04-27 16:20:54 +02:00
Maxime Gimeno
c4da8690cb
Add NamedParameters to the off IO functions.
2018-04-26 14:00:06 +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
Laurent Rineau
5d0858a379
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:31:47 +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
Andreas Fabri
0eb502cad1
Fix Euler::add_vertex_and_face_to_border()
2018-04-06 10:38:15 +01: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
Konstantinos Katrioplas
70cea9a057
Merge branch 'master' into PMP-smoothing-kkatrio
2018-03-28 15:45:18 +02:00
Konstantinos Katrioplas
6ed6fca6f0
fix locally conflicts with cgal/master
2018-03-28 15:39:31 +02:00
Laurent Rineau
237735ab73
Merge pull request #2946 from afabri/CGAL-dependencies-GF
...
Move properties from Mesh_3 to BGL, Polyhedron_3 and Surface_mesh
2018-03-27 10:35:23 +02:00
Laurent Rineau
624bb54475
Merge pull request #2953 from gdamiand/LCC-remove_one_dependency-gdamiand
...
Remove one useless dependency in LCC to Polyhedron.
2018-03-27 10:11:36 +02:00
Konstantinos Katrioplas
f06250813e
documentation corrections
2018-03-26 15:24:04 +02:00
Konstantinos Katrioplas
7256064817
move named parameters to BGL and fix demo's plugin CMakeLists public keyword
2018-03-26 14:41:27 +02:00
Laurent Rineau
34ab08d746
Merge pull request #2935 from CGAL/BGL-Remove_PMP_dependency-GF
...
BGL: Remove PMP dependency in partition_graph.h
2018-03-26 10:55:55 +02:00
Laurent Rineau
4b2e2db728
Merge pull request #2945 from sloriot/PMP-remove_si_improvements
...
Improvement of self-intersection removal using local remeshing
2018-03-26 10:55:51 +02:00
Andreas Fabri
b918ab4ba7
Move internal class from Polyhedron to BGL
2018-03-24 11:41:30 +01:00
Andreas Fabri
3580a28a98
Move file from BGL to Nef_3
2018-03-22 16:54:54 +01:00
Andreas Fabri
8c41669fb7
move properties from Mesh_3 to BGL, Polyhedron_3 and Surface_mesh
2018-03-22 16:37:37 +01:00
Sébastien Loriot
640e78f92b
add an option to allow to change the genus
...
this is useful if the surface has some small artefact
that is not a topological disk
2018-03-22 11:15:47 +01:00
Sébastien Loriot
885f485ce1
use named parameter instead of default int and bool
2018-03-22 10:50:48 +01:00
Sébastien Loriot
dabd127d12
fix typo in the name of an internal function
2018-03-19 15:24:04 +01:00
Mael Rouxel-Labbé
2f88f39fcd
Fixed named parameters includes
2018-03-16 23:32:18 +01:00
Laurent Rineau
de4f63f20d
Merge pull request #2838 from maxGimeno/BGL-remove_self_intersection-GF
...
Improve experimental repairing functions
2018-02-23 17:34:49 +01:00
Laurent Rineau
856df58154
Merge pull request #2857 from MaelRL/BGL-Fix_partition_warnings-GF
...
BGL: Fix partition warnings
2018-02-23 17:33:43 +01:00
Maxime Gimeno
7ea94ffe79
Add a commentary about the missing mechanism in is_selection_a_topologial_disk().
2018-02-20 08:29:45 +01:00
Maxime Gimeno
cde00f7757
Clean-up and overload.
2018-02-19 18:04:54 +01:00
Sébastien Loriot
7431743d9a
rename include guard
2018-02-19 18:04:54 +01:00
Sébastien Loriot
0d2991f903
make dynamic properties working
...
a better partial specialization is required as Dynamic_property_map
provide a as good specialization otherwise
2018-02-19 18:04:52 +01:00
Maxime Gimeno
34e9078b1b
Add a function that determines if a selection of faces has the topology of a disk.
2018-02-19 18:02:31 +01:00
Mael Rouxel-Labbé
8057838793
Fixed partition warnings
2018-02-19 14:30:20 +01:00
Laurent Rineau
78e7060525
Merge pull request #2712 from afabri/CGAL-VC+warnlevel_4-GF
...
Deal with VC++ warnings of level /W4
2018-02-19 14:27:06 +01:00
Laurent Rineau
9d227d0fba
Merge pull request #2758 from maxGimeno/BGL-Document_graph_has_property-GF
...
BGL: Document graph_has_property
2018-02-19 14:26:33 +01:00
Laurent Rineau
ecbfa0a33f
Merge pull request #2805 from afabri/CGAL-unused_variable_or_paramter-GF
...
Fix two warnings about unused variable/parameter
2018-02-14 15:34:55 +01:00
Laurent Rineau
611d24c05d
Merge pull request #2822 from afabri/PMP_bug_fix_expand_face_selection_for_removal-GF
...
PMP: bugfix in expand_face_selection_for_removal()
2018-02-14 15:34:07 +01:00
Sébastien Loriot
483f69728e
Refresh branch
2018-02-12 22:21:38 +01:00
Andreas Fabri
f20c76f7a9
PMP: bugfix in expand_face_selection_for_removal()
2018-02-12 15:18:57 +00:00
Andreas Fabri
6e66f6bb15
Fix two warnings about unused variable/parameter
2018-02-08 07:40:23 +00:00
Maxime Gimeno
8bde832931
Fix METIS headers in BGL
2018-02-02 12:08:05 +01:00
Maxime Gimeno
7fa4b380d2
fixes in includes logic.
2018-02-02 12:08:05 +01:00
Laurent Rineau
f310fc588d
Merge pull request #2690 from sgiraudot/Classification-ETHZ_random_forest-GF
...
Classification: ETHZ Random Forest
2018-02-01 17:35:30 +01:00
Laurent Rineau
67f4ab82af
Merge pull request #2723 from MaelRL/PMP-Graph_partition-GF
...
BGL Small feature: Graph partitioning
2018-01-31 18:29:59 +01:00
Laurent Rineau
5ffbed4cf7
Merge pull request #2732 from maxGimeno/Travis-Install_openmesh-GF
...
Travis: Add OpenMesh
2018-01-24 16:13:27 +01:00
Simon Giraudot
6269309d86
Use CGAL include for boost counting/transform iterators everywhere
2018-01-23 11:09:52 +01:00
Maxime Gimeno
960025fb17
Replace or by and
2018-01-22 14:02:09 +01:00
Maxime Gimeno
c3215b9331
Move graph_has_property from namespace boost to namespace CGAL and provide some doc for it.
2018-01-22 12:43:29 +01:00
Laurent Rineau
e72444ab60
Merge pull request #2709 from lrineau/CGAL-fix_merge_of_PR_2478-GF
...
Fix the merge of PR #2478 into releases/CGAL-4.11-branch
2018-01-22 10:06:21 +01:00
Andreas Fabri
5efce459da
Mesh_3
2018-01-18 08:49:52 +00:00
Andreas Fabri
39b1431fca
Surface_mesh_paramerization
2018-01-17 21:42:31 +00:00
Andreas Fabri
38b2e57b11
PMP
2018-01-17 17:59:35 +00:00
Laurent Rineau
2ec646a046
Merge pull request #2713 from sloriot/BGL-fix_assertions_FFG
...
Fix assertions
2018-01-17 10:43:14 +01:00
Maxime Gimeno
150bde7159
Move inclusion of MeshIO.hh before mesh type definition
2018-01-15 11:23:36 +01:00
Sébastien Loriot
560f98faf0
please compiler instantiating non valid overloads
2018-01-15 10:31:29 +01:00
Sébastien Loriot
8ac58e96c5
add missing include directive
2018-01-11 18:04:31 +01:00
Simon Giraudot
c52b32b744
Add trick to get FT right for general PointRange AND for CGAL::Point_set_3
2018-01-11 14:04:19 +01:00
Simon Giraudot
9c1e045376
Use std::iterator_traits to get the value type
2018-01-11 12:35:36 +01:00
Simon Giraudot
9dd5b07ccb
Fix namespace indentation
2018-01-10 16:39:33 +01:00
Simon Giraudot
16697b79f9
Add convenient Fake_point_range + fix dummy normal map
2018-01-10 16:39:31 +01:00
Simon Giraudot
fffefbaeaf
add all_default() method with point set 3 overload
2018-01-10 16:38:36 +01:00
Simon Giraudot
2cc86911b2
Add missing PSP named parameters
2018-01-10 16:38:35 +01:00
Simon Giraudot
bfca6b41c8
Add point set processing named parameters helpers
2018-01-10 16:38:35 +01:00
Simon Giraudot
09c2fcaf94
Add PSP named parameters
2018-01-10 16:38:35 +01:00
Simon Giraudot
c6f35d6d6e
Move helpers of PMP in namespace + first helpers of PSP
2018-01-10 16:38:35 +01:00
Mael Rouxel-Labbé
7e62f6ffd1
Various doc fixes
2018-01-10 14:30:37 +01:00
Mael Rouxel-Labbé
4e3d91becf
Moved undocumented output function to internal
2018-01-10 12:00:31 +01:00
Mael Rouxel-Labbé
1da84501f7
Renamed output function
2018-01-10 11:59:14 +01:00
Mael Rouxel-Labbé
d35e6d4329
Added a comment
2018-01-10 11:59:05 +01:00
Mael Rouxel-Labbé
51e23d44a8
Fixed includes
2018-01-10 11:58:56 +01:00
Mael Rouxel-Labbé
17e46dab7d
Added partition operations to BGL
2018-01-09 18:06:02 +01:00
Sébastien Loriot
7ee538395d
fix assertions
2018-01-08 05:36:16 +01:00
Martial Tola
c233ba697b
fix bug -> 2x 2 missing "inline" to prevent duplicate symbols during link process...
2018-01-04 17:54:16 +01: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
9fe73a801e
Merge pull request #2552 from maxGimeno/PMP_does_intersect-GF
...
PMP: do_intersect
2018-01-04 15:34:18 +01:00
Sebastien Loriot
e3f78ff10e
Merge pull request #2545 from maxGimeno/PMP_orient_connected_components-GF
...
PMP : Orient_connected_components function
2018-01-04 15:31:21 +01:00
Sebastien Loriot
625df00b19
Merge pull request #2219 from afabri/BGL-generic_property_map-GF
...
BGL: Add an API for adding and removing a property map
2018-01-04 15:28:54 +01:00
Sebastien Loriot
fb44258bb6
Merge pull request #2682 from sloriot/BGL-nef_to_fg_triangulate_all
...
Add an option to triangulate all the faces
2017-12-22 22:10:01 +01:00
Sébastien Loriot
d1597f2fb5
Merge branch 'maxGimeno/PMP_orient_connected_components-GF' into cgal/master
2017-12-19 17:34:51 +01:00
Sébastien Loriot
430ad5bc72
Merge branch 'maxGimeno/PMP_does_intersect-GF' into cgal/master
2017-12-19 17:31:29 +01:00
Laurent Rineau
61e662c4e4
Merge pull request #2649 from sgiraudot/BGL-Regroup_named_parameters-GF
...
Regroup PMP named parameters with BGL named parameters
# Conflicts:
# Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/parameters_interface.h
2017-12-19 16:33:44 +01:00
Sébastien Loriot
86c1cfb65d
factorize implementation for PolyMesh_Array and TriMesh_Array
...
I removed add_face(VertexIterator, VertexIterator, FG) as it is not
required by MutableFaceGraph and was the only function with
a different implementation between the 2 classes
2017-12-19 15:48:07 +01:00
Sébastien Loriot
456222aa81
add comment
2017-12-19 14:51:12 +01:00
Sébastien Loriot
a9a85b37e6
fix compilation issues and warnings
2017-12-19 14:43:30 +01:00
Sébastien Loriot
5630e163f9
fix copy-paste error
2017-12-18 09:43:12 +01:00
Sébastien Loriot
f9698633a5
add special case for border of size 3 and border of size 4
2017-12-15 16:14:04 +01:00
Laurent Rineau
7df26c594b
Merge branch 'master' into BGL-generic_property_map-GF
2017-12-14 09:46:01 +01:00
Sébastien Loriot
8c94abde95
add an option to triangulate all the faces
2017-12-14 07:52:08 +01:00
Mael Rouxel-Labbé
638bfee3fd
Regroup and complete BGL named parameters tests
...
Along the way, apply the same fix as in f191e6114a
(*_sampling should be named use_*_sampling)
2017-12-13 10:49:50 +01:00
Mael Rouxel-Labbé
ad947da752
Give each package a NamedParameters.txt
2017-12-12 00:07:57 +01:00
Mael Rouxel-Labbé
9a38d9d41a
Reorder named parameters and remove useless ones
2017-12-11 21:32:03 +01:00
Laurent Rineau
4e91d4d768
Merge pull request #2595 from gdamiand/BGL_LCC-use_generic_load-gdamiand
...
BGL/LCC: use generic load
# Conflicts:
# BGL/test/BGL/CMakeLists.txt
2017-12-05 18:23:58 +01:00
Laurent Rineau
f37630bc0f
Merge branch 'releases/CGAL-4.11-branch'
...
# Conflicts:
# Kernel_23/test/Kernel_23/include/CGAL/_Result_of_kernel.h
# Kernel_23/test/Kernel_23/test_result_of.cpp
2017-12-05 18:14:23 +01:00
Laurent Rineau
a84a0b686b
Merge pull request #2598 from sloriot/BGL-fix_export_to_nef
...
Correctly handle faces with more than one cc of the boundary
2017-12-05 17:57:59 +01:00
Simon Giraudot
426a72af74
Merge parameters_interface.h to BGL
2017-12-01 15:32:29 +01:00
Simon Giraudot
3dc39c7641
Regroup PMP named parameters with BGL named parameters
2017-11-30 16:05:11 +01:00
Andreas Fabri
de166d8be7
Fix testsuite
2017-11-29 10:51:06 +00:00
Jane Tournois
2feb79a16b
Add example for dynamic_property_map
2017-11-27 16:35:30 +00:00
Guillaume Damiand
3d84dae11a
Bug fix in read_off specialization for open mesh.
2017-11-24 11:18:01 +01:00
Guillaume Damiand
4be7fac4f2
Add read and write off taking a std::string as parameter
2017-11-24 11:18:01 +01:00
Sébastien Loriot
8cdfad0d08
add missing URL and Id tags
2017-11-15 22:58:57 +01:00
Sébastien Loriot
67ab9d124d
correctly handle the case of faces with more than one cc of the boundary
2017-11-15 15:37:27 +01:00
Sébastien Loriot
5a4697771d
explicit the BSL in the header
...
also remove LGPL from GF as it makes little sense.
The change is done to please licensecheck
2017-11-12 10:41:37 +01:00
Sébastien Loriot
39e4fdd3ed
add missing SPDX identifiers
2017-11-12 10:21:27 +01:00
Sébastien Loriot
5174db8e1d
add missing boost license tag
2017-11-12 10:17:52 +01:00
Sébastien Loriot
0698f79aff
add SPDX identifier for files under the LGPL-3+ license
2017-11-12 10:17:50 +01:00
Sébastien Loriot
a05b134a6b
add SPDX identifier for files under the boost license
2017-11-12 10:17:50 +01:00
Laurent Rineau
5ecd090ab6
Merge pull request #2315 from lrineau/Mesh_3-imported_newest_improvements_into_CGAL-GF
...
Mesh_3: import newest improvements
2017-10-23 17:07:00 +02:00
Laurent Rineau
46cc91e787
Merge pull request #2478 from mtola/master
...
fix bug -> 2x 2 missing "inline" to prevent duplicate symbols during …
2017-10-13 17:06:22 +02:00
Laurent Rineau
1d46a17214
Merge pull request #2515 from sloriot/BGL-fix_argument_order
...
Change argument order to be consistent with other selection functions
2017-10-13 16:54:27 +02:00
Laurent Rineau
39516eaa2b
Merge pull request #2478 from mtola/master
...
fix bug -> 2x 2 missing "inline" to prevent duplicate symbols during …
2017-10-13 16:54:11 +02:00
Laurent Rineau
dc7c887436
Fix the compilation of <CGAL/Polyhedral_mesh_domain_3.h>
...
1. Create <CGAL/boost/graph/Graph_with_descriptor_with_graph_fwd.h>
... a forward-declaration header.
2. Include the forward-declarations of `CGAL::Surface_mesher` and
`CGAL::Graph_with_descriptor_with_graph`, so that the header compiles.
2017-10-13 15:57:02 +02:00
Laurent Rineau
d333cc672d
Merge pull request #2492 from sloriot/OM-fix_edge_hashing
...
Fix hashing of edge_descriptor for OpenMesh
2017-10-11 19:18:57 +02:00
Laurent Rineau
8d111f35e0
Merge pull request #2455 from afabri/SM-abaquus-GF
...
Add write_inp(FaceGraph)
2017-10-11 19:18:41 +02:00
Laurent Rineau
3877f84899
Merge pull request #2492 from sloriot/OM-fix_edge_hashing
...
Fix hashing of edge_descriptor for OpenMesh
2017-10-11 19:11:46 +02:00
Sébastien Loriot
be4635a1f6
change argument order to be consistent with expand/reduce_face_selection()
2017-10-09 15:09:42 +02:00
Andreas Fabri
3f89acae6b
Remove unused typedef
2017-10-05 09:50:42 +01:00
Laurent Rineau
7e9f756935
Replace all std::unary_function by CGAL::unary_function
2017-10-04 15:57:09 +02:00
Andreas Fabri
1be0c2163b
Increment the element number
2017-10-04 08:14:47 +02:00
Sébastien Loriot
12688d05a1
fix hashing of edge_descriptor for OpenMesh
2017-10-03 17:21:24 +02:00
Jane Tournois
ab1eef79b5
fix unused variable warnings
2017-10-03 10:51:15 +02:00
Martial Tola
6ce7afb6e0
fix bug -> 2x 2 missing "inline" to prevent duplicate symbols during link process...
2017-10-01 16:07:33 +02:00
Andreas Fabri
b574ba0bb4
add typename
2017-09-22 13:44:37 +01:00
Andreas Fabri
7156427220
Add write_inp()
2017-09-22 08:16:50 +01:00
Jane Tournois
6a17042d6e
make get() function const
...
so that the pmap works and an lvalue_property_map
2017-08-22 17:19:51 +02:00
Sebastien Loriot
97b8782a27
Merge branch 'master' into Detect_features-GF
2017-08-18 16:34:29 +02:00
Maxime Gimeno
43ff0d092c
Implementation review Jane and sebastien
2017-08-11 15:30:03 +02:00
Maxime Gimeno
723492def1
Use existing named_parameters and vertex_incident_patches becomes lvaluepmap,
2017-08-10 15:16:27 +02:00
Maxime Gimeno
1fe1e21bb6
Replace maximum_surface_patch by first_index.
2017-08-07 13:32:02 +02:00
Maxime Gimeno
1bad0e7202
Use edges instead of halfedges for edge_is_feature_t and map
2017-08-07 11:39:07 +02:00
Maxime Gimeno
d588c55bbb
Make functions free functions and wright doc
2017-08-04 15:06:41 +02:00
Maxime Gimeno
2f45a46f7c
Fix and enhance detect_feature
2017-08-02 16:08:33 +02:00
Maxime Gimeno
9381041e18
Doc fixes and enhancement
2017-08-02 11:16:44 +02:00
Maxime Gimeno
8288fe2ca2
changes.html
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
1537335ed6
Merge pull request #2311 from sloriot/BGL-FFG_bugfix
...
Fix Face_filtered_graph bugs
2017-07-28 18:46:14 +02:00
Laurent Rineau
3fb6c05622
Merge pull request #2304 from sloriot/BGL-copy_non_manifold_vertices
...
Handle non-manifold vertices when copying a mesh
2017-07-28 18:42:38 +02:00
Jane Tournois
aeb9a72843
replace BOOST_FOREACH by a simple for loop
...
the BOOST_FOREACH loop was either crashing after one loop,
of entering an infinite loop on the first vertex of the range,
and this fixes the bug
it happened on vs2015 and vs2017, in Release mode, and only Release mode
2017-07-28 17:48:37 +02:00
Sébastien Loriot
7efdddefd6
use member function instead of a useless free function
...
this avoid at the same time pollution of the CGAL namespace
2017-07-27 15:49:21 +02:00
Sébastien Loriot
c57c14255b
always reset the selection bits (important when switching to a new selection)
2017-07-27 14:56:01 +02:00
Sébastien Loriot
7114b8c542
do not use an ambiguous name
2017-07-27 14:55:30 +02:00
Sébastien Loriot
54aae24840
fix next/prev in case we are on the border
...
we need to look at all possible candidates turning outside
of the patch. The previous code was taking a random halfedge
as starting point (and that halfedge can be in the interior
of the selection)
2017-07-27 14:53:50 +02:00
Sébastien Loriot
bb175cdc66
handle non-manifold vertices when copying a mesh
2017-07-26 12:05:09 +02:00
Laurent Rineau
f8760d591b
Merge pull request #2136 from afabri/Polygon_mesh_processing-accelerate_isotropic_remeshing-GF
...
Polygon_mesh_processing: Accelerate Isotropic_remeshing
2017-07-21 10:45:32 +02:00
Laurent Rineau
89acad2d14
Merge pull request #2101 from afabri/BGL-read_write_off-GF
...
BGL: Add generic functions read_off() and write_off()
2017-07-17 12:45:07 +02:00
Laurent Rineau
3524d08a8f
Follow the Rule of Zero
...
Do not define the assignment operator, because that is not
necessary. That allows more optimizations (and the move-semantic).
See that description of the Rule of Three, Rule of Five, and Rule of
Zero:
http://en.cppreference.com/w/cpp/language/rule_of_three
2017-07-12 15:26:09 +02:00
Laurent Rineau
caa10904e1
Fix warnings about unused parameters
2017-07-12 15:26:08 +02:00
Andreas Fabri
70b13af39c
Do not pollute the boost namespace
2017-07-12 12:11:34 +02:00
Andreas Fabri
3ff34b4b23
cleanup
2017-07-11 20:32:23 +02:00
Andreas Fabri
886bd840cf
Make the dynamic property map an implementation detail
2017-07-11 20:32:23 +02:00
Jane Tournois
e9a5aabc3b
add missing typenames
2017-07-11 20:32:23 +02:00
Andreas Fabri
5ba2161d21
Make isotropic remeshing compile with OpenMesh
2017-07-11 20:32:22 +02:00
Andreas Fabri
c35a018135
Move add and remove of property maps in namespace internal (realizing that it is wrong to claim that it works for any FaceGraph
2017-07-11 20:31:34 +02:00
Andreas Fabri
af31632ac3
make it work with OpenMesh (almost, as the default value of the map is missing
2017-07-11 20:31:33 +02:00
Andreas Fabri
be45f81fc8
Add support for halfedges
2017-07-11 20:31:27 +02:00
Andreas Fabri
4ff981de70
Add generic vertex/edge/face propertymap for Surface_mesh and OpenMesh
2017-07-11 20:31:27 +02:00
Laurent Rineau
b1c08973d0
Fix missing #include
2017-07-11 15:55:05 +02:00
Maxime Gimeno
0495529cb3
Merge branch 'Polyhedron_demo-Triangulate_faces_SM-GF' into Mesh_segmentation_for_SM-GF
...
Conflicts:
Polyhedron/demo/Polyhedron/Plugins/Surface_mesh/Mesh_segmentation_plugin.cpp
2017-07-10 17:10:47 +02:00
Maxime Gimeno
6581f1d716
Fix warning in stitching_plugin
2017-07-10 16:03:48 +02:00
Andreas Fabri
adde363ada
Make the computation of the kernel of a Surface_mesh work
2017-07-10 16:00:05 +02:00
Laurent Rineau
8da2b7bd11
Merge pull request #2068 from maxGimeno/Polyhedron_demo-Volume_generator-GF
...
BGL new helper functions and Polyhedron_demo's Basic_volume_generator_plugin
2017-07-10 15:35:22 +02:00
Maxime Gimeno
4387629e61
Use templated functions to make Mesh_segmentation_plugin work with SM_items
2017-07-10 15:34:57 +02:00
Andreas Fabri
f8376c8bcc
remove unused typedef
2017-07-09 06:59:23 +02:00
Andreas Fabri
6ef551f6da
int -> unsigned int
2017-07-07 13:32:32 +02:00
Laurent Rineau
4d0d588c90
Merge pull request #1989 from maxGimeno/Plugins_use_SM-Convex_decomposition-GF
...
convex decomposition work with Surface_mesh_item
2017-07-03 12:08:48 +02:00
Andreas Fabri
ad6867fe21
Reorder includes
2017-06-30 18:14:43 +02:00
Andreas Fabri
a69b2918d2
Add to changes.html
2017-06-30 18:14:43 +02:00
Andreas Fabri
4b94dd0e23
rename internal namspace
2017-06-30 18:13:42 +02:00
Andreas Fabri
1d9346cc80
Bug fixes (spotted by Guillaume- thank you )
2017-06-30 18:13:42 +02:00
Andreas Fabri
2601bae0e3
#include <fstream>
2017-06-30 18:13:40 +02:00
Andreas Fabri
5098e546c1
Add CGAL::read_off() and CGAL::write_off() to OpenMesh
2017-06-30 18:12:16 +02:00
Andreas Fabri
1042f23791
std::string -> const char*
2017-06-30 18:12:14 +02:00
Andreas Fabri
d94d386f59
fix the testsuite
2017-06-30 18:12:14 +02:00
Andreas Fabri
4bcf6fc51c
Add generic overload which takes a filename as argument
2017-06-30 18:12:14 +02:00
Andreas Fabri
a2ed66d8ce
read_off(istream&, Surface_mesh) now appends
2017-06-30 18:12:14 +02:00
Andreas Fabri
59fc7b9af0
remove unused variables
2017-06-30 18:12:14 +02:00
Andreas Fabri
3e3c33bcf0
Add generic functions read_off() and write_off()
2017-06-30 18:12:13 +02:00
Laurent Rineau
c5224829fc
Merge branch 'master' into Polyhedron_demo-Volume_generator-GF
2017-06-30 17:27:06 +02:00
Laurent Rineau
330dd54cea
Merge pull request #2200 from janetournois/Polyhedron_demo_-add_mesh_surface_w_border_in_closed_domain-GF
...
Mesh_3 plugin made able to mesh surfaces with border inside a closed polyhedral domain
2017-06-30 16:52:09 +02:00
Laurent Rineau
2061a16def
Merge pull request #1917 from MaelRL/SM_Parameterization-BGL-GF
...
Parameterization Facegraph
2017-06-30 16:38:50 +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
Maxime Gimeno
9695e5bde4
Fix ambiguity between constros and bad set_selected_faces call .
2017-06-26 09:18:31 +02:00
Mael Rouxel-Labbé
4d5714b6d7
Face_filtered_graph is a graph adaptor
2017-06-22 16:37:39 +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
Mael Rouxel-Labbé
18d4034edd
Cleaned commented output
2017-06-22 16:17:13 +02:00
Mael Rouxel-Labbé
8b93570a69
Removed useless include
2017-06-22 16:17:13 +02:00
Mael Rouxel-Labbé
3becb6aa7b
Hid std::cerr behind debug macros
2017-06-22 16:17:13 +02:00
Mael Rouxel-Labbé
831940c039
Fixed some doc warnings
2017-06-22 16:17:13 +02:00
Andreas Fabri
ff14334f7d
Add concept checking for Seam_mesh
2017-06-22 16:17:13 +02:00
Andreas Fabri
bd5a32d8d6
Unify struct class
2017-06-22 16:17:13 +02:00
Andreas Fabri
6615f1eddd
Put operator<< for Seam_mesh vertex/halfedge/edge/face in an #ifdef as the wrapped graph does not require the operator<<
2017-06-22 16:17:13 +02:00
Mael Rouxel-Labbé
88807a72b7
Improved add_seams()
2017-06-22 16:17:13 +02:00
Mael Rouxel-Labbé
5a675961d4
Introduced the BGL Graph adaptors (Dual, seam_mesh, etc.)
2017-06-22 16:17:13 +02:00
Mael Rouxel-Labbé
cf04209c8e
Various improvements to the Seam mesh documentation
2017-06-22 16:15:57 +02:00
Mael Rouxel-Labbé
cf1328fd58
Changed "struct" to "class"
2017-06-22 16:15:57 +02:00
Mael Rouxel-Labbé
c51c67fa0c
Fixed Seam_mesh's intrinsic UV map
2017-06-22 16:15:57 +02:00
Mael Rouxel-Labbé
c05a690449
Cleaned cout/cerr ouput
2017-06-22 16:15:57 +02:00
Mael Rouxel-Labbé
406698f769
Added sphere to sphere mapping (wip)
...
Up to the overlay computation (missing the end)
2017-06-22 16:15:57 +02:00
Mael Rouxel-Labbé
9016c2f825
Fixed border_halfedges() usage in the code of SMP's demo plugin
...
Thanks to 3826d23, we can now directly pass a seam mesh.
Note that it still requires declaring a dummy:
boost::property_map<seam_mesh, face_index>,
which is not ideal...
2017-06-22 16:15:57 +02:00
Mael Rouxel-Labbé
22c1ea15ff
Fixed the comparison operator in the seam_mesh's halfedge_descriptor
...
A simple comparison between the halfedge_descriptor of the base mesh is enough
2017-06-22 16:15:57 +02:00
Andreas Fabri
92accde094
static_cast to avoid warnings
2017-06-22 16:15:57 +02:00
Mael Rouxel-Labbé
c62e503a39
Added Orbital Tutte parameterizer and an example
...
Only the orbifold type I method with MVC coefs is implented in this commit
2017-06-22 16:15:57 +02:00
Mael Rouxel-Labbé
8e77c99653
Fixed seam meshes not always picking the longest border in a connected component
2017-06-22 16:15:57 +02:00
Mael Rouxel-Labbé
69da97ac4b
Documentation changes for seam meshes
2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé
40655269a2
Documentation for BGL and SMP
...
- Fixed the boost::graph_traits tables
- Seam mesh documentation
- Some minor changes to surface_mesh_parameterization's and ARAP's docs
2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé
7ce8fdf3f6
Misc minor changes
2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé
8da6683ef0
Misc minor changes
...
Some doc, some typos, some indentation...
2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé
eef01c2ac6
Added a check in the add_seams() function
2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé
c333aa34b1
Fixed a bad static_cast in Seam_mesh.h
2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé
c71d8285d0
Updated the examples of the SMP to work with the new Seam mesh
...
Also a small change in the Polyhedron demo
2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé
b00c5f9a56
Improved the Seam mesh classes
...
Added the missing functions so that it is a facelistgraph.
Fixed a few bugs.
2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé
0a96f93776
Esthetical changes for seam meshes
2017-06-22 16:14:55 +02:00
Sébastien Loriot
3929dc4d8d
improve doc
2017-06-22 16:14:55 +02:00
Sébastien Loriot
eab6b6b68a
fix formatting
2017-06-22 16:14:55 +02:00
Sébastien Loriot
82ff73da86
restore graph_traits specializations and fix warnings
2017-06-22 16:14:55 +02:00
Sébastien Loriot
8a8948ebed
update doc
2017-06-22 16:14:55 +02:00
Sébastien Loriot
a0978d0872
first test equality of meshes
...
In case the graph type as an assertion checking equality of graph
in operator== of its descriptors
2017-06-22 16:12:26 +02:00
Sébastien Loriot
e0b1acba83
remove copy-constructor, default is fine
2017-06-22 16:12:26 +02:00
Sébastien Loriot
b1e6d0f876
fix reference type of the vertex iterator of the Seam graph
...
the vertex descriptor is created on the fly
2017-06-22 16:12:26 +02:00
Sébastien Loriot
16aedcae92
remove a qualified call
2017-06-22 16:12:26 +02:00
Sébastien Loriot
853582dbc5
remove unused variables
2017-06-22 16:12:26 +02:00
Andreas Fabri
88b81378ce
WIP
2017-06-22 16:12:26 +02:00
Andreas Fabri
63a5c1fd0b
still WIP
2017-06-22 16:12:26 +02:00
Sébastien Loriot
6cad541336
enhance pmap
2017-06-22 16:12:26 +02:00
Sébastien Loriot
7b572ece08
no need to remove constness
2017-06-22 16:12:26 +02:00
Andreas Fabri
c03ca8fb63
broken code, as I ask Sebastien to find the compile timer error
2017-06-22 16:12:26 +02:00
Maxime Gimeno
63abf210c9
WIP parameterization_plugin + fixes for parameterization files.
2017-06-22 16:12:26 +02:00
Andreas Fabri
d9fe196106
WIP
2017-06-22 16:12:26 +02:00
Andreas Fabri
f7b826125b
Add the possibility to pass the two vertices that are selected
2017-06-22 16:12:26 +02:00
Andreas Fabri
78dc757a4d
doc
2017-06-22 16:12:26 +02:00
Andreas Fabri
7e4fc56b7d
Add copyright header
2017-06-22 16:12:26 +02:00
Andreas Fabri
45e19be366
Use property maps to store seam edges and vertices
2017-06-22 16:12:26 +02:00
Andreas Fabri
902ff15f87
fix target(halfedge, Seam_mesh) for when the halfedge is on the border of a seam edge
2017-06-22 16:12:26 +02:00
Andreas Fabri
9cc84e828c
Add an initial User Manual section for Seam_mesh
2017-06-22 16:12:26 +02:00
Andreas Fabri
e8db3c0f11
Add Seam_mesh to the BGL doc
2017-06-22 16:12:26 +02:00
Andreas Fabri
36530e3f98
polish
2017-06-22 16:11:38 +02:00
Andreas Fabri
b11385455f
Fix target(Seam_msh)
2017-06-22 16:11:38 +02:00
Andreas Fabri
82f2a2b4ca
WIP
2017-06-22 16:11:38 +02:00
Andreas Fabri
fa68850338
Use Vertex_around_target_circulator again
2017-06-22 16:11:38 +02:00
Andreas Fabri
869dfbb1e9
finally it works with a Seam_mesh
2017-06-22 16:11:38 +02:00
Andreas Fabri
a6a62bc4f6
index vertices inside parameterize()
2017-06-22 16:11:38 +02:00
Andreas Fabri
46ed3edf92
LSCM seems to work too
2017-06-22 16:11:38 +02:00
Andreas Fabri
92a463bdcc
split constructor of Seam_mesh in two functions
2017-06-22 16:11:38 +02:00
Andreas Fabri
99a3b99283
make connecteced_component work for Seam_mesh
2017-06-22 16:11:38 +02:00
Andreas Fabri
c3e884373a
remove debug code
2017-06-22 16:11:38 +02:00
Andreas Fabri
4a2344f0cc
discrete authalic now works for Surface_mesh and for a Seam_mesh
2017-06-22 16:11:38 +02:00
Andreas Fabri
e1089a9168
WIP: Add vertex_descriptor which is a kind of canonical halfede_descriptor
2017-06-22 16:11:38 +02:00
Andreas Fabri
1164cb14bf
Discrete Authalic parametrisation now works for a Seam_mesh with borders and seams
2017-06-22 16:11:38 +02:00
Andreas Fabri
b7cdb47463
WIP - lets get it working with the Seam_graph next
2017-06-22 16:11:38 +02:00
Andreas Fabri
c746425f8c
Authalic parametrization works with a Surface_mesh with border
2017-06-22 16:11:38 +02:00
Andreas Fabri
e00500fe5c
a shy beginning of a graph with edges marked as seam edges
2017-06-22 16:11:38 +02:00
Laurent Rineau
4116d749d2
Merge pull request #1861 from maxGimeno/BGL_copy_face_graph_patch-GF
...
BGL: Connected_component_graph and copy_face_graph_patch
2017-06-22 16:06:14 +02:00
Jane Tournois
0c0177e432
add empty() helper function in BGL
2017-06-20 17:33:03 +02:00
Maxime Gimeno
a570495a0f
Fix face() for border halfedges.
2017-06-16 10:08:22 +02:00
Sébastien Loriot
f9df1e2357
fix conversion warnings
2017-06-07 17:04:22 +02:00
Sébastien Loriot
f457b0340d
remove extra note
2017-05-30 15:09:42 +02:00
Sébastien Loriot
5c1ace5124
add example and use bgllink macro
2017-05-30 15:09:42 +02:00
Sébastien Loriot
ad87028699
use named parameters for index maps
2017-05-30 15:09:42 +02:00
Sébastien Loriot
dd64914d59
move helper functions in the BGL package so that they can be used there too
2017-05-30 15:09:42 +02:00
Sébastien Loriot
6d2526499e
replace iterators of face patch indices by a range
2017-05-30 15:09:42 +02:00
Sébastien Loriot
b453991a44
rename face patch index map
2017-05-30 15:09:42 +02:00
Sébastien Loriot
a0f1499614
rename bitsets of selected simplices
2017-05-30 15:09:42 +02:00
Sébastien Loriot
eddbffcebe
use set_selected_faces in the constructor and add the missing implementation
2017-05-30 15:09:42 +02:00
Sébastien Loriot
b4194e3614
import API and documentation
2017-05-30 15:09:42 +02:00
Maxime Gimeno
3ab2f10997
replace remaining 'componant' by 'patch'
2017-05-30 15:09:42 +02:00
Maxime Gimeno
1f96262d3d
Rename the graph into Face_filtered_graph and add a function to check its validity.
2017-05-30 15:09:42 +02:00
Maxime Gimeno
185ac3bbd0
clean-up the doc
2017-05-30 15:09:42 +02:00
Maxime Gimeno
1caba59404
add a function to change the current connected component ids to the cc_graph and update Segmentation example.
2017-05-30 15:09:42 +02:00
Maxime Gimeno
64eb2d09c6
Change doc for default index maps and add an example to Surface_mesh_segmentation using area() and Connected_components_graphs.
2017-05-30 15:09:41 +02:00
Maxime Gimeno
557e1a78c1
Add tests for Polyhedron and fix Property forwarding
2017-05-30 15:08:34 +02:00
Maxime Gimeno
0ab9cf974c
Add property maps binders for the indices and fix remaining bugs in graph_traits. copy_face_graph doesn't crash anymore.
2017-05-30 15:08:34 +02:00
Maxime Gimeno
4e0bdba931
update changes.html and add tparams for the index maps.
2017-05-30 15:08:34 +02:00
Maxime Gimeno
793931be88
Add templates for the index maps in the class type.
2017-05-30 15:08:34 +02:00
Maxime Gimeno
6e1199d56f
bitsets implementation, doc fix and tests fix.
2017-05-30 15:08:34 +02:00
Andreas Fabri
0707e06cee
Changes after Andreas' review
2017-05-30 15:08:34 +02:00
Maxime Gimeno
5661666782
Clean-up and add key and value types to fccmap.
2017-05-30 15:08:34 +02:00
Maxime Gimeno
97ad4ba2b2
Rename into Connected_components_graph
2017-05-30 15:08:34 +02:00
Maxime Gimeno
afd44de2e6
Changes :
...
- Remove copy_face_graph_patch
- Use an unordered_set instead of a single patch_id.
2017-05-30 15:08:34 +02:00
Maxime Gimeno
513edafdb2
use iterator_range instead of std::pair in Gwdwg
2017-05-30 15:08:34 +02:00
Maxime Gimeno
904b673da6
Changes for review.
2017-05-30 15:08:33 +02:00
Maxime Gimeno
f7c3c48c07
Fixes
2017-05-30 15:08:33 +02:00
Maxime Gimeno
be5103c1a1
Fix license and include guards
2017-05-30 15:08:33 +02:00
Maxime Gimeno
00af500498
Add a function to copy a patch and document the Connected_component_graph
2017-05-30 15:08:33 +02:00
Maxime Gimeno
5ababe9c33
Add an adapter:
...
- Create an adapter for FaceListGraphs that takes a patch_id and a FaceIndexMap and acts as if the specified patch was a whole graph.
2017-05-30 15:08:33 +02:00
Maxime Gimeno
c892cf49c7
Clean-up
2017-05-29 13:24:09 +02:00
Maxime Gimeno
360031a14a
Restore the PMP_properties_Surface_mesh.h and remove the private copy constructor of Gwdwg to let the default one be used, as it does not allow memory. This allows Surface only meshing to work with surface_mesh.
2017-05-29 13:24:08 +02:00
Maxime Gimeno
5db694c154
polyhedral domain with features works for Surface_mesh and cheese.off (Polyhedron does no longer :(
...
Conflicts:
Mesh_3/include/CGAL/Polyhedral_mesh_domain_with_features_3.h
Surface_mesh/include/CGAL/boost/graph/PMP_properties_Surface_mesh.h
2017-05-29 13:22:37 +02:00
Maxime Gimeno
451af8f3ef
bglize and add property maps. polyhedral domain with features works almost for Surface_mesh
...
Conflicts:
Mesh_3/include/CGAL/Mesh_polyhedron_3.h
Mesh_3/include/CGAL/Polyhedral_mesh_domain_with_features_3.h
Surface_mesh/include/CGAL/boost/graph/PMP_properties_Surface_mesh.h
2017-05-29 13:22:37 +02:00
Andreas Fabri
5a302c805d
Make make_mesh_3() work for Surface_mesh
2017-05-29 13:22:37 +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
Maxime Gimeno
880b6e21a2
Fixes and Clean-up.
...
- Move the new properties in a file in PMP and remove them from the namespace boost.
- Move the surface mesh properties from properties_Surface_mesh.h to Scene_surface_mesh_item.h
2017-05-29 13:20:39 +02:00
Andreas Fabri
b5212bd83b
Make surface mesh simplification plugin work for Surface_mesh
2017-05-29 13:20:38 +02:00
Andreas Fabri
a33e423d2e
Add property maps to Mesh_polyhedron_3::type
2017-05-29 13:20:38 +02:00
Andreas Fabri
c8bc628c90
WIP: make the selection plugin work for Surface_mesh
2017-05-29 13:20:33 +02:00
Maxime Gimeno
45edec15db
Nef_plugin works with surface_mesh.
2017-05-29 12:12:31 +02:00
Laurent Rineau
c174b9880d
Merge remote-tracking branch 'cgal/releases/CGAL-4.10-branch'
2017-05-26 17:56:13 +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
Laurent Rineau
ee1c11acfd
Merge pull request #2077 from afabri/BGL-links_to_headers-GF
...
BGL Add a description to doxygen groups
2017-05-19 10:28:46 +02:00
Laurent Rineau
7aad2a560c
Merge pull request #1891 from maxGimeno/PMP_named_params_macro-GF
...
Use macros to add parameters in PMP
2017-05-11 17:09:38 +02:00
Andreas Fabri
3f16400456
Add a desciption to doxygen groups, and in which header file they are
2017-04-26 08:46:58 +02:00
Laurent Rineau
87c9afd486
Fix the compilation of individual headers
...
- in most cases, that was just adding missing #include
- I have removed the use of <CGAL/basic.h>
2017-04-13 15:56:51 +02:00
Sébastien Loriot
deb9d984f5
Merge remote-tracking branch 'cgal/releases/CGAL-4.9-branch'
2017-03-29 13:23:05 +02:00
Laurent Rineau
c025d392fb
Merge pull request #1960 from sloriot/BGL-fix_split_graph
...
Fix bug in split_graph_into_polylines
2017-03-29 11:58:38 +02:00
Sébastien Loriot
3da1729ea4
restore the order on nodes and do not remove an edge before a terminal node
...
The order was relying on the vertex connectivity so no edge incident to a
node in the set should be removed, otherwise the set is no longer sorted
2017-03-21 16:54:49 +01:00
Sébastien Loriot
6d3d570239
Merge remote-tracking branch 'cgal/releases/CGAL-4.9-branch' into HEAD
2017-03-16 09:57:17 +01:00
Andreas Fabri
58b4b81ccd
fix in_edges() and out_edges()
2017-03-13 17:12:37 +01:00
Andreas Fabri
426ab99df7
BGL: Fix Dual
2017-03-13 14:01:19 +01:00
Sébastien Loriot
3fa06c2cc8
remove buggy and useless custom less for vertex descriptors
...
the order was not correct and in some cases, std::set::erase
was picking the wrong vertex_descriptor. The default less
is fine since no vertices is removed from the adjacency_list,
thus descriptors remain valid
2017-03-09 09:25:18 +01:00
Sébastien Loriot
e9395aba6f
move enum for named parameters inside internal_np namespace
2017-02-13 10:25:28 +01:00
Sébastien Loriot
9b8f910cee
move edge_index that is not defined in boost
2017-02-10 17:24:33 +01:00
Sébastien Loriot
47e8f6167f
add doc in the interface file and files using it
2017-02-10 17:23:45 +01:00
Sébastien Loriot
2fee4affdd
rename macro to be independant of any package
2017-02-10 17:00:38 +01:00
Sébastien Loriot
e2e277ad83
fix the list of inherited named parameters and remove special cases
2017-02-10 16:55:56 +01:00
Sébastien Loriot
2068ba14ce
remove non used named parameter
2017-02-10 16:45:18 +01:00
Maxime Gimeno
3d8aaf0a6e
Add license headers
2017-02-09 15:46:01 +01:00
Maxime Gimeno
0f9c102516
Move the enums in a namespace parameters to clean-up the namespace CGAL.
2017-02-09 15:29:18 +01:00
Maxime Gimeno
21f305db27
Use an include system to factorize the macro calls in PMP and BGL.
2017-02-09 14:14:11 +01:00
Laurent Rineau
1a2f617d89
Merge pull request #1843 from afabri/BGL_accelerate_copy_face_graph-GF
...
Accelerate copy_face_graph
2017-02-08 17:32:47 +01:00
Laurent Rineau
13e420732c
Merge pull request #1840 from afabri/BGL-reserve-GF
...
BGL: Add helper function reserve(G,nv,ne,nf)
2017-02-08 17:32:22 +01:00
Sébastien Loriot
758e403d02
remove uninitialized variable warning
2017-01-25 08:52:56 +01:00
Sébastien Loriot
df886a0904
add missing include directive
2017-01-19 16:46:52 +01:00
Sébastien Loriot
6926578b15
add reserve to MutableFaceGraph
2017-01-18 18:19:25 +01:00
Sébastien Loriot
f5044492c7
remove old implementation and benchmark using it
2017-01-18 16:44:21 +01:00
Sébastien Loriot
3fa4abe869
move function to init index maps to BGL
2017-01-18 16:37:34 +01:00
Sébastien Loriot
b3340608cc
move property map binders to property_map.h
2017-01-18 16:37:24 +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
e437f1d7e7
WIP add a new copy_face_graph implementation using halfedge_index_map when possible
2017-01-16 18:35:11 +01:00
Sébastien Loriot
a99a406d7f
set the bucket size of hash maps
2017-01-16 15:58:06 +01:00
Andreas Fabri
7af02ade63
Add a benchmark
2017-01-16 15:15:27 +01:00
Sébastien Loriot
5557ce17fd
add another version of copy_face_graph
2017-01-16 14:33:46 +01:00
Sébastien Loriot
e3f9ffa6f8
workaround for named parameters with old boost version (<1.51)
...
handle the renaming of a struct and move get_param overloads
in the boost namespace (to match qualified call boost::get_param)
2017-01-13 12:05:51 +01:00
Sébastien Loriot
9ae7b37845
Merge pull request #1745 from sloriot/Polyhedra_corefinement-enhancements-sloriot
...
Add corefinement operations in PMP
2017-01-12 12:05:18 +01:00
Laurent Rineau
e9d9cc5100
Merge pull request #1793 from lrineau/Mesh_3-various_improvements-lrineau
...
Improvements for Mesh_3
2017-01-12 11:09:45 +01:00
Laurent Rineau
4ce2e8e416
Reduce the width of lines with `using boost::graph_traits`
2017-01-05 11:59:25 +01:00
Laurent Rineau
b7c07effa9
Simplify split_graph_into_polylines
...
Two tests `it = v2vmap.find(vs)) == v2vmap.end()` were useless because
it is guaranteed that the map does contain the vertices.
2017-01-05 11:56:30 +01:00
Laurent Rineau
47dbde4ace
Merge pull request #1753 from maxGimeno/BGL_descriptor_with_graph-GF
...
BGL descriptor with graph
2017-01-05 10:56:02 +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
Laurent Rineau
ca0fac22e7
Merge branch 'Mesh_3-improve_detect_features-GF' into Mesh_3-various_improvements-lrineau
2016-12-30 17:33:16 +01:00
Sébastien Loriot
fe5e925367
Merge pull request #1701 from afabri/Convex_hull_3-FaceGraph-GF
...
Convex_hull_3: Switch to FaceGraph
2016-12-30 15:14:34 +01:00
Sébastien Loriot
81f4714b1b
mimic what is done for Has_clear
...
typeof is an gcc extension
2016-12-30 14:51:50 +01:00
Laurent Rineau
e5807d17ef
Add visitor.add_edge, optional
2016-12-30 14:51:50 +01:00
Laurent Rineau
7776720ca9
Merge pull request #1752 from lrineau/Mesh_3-various_fixes_and_improvements-lrineau
...
Fix the patch from #1524
2016-12-28 16:12:14 +01:00
Andreas Fabri
cbcfbc0259
Remove typedefs; put make_quad for vertices in namespace internal
2016-12-23 16:28:50 +01:00
Laurent Rineau
f6bfae0324
Remove an assertion: bug in Boost filtered_graph::out_degree
2016-12-16 17:32:45 +01:00
Andreas Fabri
fde59886ba
Concept check GWdwg
2016-12-13 15:25:54 +01:00
Andreas Fabri
4a323718e3
Use CGAL_assertion; test that the assertion gets triggered
2016-12-09 17:33:25 +01:00
Andreas Fabri
c058ae9bcc
deacronymize header file name
2016-12-09 17:01:11 +01:00
Andreas Fabri
d3a286d111
Gwdwg may be mutable
2016-12-09 16:52:47 +01:00
Laurent Rineau
f8833fbec5
Fix a bug with isolated vertices in the graph
2016-12-09 15:47:19 +01:00
Andreas Fabri
98b5ae02f7
reorient make_hexahedron
2016-12-09 15:16:39 +01:00
Sébastien Loriot
d1a00c9ab4
add missing overload
2016-12-09 13:44:41 +01:00
Andreas Fabri
a32e75646f
reorient make_tetrahedron
2016-12-09 12:49:06 +01:00
Maxime Gimeno
d7c8f598a1
Fix doc
2016-12-08 10:12:10 +01:00
Sébastien Loriot
a066f8c01b
use different overloads even in c++11
...
The default value for the point map cannot be set
2016-12-07 17:08:30 +01:00
Maxime Gimeno
8569e8fb9a
Add an example.
2016-12-07 16:46:49 +01:00
Laurent Rineau
65d67329fc
Fix the patch from #1524
...
When the `less` operator was added to `split_graph_into_polylines`, it
was wrong: as we duplicate vertices, that is not sufficient to compare
the points at vertices.
2016-12-07 11:24:28 +01:00
Sébastien Loriot
b4da56f408
remove extra comma
2016-12-07 09:02:36 +01:00
Maxime Gimeno
50e4b04d51
Restore graph_has_property()
2016-12-06 14:13:18 +01:00
Maxime Gimeno
5141f55efe
Make doc
2016-12-06 12:59:56 +01:00
Sébastien Loriot
f82fce23fd
remove trailing whitespaces
2016-12-06 12:59:56 +01:00
Sébastien Loriot
b1f6d0c1dd
add assertion and graph_has_property specialization
2016-12-06 12:59:56 +01:00
Sébastien Loriot
2355c5b871
fix compilation issues
2016-12-06 12:59:55 +01:00
Sébastien Loriot
5a51e9bc98
allow comparision with null descriptors
2016-12-06 12:59:55 +01:00
Sébastien Loriot
b1a481db5c
disable the copy-constructor
2016-12-06 12:59:55 +01:00
Sébastien Loriot
4d67fcc08f
the base property_map must be copied
2016-12-06 12:59:55 +01:00
Sébastien Loriot
51bed6153e
add missing const
2016-12-06 12:59:55 +01:00
Sébastien Loriot
b0e5c90eae
various fixes
2016-12-06 12:59:55 +01:00
Andreas Fabri
3703683761
Add put
2016-12-06 12:59:55 +01:00
Andreas Fabri
211fcb4107
Partial support for propery maps
2016-12-06 12:59:55 +01:00
Andreas Fabri
c9b53a1989
Add null_vertex() etc.
2016-12-06 12:59:55 +01:00
Sébastien Loriot
7f25b7af56
add missing typename and fix typo
2016-12-06 12:59:55 +01:00
Andreas Fabri
5f18b0738c
First version of a graph class that stores a pointer to the graph in the descriptor (for debugging)
2016-12-06 12:59:55 +01:00
Sébastien Loriot
c3e1309181
update from master branch
2016-12-05 14:37:29 +01:00
Andreas Fabri
3fc151b0dd
polish, e.g. P -> pm
2016-11-30 10:32:40 +01:00
Andreas Fabri
e0484d4988
Remove Graph_geometry.h
2016-11-28 08:39:51 +01:00
Sébastien Loriot
20fa78081c
add property maps as parameter for copy_face_graph
2016-11-23 15:31:29 +01:00
Sébastien Loriot
5c94f7d8ac
avoid documenting internal and non-intended classes and functions
2016-10-21 11:11:00 +02:00
Sébastien Loriot
e4ba7e0c70
add missing include directive
2016-10-20 18:12:54 +02:00
Laurent Rineau
5ab5825013
Merge pull request #1466 from sloriot/BGL-add_nef_to_pm
...
Add a function to convert a Nef polyhedron to a polygon mesh
2016-10-17 10:03:24 +02:00
Laurent Rineau
d43015c0ef
Merge pull request #1543 from afabri/BGL_remove_graph_traits_CMap-GF
...
Remove files that are here accidentally according to Guillaume
2016-10-17 09:59:17 +02:00
Sébastien Loriot
14030d4c49
remove unused variable
2016-10-12 10:52:02 +02:00
Sébastien Loriot
5d9edb5670
fix license
2016-10-06 09:33:32 +02:00
Andreas Fabri
74a72a4749
Remove files that are here accidentally according to Guillaume
2016-10-05 16:22:26 +02:00
Sébastien Loriot
d9413be399
add function convert_nef_polyhedron_to_polygon_mesh and document it
2016-10-05 15:28:12 +02:00
Laurent Rineau
223c1cf5a4
Merge pull request #1530 from lrineau/Installation-compute_dependencies-GF
...
Compute and fix packages dependencies
2016-10-05 13:11:04 +02:00
Laurent Rineau
745cdaeba5
Merge pull request #1524 from lrineau/Mesh_3-split_graph_into_polylines_determinism-lrineau
...
Make split_graph_into_polylines deterministic
2016-10-05 13:03:36 +02:00
Laurent Rineau
7b6addbb55
Merge pull request #1519 from lrineau/Mesh_3-fix_conversion_warnings-lrineau
...
Mesh_3: fix conversion warnings
2016-10-05 13:03:15 +02:00
Laurent Rineau
1c19028e5b
Merge pull request #1267 from maxGimeno/Random_generator-GF
...
Random generator
2016-10-05 13:02:29 +02:00
Laurent Rineau
eb21f2ed3b
Fix a compilation error
2016-09-30 19:52:20 +02:00
Andreas Fabri
40e9c6f735
Move specializations of graph_traits the packages that are concerned
2016-09-30 15:22:29 +02:00
Andreas Fabri
ca1f19b392
Package BGL: Add includes
2016-09-30 15:22:29 +02:00
Laurent Rineau
5bd65fba58
Make split_graph_into_polylines deterministic
...
- There is a new argument, `Less`, that allows to sort the `std::set` of
vertex descriptors with a deterministic sort functor.
- The header `<CGAL/Mesh_3/polylines_to_protect.h>` defines and use such
a functor.
2016-09-29 17:41:32 +02:00
Laurent Rineau
0221c3727a
Fix a typo in the doc of the internal function
2016-09-29 14:48:29 +02:00
Maxime Gimeno
cf0d78da34
Use const references in the generators instead of simple references.
2016-09-28 10:59:11 +02:00
Maxime Gimeno
4754094f5f
Make working tests.
2016-09-28 10:48:07 +02:00
Maxime Gimeno
8469c45336
Enhance Prevent_deref API and use it.
2016-09-28 10:48:07 +02:00
Sébastien Loriot
b899dc4549
add default parameters
2016-09-28 10:46:42 +02:00
Maxime Gimeno
3eb1f4ca69
Clean-up
...
- Clean-up
- Moved Prevent_deref to CGAL/iterator.h
2016-09-28 10:45:46 +02:00
Sébastien Loriot
e2f7efa58a
clean up
2016-09-28 10:45:45 +02:00
Maxime Gimeno
35a328b1bf
Move Halfedge_and_face_graph_property_maps.h to BGL.
2016-09-28 10:45:45 +02:00
Jane Tournois
b475497db2
add missing graph_has_property for edge_weight_t
2016-09-22 12:10:06 +02:00
Jane Tournois
661a55f8e6
use Has_member_id where it's possible, and add missing graph_has_property structs
2016-09-22 12:10:06 +02:00
Jane Tournois
d1da692ce7
add partial specializations of graph_has_property for existing internal pmaps
2016-09-22 12:05:51 +02:00
Jane Tournois
c8de3e32f1
add class to check whether a class has member function id()
...
this function is also able to detect the id() function in
base classes, however the number of derivations is large
I will add the test `test_Has_member_id.cpp` to the BGL package to test
this functionality
2016-09-22 12:05:51 +02:00
Jane Tournois
73492e7767
add graph_has_property
...
a struct intended to check whether Graph has an internal property map
for the parameter tag `PropertyTag`
2016-09-22 12:05:51 +02:00
Sébastien Loriot
ff1b240a37
replace assert by CGAL_assertion in CGAL code
2016-08-25 11:12:17 +02:00
Sebastien Loriot
af5c8210b7
Add missing requirements
2016-07-07 14:25:29 +02:00
Sebastien Loriot
fc44ee3051
Merge pull request #1180 from sloriot/BGL-fix_edge_hash
...
fix edge hash
2016-06-24 13:24:27 +02:00
Sébastien Loriot
c3f7310355
handle default constructed edges
2016-06-16 16:47:59 +02:00
Sébastien Loriot
f7090e4b71
remove debug output
2016-06-15 14:32:44 +02:00
Sébastien Loriot
d94ef9467f
fix the hash for edges
...
it returns the hash value of the smallest edge
2016-06-15 14:29:59 +02:00
Andreas Fabri
20c97edb12
The edge_weight must be the lenth, and not the squared length
2016-06-14 14:17:14 +02:00
Sebastien Loriot
40e36d41b5
Merge pull request #1138 from afabri/BGL-hash_OpenMesh-GF
...
Add hash_value and specialization of hash for OpenMesh
2016-06-08 14:18:29 +02:00
Andreas Fabri
d84be563f8
Add hash_value and specialization of hash for OpenMesh
2016-06-06 19:10:58 +02:00
Andreas Fabri
a9e8981278
Document that vertex and face type must be Hashable
2016-06-06 14:05:51 +02:00
Sebastien Loriot
64e8bbe44f
Update copy_face_graph.h
2016-06-06 13:50:33 +02:00
Sébastien Loriot
fc5c70f7b3
Merge remote-tracking branch 'cgal/releases/CGAL-4.8-branch'
2016-05-23 10:53:33 +02:00
Maxime Gimeno
a54b648050
Fix for heap out of space
2016-05-09 10:46:43 +02:00
Laurent Rineau
5ac3473d96
Fix a "typo"?
...
Actually, the difference between `boost::disable_if` and
`boost::lazy_disable_if` is really important (one "dereference" of
`::type` or not). The fact is that I had not tested correctly: I had
tested only with `test/PMP`, whereas there was a compilation error in
`examples/PMP`.
2016-05-06 11:59:27 +02:00
Maxime Gimeno
91669afc36
Fix for get
2016-05-04 12:20:34 +02:00
Laurent Rineau
f39805f8d6
Merge pull request #1014 from afabri/BGL_use_put_get-GF
...
Add using get and put to help VC++; Add a testcase
2016-04-22 15:25:03 +02:00
Andreas Fabri
0bebd2cbd0
Move the using from properties_Polyhedron.h to property_map.h
2016-04-18 11:24:45 +02:00
Andreas Fabri
ca284090b2
move the using ::put to the put that VC++ has problems with
2016-04-18 09:36:16 +02:00
Andreas Fabri
aace47d473
Add using get and put to help VC++; Add a testcase
2016-04-15 17:10:12 +02:00
Andreas Fabri
cd367c4104
Take fix from janetournois:BGL-fix_conversion_of_boundary_halfedges-jtournois
2016-04-15 10:07:03 +02:00
Philipp Möller
72b2269958
Use Cartesian_converter for point property
2016-04-15 10:04:43 +02:00
Philipp Möller
b1666cece7
Improve wording
2016-04-15 10:04:42 +02:00
Philipp Möller
4df63ef37f
Specify correct concept
2016-04-15 10:04:41 +02:00
Philipp Möller
2b98567b2b
Use an internal v2v as well
2016-04-15 10:04:38 +02:00
Philipp Möller
d559271761
Add trickery for default template arguments
2016-04-15 10:04:36 +02:00
Philipp Möller
0fa954bc8a
Use f2f argument
2016-04-15 10:04:34 +02:00
Philipp Möller
e664952918
Basic documentation
2016-04-15 10:04:33 +02:00
Philipp Möller
56987c5062
Use output iterators and default them
2016-04-15 10:04:32 +02:00
Philipp Möller
6a5bf5f4ce
Rename the file
2016-04-15 10:03:46 +02:00
Philipp Möller
b63a2d7312
Rename convert_surface_mesh and add to doc
2016-04-15 10:02:16 +02:00
Laurent Rineau
fceba01368
Merge pull request #918 from afabri/HDS-hash-GF
...
Add hash_value for edge_descriptor of HDS
2016-04-14 15:07:47 +02:00
Laurent Rineau
8e604f70f2
Merge modifications from 'releases/CGAL-4.8-branch'
...
Merges the following:
> dbb2be1 Merge pull request #983 from lrineau/Mesh_3-fix_test_meshing_3D_gray_image-lrineau
> 5dcd5c7 Merge pull request #958 from gdamiand/BGL-bugfix-gdamiand
> 869e65a CGAL-4.8 announcement
2016-04-05 11:24:19 +02: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
Laurent Rineau
ae33af9222
Merge branch 'releases/CGAL-4.8-branch'
...
Merges the following fixes:
> 4025913 Merge pull request #949 from janetournois/BGL-fix_conversion_of_boundary_halfedges-jtournois
> 9c62628 Merge pull request #948 from janetournois/PMP-fix_assertion_isotropic_remeshing-jtournois
> f61402d Merge pull request #929 from sloriot/Polyhedron_demo-Isotropic_remeshing_preserve_duplicates
See also:
* https://github.com/CGAL/cgal/pull/949
* https://github.com/CGAL/cgal/pull/948
* https://github.com/CGAL/cgal/pull/929
2016-03-31 10:55:12 +02:00
Laurent Rineau
4025913a8e
Merge pull request #949 from janetournois/BGL-fix_conversion_of_boundary_halfedges-jtournois
...
BGL convert_surface_mesh : convert also boundary halfedges
2016-03-31 10:54:29 +02:00
Laurent Rineau
145b3dbe77
Merge fixes to Surface_mesh and BGL from 4.8
...
Merge branch 'releases/CGAL-4.8-branch'. Merges:
> 0b5fa6a Merge pull request #945 from sloriot/BGL-OpenMesh_free_functions
> 681e08d Merge pull request #947 from sloriot/SM_shortest_path-fix_package_info
2016-03-29 12:01:15 +02:00
Jane Tournois
2bc034dee1
don't forget to map boundary halfedges
2016-03-25 10:55:07 +01:00
Laurent Rineau
076c982dbf
Merge pull request #676 from bo0ts/BGL-document_dual-pmoeller
...
BGL: document Dual
2016-03-24 17:11:27 +01:00
Laurent Rineau
00e6e03d5c
Merge pull request #785 from afabri/CGAL-missing_includes-GF
...
Partial cleanup of issue #595 Part2
2016-03-24 17:02:27 +01:00
Sébastien Loriot
0354c3913a
BGL functions must be in OpenMesh namespace
...
this was detected by a qualified call to get for variant
(cherry picked from commit 309f91f1550be0653ffa00d59ee040cc8777d0b6)
2016-03-24 15:55:30 +01: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
Andreas Fabri
eddb7b7dbe
Add hash_value for edge_descriptor of HDS
2016-03-15 14:30:54 +01:00
Andreas Fabri
beb1417477
remove unused header files; remove commented includes; changed include paths
2016-02-15 14:20:12 +01:00
Sebastien Loriot
718eae7a00
Merge pull request #714 from sgiraudot/CGAL-Fix_boost_warning_unused_typedef-GF
...
Fix boost warning (unused typedef)
2016-02-05 14:59:28 +01:00
Sébastien Loriot
8cee2ef1dd
Merge pull request #686 from afabri/Kernel_fix-warnings-GF
...
Fix warnings concerning indentation and unused parameter
2016-02-03 09:49:54 +01:00
Philipp Möller
5e05cb6205
Also use Key argument
...
Those functions trigger a hard error when a call such as
`get<XXX>(something)` is made. Using all template arguments makes it go
away, but why this is a hard error is still baffling.
2016-02-02 17:06:49 +01:00
Philipp Möller
ed17a8f57d
Add free dual function
2016-02-02 16:00:31 +01:00
Philipp Möller
44fdb662b0
Add documentation for members
2016-02-02 16:00:31 +01:00
Philipp Möller
9c0cc1319e
Prevent use of other vertex/face properties
2016-02-02 16:00:31 +01:00
Philipp Möller
b1deeabe56
More doc
2016-02-02 16:00:31 +01:00
Philipp Möller
9c9256da8c
Add the overloads to fix face/vertex_index_t
2016-02-02 16:00:31 +01:00
Philipp Möller
7fc6441903
Add generic property forwarding
2016-02-02 16:00:31 +01:00
Philipp Möller
2b20ea5e92
Add missing graph functions
2016-02-02 16:00:31 +01:00
Philipp Möller
b3cf47a81b
Directly forward the traversal category
2016-02-02 16:00:31 +01:00
Philipp Möller
2a0e76a29f
Add initial documentation
2016-02-02 16:00:31 +01:00
Simon Giraudot
d9b3b40dc0
Add CGAL_UNUSED after BOOST_CONCEPT_ASSERT to avoid unused typedef warnings
2016-02-02 12:59:42 +01:00
Sébastien Loriot
f02e570690
avoid unused variable warning
2016-01-29 14:18:09 +01:00
Sébastien Loriot
ccdb47318f
add missing header
2016-01-25 10:29:20 +01:00
Sébastien Loriot
4c4b191209
Merge pull request #604 from bo0ts/BGL-add_clear-pmoeller
...
Add BGL helper CGAL::clear
2016-01-23 09:18:56 +01:00
Sébastien Loriot
cf08261299
Merge pull request #652 from sloriot/BGL-document_selection_functions
...
BGL: document selection functions
2016-01-20 17:13:21 +01:00
Sébastien Loriot
13de98a97a
consistantly rename graph variable
2016-01-20 17:09:10 +01:00
Sébastien Loriot
d9e1472468
document all selection functions
2016-01-19 11:32:56 +01:00
Sébastien Loriot
c1459d3f20
rename dilate/erode function after review
2016-01-19 11:32:49 +01:00
Sébastien Loriot
afc38f5a7b
remove extra comment
2016-01-19 11:32:34 +01:00
Sébastien Loriot
b10b78c0c1
first step to document selection functions
2016-01-19 11:32:10 +01:00
Sébastien Loriot
1792146afd
document split_graph_into_polylines
2016-01-19 09:30:00 +01:00
Philipp Möller
7cf791fa0f
Improve documentation to mention clear
2016-01-08 14:48:28 +01:00
Philipp Möller
e7ed448862
Add clear overload for OpenMesh
2016-01-08 12:34:46 +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
Philipp Möller
9766b8f350
Add traits class to check for member clear
2015-12-27 17:03:17 +01:00
Sébastien Loriot
554036b699
Merge remote-tracking branch 'cgal/releases/CGAL-4.7-branch'
2015-11-23 09:55:22 +01:00
Sebastien Loriot
019856b8c4
Merge pull request #494 from afabri/BGL-fix_Halfedges_around_source_bug-GF
...
Fix bug in Halfedge_around_source_circulator
2015-11-23 09:43:50 +01:00
Sébastien Loriot
dbe07942c4
Merge remote-tracking branch 'cgal/releases/CGAL-4.7-branch'
2015-11-20 14:48:11 +01:00
Andreas Fabri
48f367e68b
fix bug and improve testsuite
2015-11-20 09:56:55 +01:00
Andreas Fabri
170636b15b
add const qualifier
2015-11-19 16:03:43 +01:00
Sebastien Loriot
d605b6b95f
Merge pull request #457 from janetournois/Polygon_mesh_processing-local_remeshing-GF
...
Polygon mesh processing - add isotropic remeshing
2015-11-17 13:25:45 +01:00
Sébastien Loriot
eef03023fe
is_border cannot be used in a file included by CGAL/boost/graph/helpers.h
2015-11-16 17:12:41 +01:00
Sébastien Loriot
c6469e6c97
add missing include directives
2015-11-16 17:12:27 +01:00
Andreas Fabri
66e0abc87e
fixes: add missing typename; use graph_traits; read from a file
2015-11-16 10:05:58 +01:00
Andreas Fabri
bf6cfaa8d9
include header which pragma pushes a warning
2015-11-14 09:44:04 +01:00
Andreas Fabri
6706cc58c4
include header which pragma pushes a warning
2015-11-13 09:47:25 +01:00
Andreas Fabri
f805b65f7d
suppress warning in boost as this has to be solved upstream
2015-11-12 09:41:24 +01:00
Jane Tournois
e2c6f6961b
Merge branch 'BGL-SurfaceMesh2SurfaceMesh-GF' into Polygon_mesh_processing-local_remeshing-GF
2015-11-09 12:38:58 +01:00
Jane Tournois
d1c2573822
fix unused typedef warning
2015-11-09 12:36:37 +01:00
Sébastien Loriot
03db4f7256
add missing license headers
2015-11-05 20:13:07 +01:00
Sébastien Loriot
0072b649e2
Merge branch 'old/Polygon_mesh_processing-local_remeshing-GF' into Polygon_mesh_processing-local_remeshing-GF
2015-11-05 20:11:10 +01:00
Sébastien Loriot
c6e649aa9b
Merge branch 'Polygon_mesh_processing-local_remeshing-GF-old' into Polygon_mesh_processing-local_remeshing-GF
...
and adapt plugin to CGAL::Three
2015-11-05 20:07:15 +01:00
Sébastien Loriot
54ca52b538
Merge branch 'BGL-SurfaceMesh2SurfaceMesh-GF' into Polygon_mesh_processing-local_remeshing-GF
2015-11-05 19:25:00 +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
Jane Tournois
fe09c5483e
do not use the brackets [] API of std::map, but an API compatible with boost::bimap
2015-09-22 15:07:49 +02:00
Jane Tournois
1bbd90f25b
remove redundancy to avoid conflicts when both files are included
2015-09-22 14:55:13 +02:00
Jane Tournois
2a47fd5c0b
Merge remote-tracking branch 'remotes/cgal-dev/BGL-OpenTriMesh-GF' into BGL-SurfaceMesh2SurfaceMesh-GF
2015-09-22 12:21:31 +02:00
Andreas Fabri
bb208ab2d6
Fix halfedge(v, PolyMesh) + fixes for conversion from OpenMesh to Polyhedron
2015-09-21 16:41:24 +02:00
Andreas Fabri
881a9aefcc
Check that the incident halfedge is not the null_halfedge
...
It is astonishing that add_face works for the PolyMesh
but not for the TriMesh. The function is_isolated(V)
does not the right thing for a TriMesh
2015-09-21 15:49:34 +02:00
Andreas Fabri
cff5745e3d
Duplicate the graph traits from PolyMesh to TriMesh
2015-09-21 14:53:42 +02:00
Andreas Fabri
66b3d24af3
Add converter between models of FaceGraph
2015-09-21 12:00:11 +02:00
Andreas Fabri
72c7781b56
Comment add_edge(V,V, OM) as it conflicts with Euler::add_edge(V,V,MFG)
2015-09-21 11:59:07 +02:00
Andreas Fabri
43058e81c0
set_halfedge(..) was called twice
2015-09-17 10:08:23 +02: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
Laurent Rineau
7ddefbdcc8
Merge pull request #297 from afabri/CGAL-assert-GF
...
assert() should not be used in CGAL headers!
2015-09-07 10:58:20 +02:00
Jane Tournois
ce54198aa7
Merge branch 'Polygon_mesh_processing-local_remeshing-GF-old' into Polygon_mesh_processing-local_remeshing-GF
2015-09-02 15:57:23 +02:00
Andreas Fabri
1e2ff1131e
assert -> CGAL_assertion
2015-08-27 16:51:55 +02:00
Laurent Rineau
0fd6f2fa59
Merge pull request #288 from afabri/CGAL-add_hash-GF
...
No longer forward declare struct std:hash
Fixes issues #287 and #274 .
2015-08-27 15:41:50 +02:00
Andreas Fabri
5030ed42b8
deal with graph_traits_HalfedgeDS.h and graph_traits_Triangulation_2.h
2015-08-25 09:34:17 +02:00
Jane Tournois
86896278e5
Merge branch 'Polygon_mesh_processing-local_remeshing-GF-old' into Polygon_mesh_processing-local_remeshing-GF
2015-08-07 13:02:35 +02:00
Laurent Rineau
70c08ae2bf
Merge pull request #217 from bo0ts/Surface_mesh-drop_fusion-pmoeller
...
Drop Boost.Fusion from Surface_mesh
2015-07-31 14:27:30 +02:00
Philipp Möller
0b5e682985
Clean up some includes
2015-07-30 14:16:26 +02:00
Laurent Rineau
8be7c27063
Merge remote-tracking branch 'cgal-public-dev/CGAL-Qt5_support-GF' into CGAL-Qt5_support-GF
...
...aka refresh the branch from 'master'.
Conflicts:
AABB_tree/demo/AABB_tree/Scene.cpp
Polyhedron/demo/Polyhedron/Scene_edit_polyhedron_item.cpp
2015-07-28 15:30:17 +02:00
Jane Tournois
bb3d38c9e7
Merge branch 'Polygon_mesh_processing-local_remeshing-GF-old' into Polygon_mesh_processing-local_remeshing-GF
2015-07-23 17:50:34 +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
Laurent Rineau
08666dce25
Merge pull request #179 from afabri/CGAL-add_hash-GF
...
Add boost::hash and std::hash
https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Small_Features/hash
Conflicts:
Installation/changes.html
2015-07-17 15:39:18 +02:00
Sébastien Loriot
5d2c892dbe
Merge pull request #149 'lrineau/Polygon_mesh_processing-GF'
...
Add various functions to manipulate polygon meshes
2015-07-17 14:50:56 +02:00
Sébastien Loriot
5ac79c737f
use two variable names to avoid warnings and possible issues
2015-07-17 09:40:22 +02:00
Sébastien Loriot
c89fa4bd53
simplify bgl named parameters handling with boost < 1.51 and make PMP compatible
2015-07-16 16:01:21 +02:00
Jane Tournois
817d28515c
duplicate every function in the overload for tuple<visitor, graph>
2015-07-15 16:02:30 +02:00
Laurent Rineau
7a7c4fa447
<boost/core/ref.hpp> appeared in Boost-1.56
...
The compatibility path is <boost/ref.hpp>.
2015-07-15 16:02:30 +02:00
Laurent Rineau
6303dbeb7d
Fix a syntax error not detected my MSVC
2015-07-15 16:02:30 +02:00
Jane Tournois
4b7a997df0
add the ability to use a Visitor for a BGL graph using an overload of graph_traits
...
TODO : is_valid(mesh) does not compile on msvc. To be fixed
2015-07-15 16:02:30 +02:00
Jane Tournois
4ba9dbd71b
fix constness
2015-07-15 16:02:30 +02:00
Jane Tournois
d34d47a6d5
Revert "detect sharp edges and surface patches"
...
This reverts commit 80b1363f1db4db8391398188bcb33427ffc69aac.
2015-07-15 16:02:23 +02:00
Jane Tournois
83957ed495
add code to the selection tool to be able to select a surface patch
...
for now it works only for facets and the checkbox is not used
2015-07-15 16:02:23 +02:00
Laurent Rineau
2a9b9330c3
Revert "Merge pull request #143 from bo0ts/Surface_mesh-gcc44_fixes-pmoeller"
...
This reverts commit 8cffc8be58 , reversing
changes made to c1a0afd97a .
Philipp (@bo0ts) will open a new pull-request so solve the issue.
2015-07-14 18:29:43 +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
Laurent Rineau
fa13f4ed0c
Merge remote-tracking branch 'philaris/sdglinf-philaris' into CGAL-Qt5_support-GF
2015-07-10 17:28:07 +02:00
Sébastien Loriot
e7563d3e05
Merge branch 'gsoc13-CurveSkeleton-new_package-xgao'
...
Conflicts:
Installation/changes.html
2015-07-09 17:30:24 +02:00
Sébastien Loriot
e4277165c6
make an assertion tagged as expensive
2015-07-08 11:44:10 +02:00
Andreas Fabri
2dea6db3bb
Merge branch 'CGAL-add_hash-GF-old' into CGAL-add_hash-GF
...
Conflicts:
Surface_mesh/include/CGAL/Surface_mesh/Surface_mesh.h
2015-07-06 10:51:23 +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
Philipp Möller
224d63be58
On GCC 4.4 with C++0x enabled, ADL + next is unreliable
...
This is a combination of two bugs: the call to next should pick up
CGAL::next to begin with and even if it didn't iterator_traits should
arguably be SFINAE friendly. See
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40497
We fix this by fully qualifying the call on the affected compiler. To
make this work we have to partially break the dependency between
CGAL/boost/graph/iterator.h and CGAL/boost/graph/graph_traits_Surface_mesh.h
2015-06-29 13:13:10 +02:00
Philipp Möller
0cda240dd1
Clean up some includes
2015-06-29 13:13:09 +02:00
Jane Tournois
bab9c51189
fix documentation
2015-06-25 11:49:35 +02:00
Sébastien Loriot
f6a2479472
fix compilation issues with g++
2015-06-22 11:23:31 +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
Laurent Rineau
c61663b6ca
Merge branch 'releases/CGAL-4.6-branch'
2015-06-05 16:45:53 +02:00
Andreas Fabri
dadb129147
g++ needs a forward declaration for std::hash
2015-06-02 08:46:20 +02:00
Andreas Fabri
56c16d581c
use CGAL naming conventions
2015-06-01 12:35:52 +02:00
Andreas Fabri
b6850d35c0
#include <functional> and suppress struct/class warning for VC10
2015-06-01 10:42:52 +02:00
Andreas Fabri
c30a000ce3
bug fix. The iterator did not dereference to opposite faces
2015-05-29 09:16:32 +02:00
Laurent Rineau
5b374cbeb1
Merge pull request #77 from afabri/BGL-helpers-GF
...
Document and complete BGL helper functions
2015-05-26 12:27:15 +02:00
Jane Tournois
68b5acb9b3
Merge branch 'Polygon_mesh_processing_OpenMesh-GF' of github.com:CGAL/cgal-public-dev into Polygon_mesh_processing_OpenMesh-GF
2015-05-15 12:03:13 +02:00
Jane Tournois
f5c9d9fce5
fix is_valid_polygon_mesh
2015-05-15 12:02:02 +02:00
Andreas Fabri
57e2c27b73
use generic is_valid test
2015-05-15 11:22:33 +02:00
Andreas Fabri
09ea32096d
Add generic is_valid_polygon_mesh() to BGL Helpers
2015-05-15 10:52:31 +02:00
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
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