Simplify PointLocatorBase
`PointLocatorBase` used to use CRTP. However, this pattern is unnecessary as the only real subclass it calls is Build, which does not need templating. The base class does not have to call the `PrepareForExecution` method, so it can provide its own features to derived classes more easily. Also moved `PointLocatorBase` out of the `internal` namespace. Although it provides little benefit other than a base class, it will make documenting its methods easier.
Showing
- docs/changelog/simplify-cell-locator-base.md 0 additions, 10 deletionsdocs/changelog/simplify-cell-locator-base.md
- docs/changelog/simplify-locator-bases.md 11 additions, 0 deletionsdocs/changelog/simplify-locator-bases.md
- vtkm/cont/CMakeLists.txt 2 additions, 0 deletionsvtkm/cont/CMakeLists.txt
- vtkm/cont/PointLocatorBase.cxx 31 additions, 0 deletionsvtkm/cont/PointLocatorBase.cxx
- vtkm/cont/PointLocatorBase.h 22 additions, 16 deletionsvtkm/cont/PointLocatorBase.h
- vtkm/cont/PointLocatorSparseGrid.h 3 additions, 7 deletionsvtkm/cont/PointLocatorSparseGrid.h
- vtkm/cont/internal/CMakeLists.txt 0 additions, 1 deletionvtkm/cont/internal/CMakeLists.txt
Loading
Please register or sign in to comment