diff options
author | vrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2018-07-04 06:21:07 +0000 |
---|---|---|
committer | vrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2018-07-04 06:21:07 +0000 |
commit | d5b5de5aa50c2fdc73d00bbdcf295caf44237a34 (patch) | |
tree | 1eac364fd03232ce21fd7c621599b9b17cf7710b /src/Alpha_complex/include/gudhi/Alpha_complex_3d_options.h | |
parent | 9b8bb34ff06b08119b8fa1e78c260886287c5a92 (diff) |
Fix SimplicialComplexForAlpha (dD version)
Write SimplicialComplexForAlpha3d concept
Add make_filtration_non_decreasing and prune_above_filtration mechanism for Alpha_complex_3d
Write documentation for Alpha_complex_3d ( still missing the user version)
Remove exact static bool from Alpha_complex_3d_options mechanism and add some comments on value_from_iterator functions
Fix Alpha_complex/utilities/CMakeLists.txt warnings
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/alpha_complex_3d_module_vincent@3667 636b058d-ea47-450e-bf9e-a15bfbe3eedb
Former-commit-id: 32e15aaf98df14a43eaef4a4af00de2ec418924c
Diffstat (limited to 'src/Alpha_complex/include/gudhi/Alpha_complex_3d_options.h')
-rw-r--r-- | src/Alpha_complex/include/gudhi/Alpha_complex_3d_options.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/Alpha_complex/include/gudhi/Alpha_complex_3d_options.h b/src/Alpha_complex/include/gudhi/Alpha_complex_3d_options.h index e1b246c5..567b19cb 100644 --- a/src/Alpha_complex/include/gudhi/Alpha_complex_3d_options.h +++ b/src/Alpha_complex/include/gudhi/Alpha_complex_3d_options.h @@ -55,6 +55,7 @@ public: static const bool weighted = false; static const bool periodic = false; + // Default value_from_iterator as Alpha_shape_3 is not exact template<class Filtration_value, class Alpha_value_iterator> static Filtration_value value_from_iterator(const Alpha_value_iterator avi) { return /*std::sqrt*/ *avi; @@ -77,8 +78,8 @@ public: static const bool weighted = false; static const bool periodic = false; - static const bool exact = true; + // value_from_iterator needs to compute filtration value as Alpha_shape_3 is exact template<class Filtration_value, class Alpha_value_iterator> static Filtration_value value_from_iterator(const Alpha_value_iterator avi) { return /*std::sqrt*/ CGAL::to_double(avi->exact()); @@ -103,8 +104,8 @@ public: static const bool weighted = true; static const bool periodic = false; - static const bool exact = false; + // Default value_from_iterator as Alpha_shape_3 is not exact template<class Filtration_value, class Alpha_value_iterator> static Filtration_value value_from_iterator(const Alpha_value_iterator avi) { return /*std::sqrt*/ *avi; @@ -134,8 +135,8 @@ public: static const bool weighted = false; static const bool periodic = true; - static const bool exact = false; + // Default value_from_iterator as Alpha_shape_3 is not exact template<class Filtration_value, class Alpha_value_iterator> static Filtration_value value_from_iterator(const Alpha_value_iterator avi) { return /*std::sqrt*/ *avi; @@ -163,8 +164,8 @@ public: static const bool weighted = true; static const bool periodic = true; - static const bool exact = false; + // Default value_from_iterator as Alpha_shape_3 is not exact template<class Filtration_value, class Alpha_value_iterator> static Filtration_value value_from_iterator(const Alpha_value_iterator avi) { return /*std::sqrt*/ *avi; |