30 #ifndef vtkAbstractPointLocator_h 31 #define vtkAbstractPointLocator_h 33 #include "vtkCommonDataModelModule.h" 56 virtual vtkIdType FindClosestPoint(
const double x[3]) = 0;
57 vtkIdType FindClosestPoint(
double x,
double y,
double z);
65 virtual vtkIdType FindClosestPointWithinRadius(
66 double radius,
const double x[3],
double& dist2) = 0;
77 virtual void FindClosestNPoints(
int N,
const double x[3],
vtkIdList* result) = 0;
78 void FindClosestNPoints(
int N,
double x,
double y,
double z,
vtkIdList* result);
88 virtual void FindPointsWithinRadius(
double R,
const double x[3],
vtkIdList* result) = 0;
89 void FindPointsWithinRadius(
double R,
double x,
double y,
double z,
vtkIdList* result);
96 virtual double*
GetBounds() {
return this->Bounds; }
97 virtual void GetBounds(
double*);
virtual double * GetBounds()
Provide an accessor to the bounds.
abstract base class for objects that accelerate spatial searches
void PrintSelf(ostream &os, vtkIndent indent) override
Standard type and print methods.
vtkIdType NumberOfBuckets
a simple class to control print indentation
abstract class to quickly locate points in 3-space
list of point or cell ids