Commit Graph

65 Commits

Author SHA1 Message Date
Sébastien Loriot c751a461ff copy descriptors as we are looping over them while modifying the mesh
done for all but DQQ
2017-12-11 17:53:05 +01:00
Sébastien Loriot c89abd7d72 fix conversion warnings 2017-12-11 12:17:35 +01:00
Sébastien Loriot 751c424aa0 make no assumption of the point map type 2017-12-11 11:00:05 +01:00
Laurent Rineau 68e94c95ec Merge pull request #2404 from sloriot/SM_3-fix_border_halfedge_for_border_node
Fix issues on the border of subdivided mesh
2017-09-15 16:23:15 +02:00
Sébastien Loriot 8cf200f6b0 improve phrasing 2017-09-08 08:38:33 +02:00
Sébastien Loriot c3833d0fb0 update border_node for Sqrt3
only one function that computes the coordinates of the interior points
and the update of the target vertex. We also make the function consistant
with other masks by requesting a non boundary halfedge
2017-09-07 15:57:45 +02:00
Sébastien Loriot 03f92c4d60 do not pass a border halfedge to border_node 2017-09-07 13:46:33 +02:00
Sébastien Loriot 30ea6631b0 use free functions as documented in the MutableFaceGraph concept 2017-09-06 17:12:38 +02:00
Mael Rouxel-Labbé aad0f9f792 Fixed namespace for named parameters 2017-05-12 10:54:00 +02:00
Mael Rouxel-Labbé 883d8a0a15 Fixed unsigned signed comparison 2017-05-12 10:34:56 +02:00
Mael Rouxel-Labbé fd97d9b973 Fixed typo in documentation 2017-05-12 10:34:56 +02:00
Mael Rouxel-Labbé 478a867e5e Fixed DooSabin subdivision when using the Polyhedron demo's Polyhedron items 2017-05-12 10:34:56 +02:00
Mael Rouxel-Labbé 3ea50c4567 Fixed missing include 2017-05-12 10:34:56 +02:00
Mael Rouxel-Labbé b5e935c817 Tiny cleaning 2017-05-12 10:34:56 +02:00
Mael Rouxel-Labbé 7982f9ea68 Restructured the subdivision package
-- Integrated the doc in the header files
-- Split and moved files to have a proper internal structure and to distinguish
   between hosts, stencils and methods at the filename level.
-- Removed all instances of Polyhedron to have PolygonMesh instead
-- Cleaned off useless functions (Polyhedron_decorator remnants)
-- Improved general documentation
-- Minor performance improvements
2017-05-12 10:34:56 +02:00
Mael Rouxel-Labbé 22d47f32b8 Updated the documentation 2017-05-12 10:34:56 +02:00
Mael Rouxel-Labbé cd75d44204 Misc cleaning 2017-05-12 10:34:56 +02:00
Mael Rouxel-Labbé a945dda767 Added support of the DooSabin subdivision for a SurfaceMesh
There are now two different implementations of the DooSabin subdivision,
depending on whether the halfedge is an index type. If this is the case,
we build the subdivided mesh from scratch instead of adding and removing
elements.

