diff options
author | fgodi <fgodi@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2016-11-23 15:16:58 +0000 |
---|---|---|
committer | fgodi <fgodi@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2016-11-23 15:16:58 +0000 |
commit | 4f3df33523249ebd0dbb5e5a5412b5c4bd9df5a8 (patch) | |
tree | 06d1fe6b8564d76dfa92336e2725c4698722472a /src/Bottleneck_distance/include | |
parent | 6dd7403da12dff125e1dedacbc2ed0ec67e643ba (diff) |
Construct_coord_iterator
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/bottleneck_integration@1775 636b058d-ea47-450e-bf9e-a15bfbe3eedb
Former-commit-id: fd492a001d49e2a11dbd9ac04d3174acff888d5f
Diffstat (limited to 'src/Bottleneck_distance/include')
-rw-r--r-- | src/Bottleneck_distance/include/gudhi/Internal_point.h | 16 | ||||
-rw-r--r-- | src/Bottleneck_distance/include/gudhi/Planar_neighbors_finder.h | 2 |
2 files changed, 1 insertions, 17 deletions
diff --git a/src/Bottleneck_distance/include/gudhi/Internal_point.h b/src/Bottleneck_distance/include/gudhi/Internal_point.h index f05d5fc9..90b5dd14 100644 --- a/src/Bottleneck_distance/include/gudhi/Internal_point.h +++ b/src/Bottleneck_distance/include/gudhi/Internal_point.h @@ -45,22 +45,6 @@ struct Internal_point { return point_index==p.point_index; } bool operator!=(const Internal_point& p) const { return ! (*this == p); } -/* -Useless - friend void swap(Internal_point& a, Internal_point& b) - { - using std::swap; - double x_tmp = a.vec[0]; - double y_tmp = a.vec[1]; - int pi_tmp = a.point_index; - a.vec[0] = b.vec[0]; - a.vec[1] = b.vec[1]; - a.point_index = b.point_index; - b.vec[0] = x_tmp; - b.vec[1] = y_tmp; - b.point_index = pi_tmp; - } -*/ }; inline int null_point_index() { diff --git a/src/Bottleneck_distance/include/gudhi/Planar_neighbors_finder.h b/src/Bottleneck_distance/include/gudhi/Planar_neighbors_finder.h index 3a748169..8bd21267 100644 --- a/src/Bottleneck_distance/include/gudhi/Planar_neighbors_finder.h +++ b/src/Bottleneck_distance/include/gudhi/Planar_neighbors_finder.h @@ -35,7 +35,7 @@ #include <CGAL/Search_traits.h> #include <gudhi/Persistence_diagrams_graph.h> -#include <gudhi/Miscellaneous.h> +#include <gudhi/Construct_coord_iterator.h> namespace Gudhi { |