31 return myPos(idx0)[dim] < myPos(idx1)[dim] ? -1 : 1;
33 const float *
getP(
int idx)
const override {
return myPos(idx).vec; }
void setBalancer(ut_KDBalancer balance)
GU_SortKDTree(size_t size)
void setMaxLeafNodes(int max_leaf_nodes)
void setPos(int idx, const UT_Vector3 &pos)
const int * getIndices() const
int comparePosition(int idx0, int idx1, int dim) const override
exint entries() const
Alias of size(). size() is preferred.
const float * getP(int idx) const override
Return the position associated with the given point.