summaryrefslogtreecommitdiff
path: root/src/Simplex_tree/example
diff options
context:
space:
mode:
authorglisse <glisse@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2014-12-19 12:20:17 +0000
committerglisse <glisse@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2014-12-19 12:20:17 +0000
commit13d0187c32e6763ff21db40610ebed7840fecb90 (patch)
treeebbb38247606cf1e36f9c1a1caf22aafb42db0ea /src/Simplex_tree/example
parenteeee96aba3d0309e0cd394702f7d2fd05f4e21f4 (diff)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/trunk@392 636b058d-ea47-450e-bf9e-a15bfbe3eedb
Former-commit-id: 04b09a05cd060aa026e33749597227038545f587
Diffstat (limited to 'src/Simplex_tree/example')
-rw-r--r--src/Simplex_tree/example/simplex_tree_from_alpha_shapes_3.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Simplex_tree/example/simplex_tree_from_alpha_shapes_3.cpp b/src/Simplex_tree/example/simplex_tree_from_alpha_shapes_3.cpp
index dd76dfcf..e6ba6072 100644
--- a/src/Simplex_tree/example/simplex_tree_from_alpha_shapes_3.cpp
+++ b/src/Simplex_tree/example/simplex_tree_from_alpha_shapes_3.cpp
@@ -139,10 +139,10 @@ int main (int argc, char * const argv[])
lp.push_back(p);
}
- // alpha shape construction from points
- Alpha_shape_3 as(lp.begin(),lp.end());
+ // alpha shape construction from points. CGAL has a bug in REGULARIZED mode.
+ Alpha_shape_3 as(lp.begin(),lp.end(),0,Alpha_shape_3::GENERAL);
#ifdef DEBUG_TRACES
- std::cout << "Alpha shape computed in REGULARIZED mode by default" << std::endl;
+ std::cout << "Alpha shape computed in GENERAL mode" << std::endl;
#endif // DEBUG_TRACES
// filtration with alpha values from alpha shape