summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorROUVREAU Vincent <vincent.rouvreau@inria.fr>2020-09-17 10:24:30 +0200
committerROUVREAU Vincent <vincent.rouvreau@inria.fr>2020-09-17 10:24:30 +0200
commit77c0275031f47bb94f94d02d63182178e46f6570 (patch)
treec93b03e4e58537c0226fcaf856e5f9bbd03e4ce3
parent837ffddda60d3f389184fe167710f74ad8adf36b (diff)
Remove useless code
-rw-r--r--src/Alpha_complex/include/gudhi/Alpha_complex.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/Alpha_complex/include/gudhi/Alpha_complex.h b/src/Alpha_complex/include/gudhi/Alpha_complex.h
index 1d395bd8..be0a5b95 100644
--- a/src/Alpha_complex/include/gudhi/Alpha_complex.h
+++ b/src/Alpha_complex/include/gudhi/Alpha_complex.h
@@ -60,27 +60,6 @@ namespace alpha_complex {
template<typename D> struct Is_Epeck_D { static const bool value = false; };
template<typename D> struct Is_Epeck_D<CGAL::Epeck_d<D>> { static const bool value = true; };
-template<class Kernel, bool Weighted>
-struct Weight;
-
-template<class Kernel>
-struct Weight<Kernel, true>
-{
- typename Kernel::FT operator()(const typename Kernel::Weighted_point_d& p) const
- {
- return p.weight();
- }
-};
-
-template<class Kernel>
-struct Weight<Kernel, false>
-{
- typename Kernel::FT operator()(const typename Kernel::Point_d& p) const
- {
- return 0.;
- }
-};
-
/**
* \class Alpha_complex Alpha_complex.h gudhi/Alpha_complex.h
* \brief Alpha complex data structure.