Ponca  cfae91c4e985f62659abecaccc35a41888257251
Point Cloud Analysis library
Loading...
Searching...
No Matches
knnGraphTraits.h
1/*
2 This Source Code Form is subject to the terms of the Mozilla Public
3 License, v. 2.0. If a copy of the MPL was not distributed with this
4 file, You can obtain one at http://mozilla.org/MPL/2.0/.
5*/
6
7#pragma once
8
9#include <Eigen/Geometry>
10
11namespace Ponca
12{
13
17 template <typename _DataPoint>
19 {
30
31 private:
32 using Scalar = typename DataPoint::Scalar;
33 using VectorType = typename DataPoint::VectorType;
34
35 public:
41 using AabbType = Eigen::AlignedBox<Scalar, DataPoint::Dim>;
42
43 // Containers
44 using IndexType = int;
45 using PointContainer = std::vector<DataPoint>;
46 using IndexContainer = std::vector<IndexType>;
47 };
48} // namespace Ponca
Aggregator class used to declare specialized structures using CRTP.
Definition basket.h:318
typename P::Scalar Scalar
Scalar type used for computation, as defined from template parameter P
Definition basket.h:326
This Source Code Form is subject to the terms of the Mozilla Public License, v.
The default traits type used by the kd-tree.
Eigen::AlignedBox< Scalar, DataPoint::Dim > AabbType
The type used to calculate node bounding boxes.