diff options
author | vrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2016-12-13 12:36:20 +0000 |
---|---|---|
committer | vrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2016-12-13 12:36:20 +0000 |
commit | 1860c2f5e93b789fa14095668dc0b62d94dddfa5 (patch) | |
tree | 0d39adb61f6f272df2890777a608908eed02b013 /src/Tangential_complex | |
parent | 0c277327bb7fbbc096825ed817458440930cca33 (diff) |
example point display
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/tangential_test@1864 636b058d-ea47-450e-bf9e-a15bfbe3eedb
Former-commit-id: 1a97b8a9c1f7aff6cdeae8a2fa0eef911f4a5596
Diffstat (limited to 'src/Tangential_complex')
-rw-r--r-- | src/Tangential_complex/example/example.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Tangential_complex/example/example.cpp b/src/Tangential_complex/example/example.cpp index fa25ac53..f740cb1c 100644 --- a/src/Tangential_complex/example/example.cpp +++ b/src/Tangential_complex/example/example.cpp @@ -41,6 +41,9 @@ int main(void) { std::cout << "TC vertices = " << tc.number_of_vertices() << " - simplices = " << num_inc.num_simplices << " - inconsistencies = " << num_inc.num_inconsistent_simplices << std::endl; + std::cout << "TC point[0] " << tc.get_point(0) << " - point[1] " << tc.get_point(1) << + " - point[2] " << tc.get_point(2) << " - point[3] " << tc.get_point(3) << std::endl; + // Export the TC into a Simplex_tree Gudhi::Simplex_tree<> stree; int max_dim = tc.create_complex(stree); @@ -67,7 +70,7 @@ int main(void) { stree.initialize_filtration(); std::cout << "********************************************************************\n"; - std::cout << "* The complex contains " << stree.num_simplices() << " simplices\n"; + std::cout << "* The complex contains " << stree.num_simplices() << " simplices"; std::cout << " - dimension " << stree.dimension() << " - filtration " << stree.filtration() << "\n"; std::cout << "* Iterator on Simplices in the filtration, with [filtration value]:\n"; for (auto f_simplex : stree.filtration_simplex_range()) { |