summaryrefslogtreecommitdiff
path: root/src/Spatial_searching/include/gudhi/Spatial_tree_data_structure.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Spatial_searching/include/gudhi/Spatial_tree_data_structure.h')
-rw-r--r--src/Spatial_searching/include/gudhi/Spatial_tree_data_structure.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Spatial_searching/include/gudhi/Spatial_tree_data_structure.h b/src/Spatial_searching/include/gudhi/Spatial_tree_data_structure.h
index 99f67fed..9f7503eb 100644
--- a/src/Spatial_searching/include/gudhi/Spatial_tree_data_structure.h
+++ b/src/Spatial_searching/include/gudhi/Spatial_tree_data_structure.h
@@ -67,10 +67,12 @@ template <typename K, typename Point_container_>
class Spatial_tree_data_structure
{
public:
- typedef typename Point_container_::value_type Point;
+ /// The kernel.
typedef K Kernel;
/// Number type used for distances.
typedef typename Kernel::FT FT;
+ /// The point type.
+ typedef typename Point_container_::value_type Point;
typedef CGAL::Search_traits<
FT, Point,