------------------------------------------------------------------------------
| 14 | |
| 15 | //------------------------------------------------------------------------------ |
| 16 | vtkClosestPointStrategy::vtkClosestPointStrategy() |
| 17 | { |
| 18 | // Preallocate for performance |
| 19 | this->PointIds->Allocate(16); |
| 20 | this->Neighbors->Allocate(32); |
| 21 | this->CellIds->Allocate(32); |
| 22 | this->NearPointIds->Allocate(32); |
| 23 | |
| 24 | this->PointLocator = nullptr; |
| 25 | } |
| 26 | |
| 27 | //------------------------------------------------------------------------------ |
| 28 | vtkClosestPointStrategy::~vtkClosestPointStrategy() |