21#ifndef vtkAbstractPointLocator_h 
   22#define vtkAbstractPointLocator_h 
   24#include "vtkCommonDataModelModule.h"  
   27VTK_ABI_NAMESPACE_BEGIN
 
   58    double radius, 
const double x[3], 
double& dist2) = 0;
 
   88  virtual double* 
GetBounds() { 
return this->Bounds; }
 
abstract class to quickly locate points in 3-space
 
~vtkAbstractPointLocator() override
 
virtual void GetBounds(double *)
Provide an accessor to the bounds.
 
virtual void FindPointsWithinRadius(double R, const double x[3], vtkIdList *result)=0
Find all points within a specified radius R of position x.
 
virtual vtkIdType FindClosestPoint(const double x[3])=0
Given a position x, return the id of the point closest to it.
 
virtual double * GetBounds()
Provide an accessor to the bounds.
 
vtkAbstractPointLocator()
 
vtkIdType FindClosestPoint(double x, double y, double z)
Given a position x, return the id of the point closest to it.
 
virtual void FindClosestNPoints(int N, const double x[3], vtkIdList *result)=0
Find the closest N points to a position.
 
void PrintSelf(ostream &os, vtkIndent indent) override
Standard type and print methods.
 
vtkIdType NumberOfBuckets
 
void FindPointsWithinRadius(double R, double x, double y, double z, vtkIdList *result)
Find all points within a specified radius R of position x.
 
void FindClosestNPoints(int N, double x, double y, double z, vtkIdList *result)
Find the closest N points to a position.
 
virtual vtkIdType FindClosestPointWithinRadius(double radius, const double x[3], double &dist2)=0
Given a position x and a radius r, return the id of the point closest to the point in that radius.
 
list of point or cell ids
 
a simple class to control print indentation
 
abstract base class for objects that accelerate spatial searches