| 1084 | return this->CurrentPtArray + (3 * localPos); |
| 1085 | } |
| 1086 | float* vtkPKdTree::GetLocalValNext(int pos) |
| 1087 | { |
| 1088 | if ((pos < this->StartVal[this->MyId]) || (pos > this->EndVal[this->MyId])) |
| 1089 | { |
| 1090 | return nullptr; |
| 1091 | } |
| 1092 | int localPos = pos - this->StartVal[this->MyId]; |
| 1093 | |
| 1094 | return this->NextPtArray + (3 * localPos); |
| 1095 | } |
| 1096 | void vtkPKdTree::SetLocalVal(int pos, float* val) |
| 1097 | { |
| 1098 | if ((pos < this->StartVal[this->MyId]) || (pos > this->EndVal[this->MyId])) |