summaryrefslogtreecommitdiff
path: root/src/Alpha_complex/example
diff options
context:
space:
mode:
authorvrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2018-06-18 21:50:42 +0000
committervrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2018-06-18 21:50:42 +0000
commit5a2b1b9c0c79ef2b0595cf1f9428596261824b45 (patch)
treec5f1d83b47a828eeb87238603a104ff7f1f34341 /src/Alpha_complex/example
parent3ad2102607abfcd9beb6d1c9da05c14452747652 (diff)
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
Diffstat (limited to 'src/Alpha_complex/example')
-rw-r--r--src/Alpha_complex/example/traits_test.cpp9
1 files changed, 9 insertions, 0 deletions
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_shapes_3d> weighted_alpha_complex(points, weights);
+ using Periodic_alpha_shapes_3d = Gudhi::alpha_complex::Periodic_alpha_shapes_3d;
+ std::vector<Periodic_alpha_shapes_3d::Point_3> 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_shapes_3d> periodic_alpha_complex(points,
+ 0., 0., 0.,
+ 1., 1., 1.);
+
return 0;
}