From 7955e76b2d410f373809a296de740c225456a0dd Mon Sep 17 00:00:00 2001 From: vrouvrea Date: Mon, 24 Aug 2015 12:07:36 +0000 Subject: get_point is const git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/alphashapes@754 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: fb4be75f9438bab94b68f551ae3bde73c980d131 --- src/Alpha_complex/include/gudhi/Alpha_complex.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Alpha_complex/include/gudhi/Alpha_complex.h b/src/Alpha_complex/include/gudhi/Alpha_complex.h index 518d1792..04fb185c 100644 --- a/src/Alpha_complex/include/gudhi/Alpha_complex.h +++ b/src/Alpha_complex/include/gudhi/Alpha_complex.h @@ -166,7 +166,7 @@ class Alpha_complex : public Simplex_tree<> { * @return The founded point. * @warning Exception std::out_of_range is thrown in case vertex is not in the map vertex_handle_to_iterator_. */ - Point_d get_point(Vertex_handle vertex) { + Point_d get_point(Vertex_handle vertex) const { auto found_it = vertex_handle_to_iterator_.find(vertex); if (found_it != vertex_handle_to_iterator_.end()) { return found_it->second->point(); -- cgit v1.2.3