template<std::size_t Dimension>
struct maliput::math::details::NodeCmp< Dimension >
Functor for comparing points according to the given dimension being evaluated at that point.
- Template Parameters
-
Dimension | The dimension of the points. |
#include <include/maliput/math/kd_tree.h>
|
| NodeCmp (std::size_t index) |
|
template<typename Node > |
bool | operator() (const Node &lhs, const Node &rhs) const |
| Compares two nodes according to the given dimension being evaluated at that point. More...
|
|
◆ NodeCmp()
◆ operator()()
bool operator() |
( |
const Node & |
lhs, |
|
|
const Node & |
rhs |
|
) |
| const |
Compares two nodes according to the given dimension being evaluated at that point.
- Template Parameters
-
Node | The type of the nodes. It must provide a method get_coordinate() for getting the underlying point. |
- Parameters
-
lhs | First node. |
rhs | Second node. |
◆ index_
const std::size_t index_ {} |
The documentation for this struct was generated from the following file: