Commit Graph

80 Commits

Author SHA1 Message Date
Maxime Gimeno 7fa4b380d2 fixes in includes logic. 2018-02-02 12:08:05 +01:00
Simon Giraudot 8f6205f657 Update namespace in Subdivision method 2018-01-10 16:38:36 +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
Laurent Rineau 1c2e9df8cf Merge branch 'releases/CGAL-4.11-branch' 2017-12-19 16:29:10 +01:00
Sébastien Loriot c2ae22d2d1 fix conversion warnings 2017-12-14 10:31:18 +01:00
Sébastien Loriot 8def8ba0f4 remove unused variable 2017-12-13 10:09:06 +01:00
Sébastien Loriot f7569e6613 make no assumption on the position of border vertices 2017-12-12 17:11:18 +01:00
Sébastien Loriot 6342f9a732 fix remaining point reference 2017-12-12 14:41:41 +01:00
Sébastien Loriot eac197b2cb fix type 2017-12-12 14:30:28 +01:00
Sébastien Loriot 68a7fbbe3a use only one implementation for DQQ
this is possible now as all the descriptors are first
copied into internal vectors
2017-12-12 11:20:17 +01:00
Sébastien Loriot 9aa82afc2a copy descriptors as we are looping over them while modifying the mesh for DQQ 2017-12-12 11:17:14 +01:00
Mael Rouxel-Labbé ad947da752 Give each package a NamedParameters.txt 2017-12-12 00:07:57 +01:00
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
Simon Giraudot 8c996bb788 Update tag in Subdivision methods 2017-12-11 12:12:36 +01:00
Sébastien Loriot 751c424aa0 make no assumption of the point map type 2017-12-11 11:00:05 +01:00
Sébastien Loriot 0698f79aff add SPDX identifier for files under the LGPL-3+ license 2017-11-12 10:17:50 +01:00
Laurent Rineau f8c0a68c7a 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:31:18 +02: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