 |
VTK
9.1.0
|
Go to the documentation of this file.
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);
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; }
vtkIdType NumberOfBuckets
void PrintSelf(ostream &os, vtkIndent indent) override
Standard type and print methods.
abstract base class for objects that accelerate spatial searches
~vtkAbstractPointLocator() override
void GetBounds(T a, double bds[6])
a simple class to control print indentation
list of point or cell ids
vtkAbstractPointLocator()
abstract class to quickly locate points in 3-space
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.