diff options
author | Vincent Rouvreau <10407034+VincentRouvreau@users.noreply.github.com> | 2019-11-16 22:58:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-16 22:58:25 +0100 |
commit | 6c341ffd5500f6393467fce3f5e091afc354d25b (patch) | |
tree | f1f33cc70852959c4dbed2266cccd126074b3560 /src/Alpha_complex/example/Weighted_alpha_complex_3d_from_points.cpp | |
parent | 184587947b18daf57583c7cb111ad315b8d48a43 (diff) | |
parent | 6d2e5d1cbdecd86ad4d56fc8902542caca2cf2bd (diff) |
Merge pull request #123 from VincentRouvreau/alpha_complex_3d_get_point
Add a get_point method for Alpha_complex_3d.
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.cpp | 12 |
1 files changed, 6 insertions, 6 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 ac11b68c..fcf80802 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 @@ -10,7 +10,7 @@ // Complexity = FAST, weighted = true, periodic = false using Weighted_alpha_complex_3d = Gudhi::alpha_complex::Alpha_complex_3d<Gudhi::alpha_complex::complexity::SAFE, true, false>; -using Point = Weighted_alpha_complex_3d::Point_3; +using Bare_point = Weighted_alpha_complex_3d::Bare_point_3; using Weighted_point = Weighted_alpha_complex_3d::Weighted_point_3; int main(int argc, char **argv) { @@ -18,11 +18,11 @@ int main(int argc, char **argv) { // Init of a list of points and weights from a small molecule // ---------------------------------------------------------------------------- std::vector<Weighted_point> weighted_points; - weighted_points.push_back(Weighted_point(Point(1, -1, -1), 4.)); - weighted_points.push_back(Weighted_point(Point(-1, 1, -1), 4.)); - weighted_points.push_back(Weighted_point(Point(-1, -1, 1), 4.)); - weighted_points.push_back(Weighted_point(Point(1, 1, 1), 4.)); - weighted_points.push_back(Weighted_point(Point(2, 2, 2), 1.)); + weighted_points.push_back(Weighted_point(Bare_point(1, -1, -1), 4.)); + weighted_points.push_back(Weighted_point(Bare_point(-1, 1, -1), 4.)); + weighted_points.push_back(Weighted_point(Bare_point(-1, -1, 1), 4.)); + weighted_points.push_back(Weighted_point(Bare_point(1, 1, 1), 4.)); + weighted_points.push_back(Weighted_point(Bare_point(2, 2, 2), 1.)); // ---------------------------------------------------------------------------- // Init of an alpha complex from the list of points |