#include <PointLocatorSparseGrid.h>
|
VTKM_EXEC void | FindInCell (const vtkm::Vec3f &queryPoint, const vtkm::Id3 &ijk, vtkm::Id &nearestNeighborId, vtkm::FloatDefault &nearestDistance2) const |
|
VTKM_EXEC void | FindInBox (const vtkm::Vec3f &queryPoint, const vtkm::Id3 &boxCenter, vtkm::Id level, vtkm::Id &nearestNeighborId, vtkm::FloatDefault &nearestDistance2) const |
|
VTKM_EXEC void | FindInPlane (const vtkm::Vec3f &queryPoint, const vtkm::Id3 &planeCenter, const vtkm::Id3 &div, const vtkm::Id3 &mod, const vtkm::Id3 &origin, vtkm::Id numInPlane, vtkm::Id &nearestNeighborId, vtkm::FloatDefault &nearestDistance2) const |
|
VTKM_EXEC void | FindInXPlane (const vtkm::Vec3f &queryPoint, const vtkm::Id3 &planeCenter, vtkm::Id level, vtkm::Id &nearestNeighborId, vtkm::FloatDefault &nearestDistance2) const |
|
VTKM_EXEC void | FindInYPlane (const vtkm::Vec3f &queryPoint, vtkm::Id3 planeCenter, vtkm::Id level, vtkm::Id &nearestNeighborId, vtkm::FloatDefault &nearestDistance2) const |
|
VTKM_EXEC void | FindInZPlane (const vtkm::Vec3f &queryPoint, vtkm::Id3 planeCenter, vtkm::Id level, vtkm::Id &nearestNeighborId, vtkm::FloatDefault &nearestDistance2) const |
|
◆ CoordPortalType
◆ IdPortalType
◆ PointLocatorSparseGrid()
◆ FindInBox()
◆ FindInCell()
◆ FindInPlane()
◆ FindInXPlane()
◆ FindInYPlane()
◆ FindInZPlane()
◆ FindNearestNeighbor()
Nearest neighbor search using a Uniform Grid.
Parallel search of nearesat neighbor for each point in the queryPoints
in the set of coords
. Returns neareast neighbot in nearestNeighborIds
and distances to nearest neighbor in distances
.
- Parameters
-
queryPoint | Point coordinates to query for nearest neighbor. |
nearestNeighborId | Neareast neighbor in the training dataset for each points in the test set |
distance2 | Squared distance between query points and their nearest neighbors. |
◆ CellLower
◆ CellUpper
◆ Coords
◆ Dims
vtkm::Id3 vtkm::exec::PointLocatorSparseGrid::Dims |
|
private |
◆ Dxdydz
◆ Min
◆ PointIds
The documentation for this class was generated from the following file: