------------------------------------------------------------------------------ Specify a spatial locator for merging points. By default, an instance of vtkMergePoints is used.
| 485 | // Specify a spatial locator for merging points. By default, |
| 486 | // an instance of vtkMergePoints is used. |
| 487 | void vtkBoxClipDataSet::CreateDefaultLocator() |
| 488 | { |
| 489 | if (this->Locator == nullptr) |
| 490 | { |
| 491 | this->Locator = vtkMergePoints::New(); |
| 492 | this->Locator->Register(this); |
| 493 | this->Locator->Delete(); |
| 494 | } |
| 495 | } |
| 496 | |
| 497 | //------------------------------------------------------------------------------ |
| 498 | // Set the box for clipping |
no test coverage detected