------------------------------------------------------------------------------ Copy the geometric structure of an input point set object.
| 45 | //------------------------------------------------------------------------------ |
| 46 | // Copy the geometric structure of an input point set object. |
| 47 | void vtkPointSet::CopyStructure(vtkDataSet* ds) |
| 48 | { |
| 49 | vtkPointSet* ps = static_cast<vtkPointSet*>(ds); |
| 50 | |
| 51 | if (this->Points != ps->Points) |
| 52 | { |
| 53 | if (this->PointLocator) |
| 54 | { |
| 55 | this->PointLocator->Initialize(); |
| 56 | } |
| 57 | this->SetPoints(ps->Points); |
| 58 | |
| 59 | if (this->CellLocator) |
| 60 | { |
| 61 | this->CellLocator->Initialize(); |
| 62 | } |
| 63 | } |
| 64 | } |
| 65 | |
| 66 | //------------------------------------------------------------------------------ |
| 67 | void vtkPointSet::Cleanup() |
nothing calls this directly
no test coverage detected