class Geo::PointSplitState
Common construction state for a point kd-tree.
This just reduces the number of in/out arguments.
Variables
Name | Description |
---|---|
Geo::s32 m_LeafThreshold | The maximum number of points to consider as a leaf. Will be enforced to be at least 1. |
Geo::GeoArray< PointLeaf > & m_Leaves | Dynamic array to put leaves in. |
Geo::s32 m_MaxDepth | Potential helpful stat computed during construction. |
Geo::s32 m_NumPoints | Number of points in pointArray. |
Geo::v128 * m_PointArray | The array of points to build a tree from. |
Geo::GeoArray< PointSplit > & m_Splits | Dynamic array to put splits in. |
Functions
Name | Description |
---|---|
operator=(const PointSplitState &) | not implemented. Prevents a warning. |
PointSplitState(Geo::v128 *, Geo::s32, Geo::s32, Geo::GeoArray< PointSplit > &, Geo::GeoArray< PointLeaf > &) | Creates a PointSplitState. |
const PointSplitState& Geo::PointSplitState::operator=
public: const PointSplitState & operator=
(
const PointSplitState & rhs
)
not implemented. Prevents a warning.
Geo::PointSplitState::PointSplitState
public: PointSplitState
(
Geo::v128 * pointArray,
Geo::s32 numPoints,
Geo::s32 leafThreshold,
Geo::GeoArray< PointSplit > & splits,
Geo::GeoArray< PointLeaf > & leaves
)
Creates a PointSplitState.