The number of point ids in a bucket is determined by computing the difference between the offsets into the sorted points array.
| 237 | // The number of point ids in a bucket is determined by computing the |
| 238 | // difference between the offsets into the sorted points array. |
| 239 | vtkIdType GetNumberOfIds(vtkIdType bucketNum) |
| 240 | { |
| 241 | return (this->Offsets[bucketNum + 1] - this->Offsets[bucketNum]); |
| 242 | } |
| 243 | |
| 244 | // Given a bucket number, return the point ids in that bucket. |
| 245 | const vtkLocatorTuple<TIds>* GetIds(vtkIdType bucketNum) |
no outgoing calls
no test coverage detected