Struct KDTreeBaseClass::Node

Nested Relationships

This struct is a nested type of Template Class KDTreeBaseClass.

Struct Documentation

struct Node

Public Members

Offset left
Offset right

Indices of points in leaf node.

struct nanoflann::KDTreeBaseClass::Node::[anonymous]::leaf lr
Dimension divfeat

Dimension used for subdivision.

DistanceType divlow

The values used for subdivision.

DistanceType divhigh
struct nanoflann::KDTreeBaseClass::Node::[anonymous]::nonleaf sub
union nanoflann::KDTreeBaseClass::Node::[anonymous] node_type

Union used because a node can be either a LEAF node or a non-leaf node, so both data fields are never used simultaneously

Node *child1 = nullptr

Child nodes (both=nullptr mean its a leaf node)

Node *child2 = nullptr