Commit Graph

134 Commits

Author SHA1 Message Date
Sébastien Loriot 2f9408f867 rename link name to match package name 2018-10-08 10:28:55 +02:00
Sébastien Loriot a2e8a1c68f add the suffix Ref to doxygen link to reference 2018-10-08 10:26:56 +02:00
Maxime Gimeno 6dfa8d0ba3 replace CGAL_is_valid(Mesh) by CGAL::is_valid_polygon_mesh(Mesh) 2018-05-03 12:03:14 +02:00
Laurent Rineau adb826d25b Subdivision: Use named parameters from the BGL package
That will remove the dependency to PMP.
2018-03-22 19:05:51 +01:00
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
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
Andreas Fabri a3f91464aa GeometryFactory bought the copyright from Le-Jeng Shiue 2011-09-29 09:10:07 +00:00
Laurent Rineau 79ca48f02a Missing #include 2010-06-24 08:52:54 +00:00
Andreas Fabri 9c5dee3848 Remove inclusion of header file that is not used 2010-06-22 12:39:49 +00:00
Andreas Fabri 6b5e50ff0b Cast size_t to int as degree will never be that big 2010-06-22 12:38:53 +00:00
Sébastien Loriot 52317dd49f add python script (replace_CGAL_NAMESPACE.py) to replace CGAL_BEGIN_NAMESPACE and CGAL_END_NAMESPACE
by namespace CGAL { and } //namespace CGAL. in all .h and .cpp files
in a directory.
Apply it to all packages in the trunk
Remove macro definition from the config.h file.
2010-06-09 07:37:13 +00:00
Laurent Rineau 4ebbfca867 C++ conformance: make sure things are declared because they are used. 2010-05-21 16:54:35 +00:00
Andreas Fabri 3c2bf43937 Add 'this->' for ansi-compliance 2010-05-10 08:06:25 +00:00
Andreas Fabri b7e5ebab2a prefix macro with CGAL 2010-02-26 15:15:08 +00:00
Sylvain Pion 0e1d5031e7 Use CGAL_PI instead of an approximate value. 2008-04-15 17:38:09 +00:00
Sylvain Pion 6a44c220a9 make automatic grep-checks easier 2007-02-15 21:27:34 +00:00
Sylvain Pion f6c0295fc5 macros must be prefixed by CGAL_ 2007-02-15 21:22:58 +00:00
Marc Glisse b13e3b5ec0 Last round of missing std:: before 3.2 (Andreas permission) 2006-04-19 16:56:12 +00:00
Le-Jeng Shiue d9b0424db2 Change the license of the source codes to LGPL. 2006-04-19 03:42:03 +00:00
Le-Jeng Shiue 5b35530823 Make the point computation more CGAL like 2006-03-08 06:10:58 +00:00
Le-Jeng Shiue e358a077d8 Change the package name to Subdivision_method_3 2006-02-18 00:46:03 +00:00