diff options
author | vrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2015-11-09 11:58:11 +0000 |
---|---|---|
committer | vrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2015-11-09 11:58:11 +0000 |
commit | 97364487c2d4b687865b57a90169d78d803d9710 (patch) | |
tree | 6661ca38aa7e5d4f382d44bcc11dd7be0f8614bf /src/Alpha_complex/example | |
parent | 03b68a5206201bf5bbffb7e4f6a6718907f23b2a (diff) | |
parent | 72f647ad4b802d08072925a374324e7ace4b2c4d (diff) |
Backmerge from trunk.
Alpha complex code review.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/alphashapes@894 636b058d-ea47-450e-bf9e-a15bfbe3eedb
Former-commit-id: 702c4d667de4e7191d1050e6d855d2f79117f954
Diffstat (limited to 'src/Alpha_complex/example')
-rw-r--r-- | src/Alpha_complex/example/Alpha_complex_from_points.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Alpha_complex/example/Alpha_complex_from_points.cpp b/src/Alpha_complex/example/Alpha_complex_from_points.cpp index b160d702..e2610dbd 100644 --- a/src/Alpha_complex/example/Alpha_complex_from_points.cpp +++ b/src/Alpha_complex/example/Alpha_complex_from_points.cpp @@ -1,8 +1,8 @@ -#include <stdio.h> #include <stdlib.h> #include <CGAL/Delaunay_triangulation.h> #include <CGAL/Epick_d.h> +#include <iostream> #include <string> #include <vector> @@ -33,8 +33,7 @@ int main(int argc, char **argv) { // Init of an alpha complex from the list of points // ---------------------------------------------------------------------------- double max_alpha_square_value = 1e10; - Gudhi::alphacomplex::Alpha_complex<Kernel> alpha_complex_from_points(3, points.size(), points.begin(), points.end(), - max_alpha_square_value); + Gudhi::alphacomplex::Alpha_complex<Kernel> alpha_complex_from_points(3, points, max_alpha_square_value); // ---------------------------------------------------------------------------- // Display information about the alpha complex |