From 5a2b1b9c0c79ef2b0595cf1f9428596261824b45 Mon Sep 17 00:00:00 2001 From: vrouvrea Date: Mon, 18 Jun 2018 21:50:42 +0000 Subject: Add periodic 3d Alpha shapes git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/alpha_complex_3d_module_vincent@3622 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: a97b603cf83c5f9a80404dd5786896e51015ee08 --- src/Alpha_complex/example/traits_test.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/Alpha_complex/example/traits_test.cpp') diff --git a/src/Alpha_complex/example/traits_test.cpp b/src/Alpha_complex/example/traits_test.cpp index 63b9740c..4402ecf3 100644 --- a/src/Alpha_complex/example/traits_test.cpp +++ b/src/Alpha_complex/example/traits_test.cpp @@ -31,5 +31,14 @@ int main(int argc, char **argv) { Gudhi::alpha_complex::Alpha_complex_3d weighted_alpha_complex(points, weights); + using Periodic_alpha_shapes_3d = Gudhi::alpha_complex::Periodic_alpha_shapes_3d; + std::vector p_points; + p_points.push_back(Alpha_shapes_3d::Point_3(1., 2., 3.)); + p_points.push_back(Alpha_shapes_3d::Point_3(6., 5., 4.)); + + Gudhi::alpha_complex::Alpha_complex_3d periodic_alpha_complex(points, + 0., 0., 0., + 1., 1., 1.); + return 0; } -- cgit v1.2.3