diff options
author | vrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2018-11-16 14:23:54 +0000 |
---|---|---|
committer | vrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2018-11-16 14:23:54 +0000 |
commit | 9fc5621abbf55da2883a33e53e7d1a18218dc99a (patch) | |
tree | d4d1f9feeb24e316848912c4493a2e7f6003859e /src | |
parent | 7b64e122ccda2f592a1a20c339318880302a92ed (diff) |
Doc review : User version bad description for Alpha complex 3d
Add a comment for alpha complex 3d example creation for templates
Code review : SAFE is now the default version
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/alpha_complex_3d_module_vincent@3990 636b058d-ea47-450e-bf9e-a15bfbe3eedb
Former-commit-id: a283cc630ac78634d6700aefb981d130c9464024
Diffstat (limited to 'src')
-rw-r--r-- | src/Alpha_complex/doc/Intro_alpha_complex.h | 6 | ||||
-rw-r--r-- | src/Alpha_complex/example/Weighted_alpha_complex_3d_from_points.cpp | 1 | ||||
-rw-r--r-- | src/Alpha_complex/include/gudhi/Alpha_complex_3d.h | 4 |
3 files changed, 7 insertions, 4 deletions
diff --git a/src/Alpha_complex/doc/Intro_alpha_complex.h b/src/Alpha_complex/doc/Intro_alpha_complex.h index 648fb6d6..fddab003 100644 --- a/src/Alpha_complex/doc/Intro_alpha_complex.h +++ b/src/Alpha_complex/doc/Intro_alpha_complex.h @@ -168,8 +168,10 @@ namespace alpha_complex { * * \section weighted3dexample 3d specific example * - * A specific module for Alpha complex is available in 3d (cf. Alpha_complex_3d) and allows to construct default, exact, - * weighted, periodic or weighted and periodic versions of alpha complexes + * A specific module for Alpha complex is available in 3d (cf. Alpha_complex_3d) and allows to construct standard, + * weighted, periodic or weighted and periodic versions of alpha complexes. Alpha values computation can be + * Gudhi::alpha_complex::complexity::FAST, Gudhi::alpha_complex::complexity::SAFE (default value) or + * Gudhi::alpha_complex::complexity::EXACT. * * This example builds the CGAL 3d weighted alpha shapes from a small molecule, and initializes the alpha complex with * it. This example is taken from <a href="https://doc.cgal.org/latest/Alpha_shapes_3/index.html#title13">CGAL 3d diff --git a/src/Alpha_complex/example/Weighted_alpha_complex_3d_from_points.cpp b/src/Alpha_complex/example/Weighted_alpha_complex_3d_from_points.cpp index 68f72f0a..3a69623f 100644 --- a/src/Alpha_complex/example/Weighted_alpha_complex_3d_from_points.cpp +++ b/src/Alpha_complex/example/Weighted_alpha_complex_3d_from_points.cpp @@ -7,6 +7,7 @@ #include <vector> #include <limits> // for numeric limits +// Complexity = EXACT, weighted = true, periodic = false using Weighted_alpha_complex_3d = Gudhi::alpha_complex::Alpha_complex_3d<Gudhi::alpha_complex::complexity::EXACT, true, false>; using Point = Weighted_alpha_complex_3d::Point_3; diff --git a/src/Alpha_complex/include/gudhi/Alpha_complex_3d.h b/src/Alpha_complex/include/gudhi/Alpha_complex_3d.h index 00a47d5c..b441a5b2 100644 --- a/src/Alpha_complex/include/gudhi/Alpha_complex_3d.h +++ b/src/Alpha_complex/include/gudhi/Alpha_complex_3d.h @@ -146,7 +146,7 @@ struct Value_from_iterator<complexity::EXACT, false> { * Duplicate points are inserted once in the Alpha_complex. This is the reason why the vertices may be not contiguous. * * \tparam Complexity shall be `Gudhi::alpha_complex::complexity`. Default value is - * `Gudhi::alpha_complex::complexity::FAST`. + * `Gudhi::alpha_complex::complexity::SAFE`. * * \tparam Weighted Boolean used to set/unset the weighted version of Alpha_complex_3d. Default value is false. * @@ -169,7 +169,7 @@ struct Value_from_iterator<complexity::EXACT, false> { * 3d Delaunay complex. * */ -template <complexity Complexity = complexity::FAST, bool Weighted = false, bool Periodic = false> +template <complexity Complexity = complexity::SAFE, bool Weighted = false, bool Periodic = false> class Alpha_complex_3d { // Epick = Exact_predicates_inexact_constructions_kernel // Epeck = Exact_predicates_exact_constructions_kernel |