Is there a bucket point interesection test?

I am using celllocator and would like to know if I can load cells from a bucket a particular point is at

From vtkCellLocator.h:
/**

  • Get the cells in a particular bucket.
    /
    virtual vtkIdList
    GetCells(int bucket);

Hmmm I was going to suggest vtkStaticCellLocator because it’s faster to build (threaded), but it looks like the GetCells() method isn’t available (a variant could readily be added, you’d want to make it thread safe). I suppose as a hack you could always use FindCellsWithinBounds() with the bounds specified to the bucket size etc.

1 Like