Commit Graph

68164 Commits

Author SHA1 Message Date
Maxime Gimeno 61b8f5d294 Adding the missing doc files 2016-04-25 16:35:06 +02:00
Maxime Gimeno e1ee84df4e Fix removeChild 2016-04-25 16:35:06 +02:00
Maxime Gimeno 87b2b07956 WIP Correct the doc 2016-04-25 16:35:06 +02:00
Sebastien Loriot 5331ee42b5 Merge pull request #1009 from maxGimeno/Polyhedron_demo-Fix_menus-GF
Polyhedron demo : clean up for plugin loader and fix for menus segfault
2016-04-25 16:30:35 +02:00
Andreas Fabri db4c17ad68 fixes after Sebastien's remarks 2016-04-25 16:05:28 +02:00
Simon Giraudot 860a30201f Warning fix: explicit cast from pointer to bool 2016-04-25 11:14:04 +02:00
Jane Tournois eb1747b28b boost::size has compilation issues in boost 1.53 (see testsuite 4.9-Ic-29)
and FaceRange is model of Range, so .size() is available
2016-04-25 11:02:06 +02:00
Simon Giraudot 662efa2c8e Use CGAL_PI instead of M_PI 2016-04-25 11:01:40 +02:00
Simon Giraudot 763fd28a69 Warning fix: explicit conversion from double to FT 2016-04-25 10:05:47 +02:00
Guillaume Damiand 46a7eabc68 add include for EXIT_SUCCESS 2016-04-22 20:28:33 +02:00
Laurent Rineau 64ea03f9ec Fix a compilation error
`boost::size` does not exist unless `<boost/range/size.hpp>` is
included, at least on my machine.
2016-04-22 17:30:55 +02:00
Jane Tournois 99b7cb8216 check the face_index map to be checked actually is the internal map 2016-04-22 17:15:01 +02:00
Jane Tournois ccf66afe26 check face_index map is initialized
this is a minimal check, that checks that the 2 first faces of the range
do not share the same index
This test is not complete and the complete check should test that no 2 vertices
share the same index, but that's too costly to be worth it here
2016-04-22 16:25:17 +02:00
Laurent Rineau 9ea630eeb1 Merge changes from 'releases/CGAL-4.8-branch'
- Merge pull request #1023 from mglisse/NewKernel_d-solve_check-glisse
- Merge pull request #1025 from CGAL/Stream_support-Fix_io.h-lrineau
2016-04-22 15:41:59 +02:00
Jane Tournois 638b0ba9ab document that if face_index map exists internally, it should be initialized 2016-04-22 15:31:12 +02:00
Laurent Rineau 121e562dd6 Merge pull request #830 from afabri/Mesh_3-Default-GF
Introduce CGAL::Default for the geometric traits of Mesh_triangulation_3
2016-04-22 15:26:41 +02:00
Laurent Rineau 27b2d8578c Merge pull request #940 from afabri/Triangulation_2-Default-GF
Introduce CGAL::Default for the TDS of 2D constrained triangulations
2016-04-22 15:26:13 +02:00
Laurent Rineau 2a9ab3e7d8 Merge pull request #1005 from afabri/Kernel-compare_distance-GF
Add specializations for Compare_distance_3::operator() for points/segments
2016-04-22 15:25:52 +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
Laurent Rineau 1f5fb012ba Merge pull request #1015 from afabri/Mesh_3-accelerations-GF
Accelerate vertex removal in a 3D triangulation and saving a mesh
2016-04-22 15:24:06 +02:00
Laurent Rineau dc1d8e870d Merge pull request #1026 from maxGimeno/Polyhedron_demo-Fix_setColor-GF
Fix for Scene_polyhedron_item::setColor.
2016-04-22 15:19:13 +02:00
Laurent Rineau 0030eac1aa Merge pull request #1023 from mglisse/NewKernel_d-solve_check-glisse
NewKernel_d solve check glisse
2016-04-22 15:17:58 +02:00
Jane Tournois 7749a3402b Polygon should also be RandomAccessContainer 2016-04-22 15:04:10 +02:00
Jane Tournois 1c614bb0dc replace std::vector<Point> and std::vector<Polygon> with appropriate range concepts 2016-04-22 12:43:47 +02:00
Jane Tournois 9cf539c8a9 change requirement of PolygonRange
operator[], size(), begin() and end() are all available in RandomAccessContainer
2016-04-22 12:26:03 +02:00
Maxime Gimeno 54b1e2c3f3 Pops a warning box when an item cannot be meshed instead of segfaulting. 2016-04-22 11:30:10 +02:00
Sébastien Loriot 576d4ca727 fix background of line-edit 2016-04-22 11:21:50 +02:00
Maxime Gimeno 63c0a1e9cc Modification of the way of naming 2016-04-22 11:21:41 +02:00
Jane Tournois 5b56f2a6a8 fix doc 2016-04-22 11:18:50 +02:00
Jane Tournois 5b3b67798f update changes.html 2016-04-22 11:12:54 +02:00
Jane Tournois 4206f4fe68 use face_patch_map also in parallel mode 2016-04-22 11:07:24 +02:00
Jane Tournois b27447d2c0 fix badly resolved rebase conflict 2016-04-22 11:05:36 +02:00
Laurent Rineau 39a174d8f5 Merge pull request #1025 from CGAL/Stream_support-Fix_io.h-lrineau
Update io.h
2016-04-22 10:53:57 +02:00
Jane Tournois eb5056069c fix error of the merge conflits during rebase 2016-04-22 10:34:14 +02:00
Jane Tournois 304e53ef1e collect border of the ROI to keep it valid after remeshing
this commit also fixes a merge conflict badly resolved in the rebase process
2016-04-22 10:29:05 +02:00
Laurent Rineau 7a12fa8556 Merge pull request #1032 from sgiraudot/Polyhedron_demo-Bugfix_empty_polyhedron_item_color_map-GF
Bugfix: color map with empty Polyhedron
2016-04-22 10:26:39 +02:00
Simon Giraudot 21a631fa67 Bugfix: size is 0 if polyhedron is empty 2016-04-22 10:15:49 +02:00
Laurent Rineau 52f884589b Stupid typo! 2016-04-22 09:59:08 +02:00
Jane Tournois bfe4d815a2 document face_patch_map 2016-04-22 09:53:20 +02:00
Laurent Rineau 683fa43b69 Fix -Wconversion warnings (g++-5.3.1 Fedora 23) 2016-04-21 16:41:14 +02:00
Laurent Rineau b8e97aa9ce Fix conversions warnings detected by MSVC 2016-04-21 16:39:31 +02:00
Jane Tournois 21a869491b document face_patch_map 2016-04-21 16:00:40 +02:00
Jane Tournois 8e574f355a color sub-connected components on a polyhedron using selected edges as frontiers 2016-04-21 15:32:15 +02:00
Jane Tournois 2b3b07a2f9 add mising timer start 2016-04-21 15:32:13 +02:00
Jane Tournois a829161ca1 avoid computing connected_components when it's not needed 2016-04-21 15:32:12 +02:00
Jane Tournois e7c9bab5ae avoid constructing the Border_constraint_pmap when it's not needed
i.e. when it's given in the named parameters
2016-04-21 15:32:11 +02:00
Jane Tournois a8a8a669b8 export items that are necessary for external plugins that use them 2016-04-21 15:31:05 +02:00
Jane Tournois 883a52cd4f when no facet is selected, remesh all
this avoids selecting all facets to run isotropic remeshing

If no facet is selected, and as soon as one edge or one vertex is selected,
the whole polyhedron is remeshed, taking into account constrained vertices
and constrained edges
2016-04-21 15:31:04 +02:00
Jane Tournois 0a45c59bdd fix return type! 2016-04-21 15:31:02 +02:00
Jane Tournois 768c7439f7 make dealing with patch ids safer 2016-04-21 15:31:01 +02:00