summaryrefslogtreecommitdiff
path: root/src/Simplex_tree/example/simplex_tree_from_alpha_shapes_3.cpp
diff options
context:
space:
mode:
authorvrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2015-01-30 10:39:46 +0000
committervrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2015-01-30 10:39:46 +0000
commit56fdae5689fa3b99384a597af50cd92d2a4141d7 (patch)
treec18fb7f5273fc64733a3a5033ddf36eabc1e61e7 /src/Simplex_tree/example/simplex_tree_from_alpha_shapes_3.cpp
parentd08910390a55140278dd079876c1995844520d37 (diff)
Add insert_simplex_and_subfaces. Insert renamed insert_simplex. TU modified. Filtration propagation to be done.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/trunk@446 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 26cbe4f4abb3bdd5fb88959fd94f6ef30d283c3f
Diffstat (limited to 'src/Simplex_tree/example/simplex_tree_from_alpha_shapes_3.cpp')
-rw-r--r--src/Simplex_tree/example/simplex_tree_from_alpha_shapes_3.cpp4
1 files changed, 2 insertions, 2 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 d831e31e..5f797e93 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
@@ -200,7 +200,7 @@ int main (int argc, char * const argv[])
// alpha shape not found
Simplex_tree_vertex vertex = map_cgal_simplex_tree.size();
#ifdef DEBUG_TRACES
- std::cout << "vertex [" << the_alpha_shape_vertex->point() << "] not found - insert " << vertex << std::endl;
+ std::cout << "vertex [" << the_alpha_shape_vertex->point() << "] not found - insert_simplex " << vertex << std::endl;
#endif // DEBUG_TRACES
the_simplex_tree.push_back(vertex);
map_cgal_simplex_tree.insert(Alpha_shape_simplex_tree_pair(the_alpha_shape_vertex,vertex));
@@ -218,7 +218,7 @@ int main (int argc, char * const argv[])
#ifdef DEBUG_TRACES
std::cout << "filtration = " << *the_alpha_value_iterator << std::endl;
#endif // DEBUG_TRACES
- simplex_tree.insert(the_simplex_tree, std::sqrt(*the_alpha_value_iterator));
+ simplex_tree.insert_simplex(the_simplex_tree, std::sqrt(*the_alpha_value_iterator));
if (the_alpha_value_iterator != the_alpha_values.end())
++the_alpha_value_iterator;
else