95#ifndef vtkKdTreePointLocator_h
96#define vtkKdTreePointLocator_h
99#include "vtkCommonDataModelModule.h"
abstract class to quickly locate points in 3-space
list of point or cell ids
a simple class to control print indentation
class to quickly locate points in 3-space
void FindClosestNPoints(int N, const double x[3], vtkIdList *result) override
Find the closest N points to a position.
vtkIdType FindClosestPointWithinRadius(double radius, const double x[3], double &dist2) override
Given a position x and a radius r, return the id of the point closest to the point in that radius.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard type and print methods.
void GenerateRepresentation(int level, vtkPolyData *pd) override
See vtkLocator interface documentation.
~vtkKdTreePointLocator() override
void FindPointsWithinRadius(double R, const double x[3], vtkIdList *result) override
Find all points within a specified radius R of position x.
void BuildLocator() override
See vtkLocator interface documentation.
vtkIdType FindClosestPoint(const double x[3]) override
Given a position x, return the id of the point closest to it.
void FreeSearchStructure() override
See vtkLocator interface documentation.
static vtkKdTreePointLocator * New()
a Kd-tree spatial decomposition of a set of points
concrete dataset represents vertices, lines, polygons, and triangle strips