diff options
author | vrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2018-03-22 08:36:00 +0000 |
---|---|---|
committer | vrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2018-03-22 08:36:00 +0000 |
commit | 0d0ca116e7fef77cc950b7e85380495661311d91 (patch) | |
tree | 09328b79afdbfb15b1bd166411a5d22c0136afc4 /src/Cech_complex/example | |
parent | 61c5f3a96c33ce4e6a90fefaef03c7c474ce51b5 (diff) |
Move Miniball in gudhi
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/cechcomplex_vincent@3302 636b058d-ea47-450e-bf9e-a15bfbe3eedb
Former-commit-id: 736e5c33a9593e4dfb5b19ddc745ab9852d71b40
Diffstat (limited to 'src/Cech_complex/example')
-rw-r--r-- | src/Cech_complex/example/CMakeLists.txt | 2 | ||||
-rw-r--r-- | src/Cech_complex/example/cech_complex_step_by_step.cpp | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/Cech_complex/example/CMakeLists.txt b/src/Cech_complex/example/CMakeLists.txt index ac32ff95..ab391215 100644 --- a/src/Cech_complex/example/CMakeLists.txt +++ b/src/Cech_complex/example/CMakeLists.txt @@ -6,6 +6,8 @@ target_link_libraries(Cech_complex_example_step_by_step ${Boost_PROGRAM_OPTIONS_ if (TBB_FOUND) target_link_libraries(Cech_complex_example_step_by_step ${TBB_LIBRARIES}) endif() +add_test(NAME Cech_complex_utility_from_rips_on_tore_3D COMMAND $<TARGET_FILE:Cech_complex_example_step_by_step> + "${CMAKE_SOURCE_DIR}/data/points/tore3D_300.off" "-r" "0.25" "-d" "3") add_executable ( Cech_complex_example_from_points cech_complex_example_from_points.cpp) if (TBB_FOUND) diff --git a/src/Cech_complex/example/cech_complex_step_by_step.cpp b/src/Cech_complex/example/cech_complex_step_by_step.cpp index 8705a3e5..0e7c4bbd 100644 --- a/src/Cech_complex/example/cech_complex_step_by_step.cpp +++ b/src/Cech_complex/example/cech_complex_step_by_step.cpp @@ -25,7 +25,7 @@ #include <gudhi/Simplex_tree.h> #include <gudhi/Points_off_io.h> -#include <Miniball/Miniball.hpp> +#include <gudhi/Miniball.hpp> #include <boost/program_options.hpp> @@ -55,7 +55,7 @@ class Cech_blocker { using Point_cloud = std::vector<Point>; using Point_iterator = Point_cloud::const_iterator; using Coordinate_iterator = Point::const_iterator; - using Min_sphere = Miniball::Miniball <Miniball::CoordAccessor<Point_iterator, Coordinate_iterator>>; + using Min_sphere = Gudhi::Miniball::Miniball <Gudhi::Miniball::CoordAccessor<Point_iterator, Coordinate_iterator>>; public: bool operator()(Simplex_handle sh) { std::vector<Point> points; |