diff options
Diffstat (limited to 'src/Nerve_GIC/example/VoronoiGIC.cpp')
-rw-r--r-- | src/Nerve_GIC/example/VoronoiGIC.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Nerve_GIC/example/VoronoiGIC.cpp b/src/Nerve_GIC/example/VoronoiGIC.cpp index f000c263..20fe2480 100644 --- a/src/Nerve_GIC/example/VoronoiGIC.cpp +++ b/src/Nerve_GIC/example/VoronoiGIC.cpp @@ -37,7 +37,6 @@ int main(int argc, char **argv) { std::string off_file_name(argv[1]); int m = atoi(argv[2]); bool verb = 0; if(argc == 4) verb = 1; - //int mask = 0; // ---------------------------------------------------------------------------- // Init of a graph induced complex from an OFF file @@ -51,13 +50,15 @@ int main(int argc, char **argv) { if(!check) std::cout << "Incorrect OFF file." << std::endl; else{ + GIC.set_type("GIC"); + GIC.set_color_from_coordinate(); GIC.set_graph_from_OFF(); GIC.set_cover_from_Voronoi(Gudhi::Euclidean_distance(),m); - GIC.find_GIC_simplices(); + GIC.find_simplices(); GIC.plot_OFF(); |