Benchmarks show around the same speed for both implementations.
2017-05-12 10:34:56 +02:00
Mael Rouxel-Labbé 15afe8fc14 Replaced reference to polyhedron with a pointer in Subdivision stencils
This allows to change the mask's polyhedron and property map, which is used
in one of the DooSabin implementations
2017-05-12 10:34:56 +02:00
Mael Rouxel-Labbé a74e6c0a14 Aesthetical changes in subdivision method impl 2017-05-12 10:34:56 +02:00
Mael Rouxel-Labbé e7bdd088eb Small change in DooSabin alternate 2017-05-12 10:34:56 +02:00
Mael Rouxel-Labbé 0ed206a5d0 Re-ordered functions in Subdivision_methods_3 2017-05-12 10:34:56 +02:00
Mael Rouxel-Labbé a50c455806 Added border handling for SQRT3 subdivision 2017-05-12 10:34:56 +02:00
Mael Rouxel-Labbé cdcfee8d23 Removed DQQ splitting
-- it is slower than tiling
-- it does not handle boundaries
2017-05-12 10:34:56 +02:00
Mael Rouxel-Labbé 8bf6a1c4bf Removed debug output 2017-05-12 10:34:56 +02:00
Mael Rouxel-Labbé 4ea673bdf9 Additional graph traits includes 2017-05-12 10:34:56 +02:00
Mael Rouxel-Labbé ed95dfe71f Added an alternative step for the DooSabin subdivision 2017-05-12 10:34:56 +02:00
Mael Rouxel-Labbé bdfa4e3bdc Trailing whitespace 2017-05-12 10:34:56 +02:00
Mael Rouxel-Labbé 47dd47acd5 Compilation fixes 2017-05-12 10:34:56 +02:00
Andreas Fabri 7885eda044 WIP Debugging Doo-Saboin for a Surface_mesh with border 2017-05-12 10:34:56 +02:00
Andreas Fabri 3b5c631aa9 polish 2017-05-12 10:34:56 +02:00
Andreas Fabri c02b755e27 Complete the testsuite, and fix errors it revealed 2017-05-12 10:34:56 +02:00
Andreas Fabri 3de1756a6a Generalize documentation 2017-05-12 10:34:56 +02:00
Andreas Fabri 43a59d8fcc Introduce named parameters for CatmullClark 2017-05-12 10:34:56 +02:00
Andreas Fabri 511197ebd9 Start changing the manual 2017-05-12 10:34:56 +02:00
Andreas Fabri d91ffb8fa3 Make Sqrt1_subdivision work 2017-05-12 10:34:56 +02:00
Andreas Fabri 299d748adf Loop subdivision now works for Surface_mesh 2017-05-12 10:34:56 +02:00
Andreas Fabri dfc877cd2a CatmullClark now works with borders too 2017-05-12 10:34:56 +02:00
Andreas Fabri 0d76fac839 Try to deal with borders but border vertex coordinates are wrong 2017-05-12 10:34:56 +02:00
Andreas Fabri d0ff17d11d Get CatmullClark subdivision to work for a Surface_mesh without borders 2017-05-12 10:34:56 +02:00
Andreas Fabri 645c56a11a towards FaceGraph 2017-05-12 10:34:56 +02:00
Sébastien Loriot 1f3b57e93a fix Loop scheme sqrt -> square 2014-04-25 07:20:39 +02:00
Andreas Fabri 6c547e5663 Mainly added includes 2013-09-13 22:24:30 +02:00
Andreas Fabri 7a17cc98a4 deal with Polynomial (only partially), Subdivision_method, Surface_mesher, Surface_reconstruction 2013-01-31 09:18:28 +01:00
Guillaume Damiand 5e4d2eb175 Remove unused type in Subdivision_method_impl_3.h, detect in AABB_tree demo 2013-01-23 13:55:25 +01:00
Laurent Rineau a04891ff93 WARNFIX: fix some warnings triggered by -Wconversion on g++ 2012-08-09 16:06:54 +00:00
Philipp Möller 79b30908d5 WARNFIX: Silence a good part of unused variable/parameter warnings.
Wextra results in a dreadful wall of yellow in the test-suite and is
scary when using CGAL. Reduce some of the noise by silencing the
obvious cases with CGAL_USE or comments.
2012-08-07 11:04:32 +00:00
Laurent Rineau db194534c7 First big patch to fix -Wunused-local-typedefs
-Wunused-local-typedefs is a new warning flag of gcc-4.7, and it will enabled
 by -Wall since gcc-4.8 (not yet released).

The fix is a big set of removals of unused typedefs (or comments, or moves,
depending on the context).
2012-08-01 13:29:16 +00:00
Sébastien Loriot 91a5327fa8 change LGPLv2 -> LGPLv3 2011-10-10 13:48:25 +00:00
Laurent Rineau 72f1f7b81a Fix typos 2011-09-29 09:17:48 +00:00