33 #ifndef vtkAbstractPointLocator_h
34 #define vtkAbstractPointLocator_h
36 #include "vtkCommonDataModelModule.h"
59 virtual vtkIdType FindClosestPoint(
const double x[3]) = 0;
60 vtkIdType FindClosestPoint(
double x,
double y,
double z);
68 virtual vtkIdType FindClosestPointWithinRadius(
69 double radius,
const double x[3],
double& dist2) = 0;
80 virtual void FindClosestNPoints(
int N,
const double x[3],
vtkIdList* result) = 0;
81 void FindClosestNPoints(
int N,
double x,
double y,
double z,
vtkIdList* result);
91 virtual void FindPointsWithinRadius(
double R,
const double x[3],
vtkIdList* result) = 0;
92 void FindPointsWithinRadius(
double R,
double x,
double y,
double z,
vtkIdList* result);
99 virtual double*
GetBounds() {
return this->Bounds; }
void GetBounds(T a, double bds[6])
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