summaryrefslogtreecommitdiff
path: root/src/Alpha_complex/example/Weighted_alpha_complex_3d_from_points.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Alpha_complex/example/Weighted_alpha_complex_3d_from_points.cpp')
-rw-r--r--src/Alpha_complex/example/Weighted_alpha_complex_3d_from_points.cpp13
1 files changed, 3 insertions, 10 deletions
diff --git a/src/Alpha_complex/example/Weighted_alpha_complex_3d_from_points.cpp b/src/Alpha_complex/example/Weighted_alpha_complex_3d_from_points.cpp
index abb73427..1b60ccd8 100644
--- a/src/Alpha_complex/example/Weighted_alpha_complex_3d_from_points.cpp
+++ b/src/Alpha_complex/example/Weighted_alpha_complex_3d_from_points.cpp
@@ -8,17 +8,10 @@
#include <vector>
#include <limits> // for numeric limits
-using Weighted_alpha_shapes_3d = Gudhi::alpha_complex::Weighted_alpha_shapes_3d;
-using Weighted_alpha_complex_3d = Gudhi::alpha_complex::Alpha_complex_3d<Weighted_alpha_shapes_3d>;
-using Point = Gudhi::alpha_complex::Weighted_alpha_shapes_3d::Point_3 ;
+using Weighted_alpha_complex_3d = Gudhi::alpha_complex::Alpha_complex_3d<Gudhi::alpha_complex::complexity::exact, true, false>;
+using Point = Weighted_alpha_complex_3d::Point_3 ;
using Vector_of_points = std::vector<Point>;
-using Vector_of_weights = std::vector<Gudhi::alpha_complex::Weighted_alpha_shapes_3d::Alpha_shape_3::FT>;
-
-void usage(int nbArgs, char * const progName) {
- std::cerr << "Error: Number of arguments (" << nbArgs << ") is not correct\n";
- std::cerr << "Usage: " << progName << " \n";
- exit(-1); // ----- >>
-}
+using Vector_of_weights = std::vector<Weighted_alpha_complex_3d::Alpha_shape_3::FT>;
int main(int argc, char **argv) {
if (argc != 1) {