42#ifndef vtkIncrementalPointLocator_h
43#define vtkIncrementalPointLocator_h
46#include "vtkCommonDataModelModule.h"
abstract class to quickly locate points in 3-space
list of point or cell ids
Abstract class in support of both point location and point insertion.
vtkIncrementalPointLocator()
virtual vtkIdType InsertNextPoint(const double x[3])=0
Insert a given point and return the point index.
virtual vtkIdType IsInsertedPoint(const double x[3])=0
Determine whether or not a given point has been inserted.
virtual int InitPointInsertion(vtkPoints *newPts, const double bounds[6], vtkIdType estSize)=0
Initialize the point insertion process.
virtual int InitPointInsertion(vtkPoints *newPts, const double bounds[6])=0
Initialize the point insertion process.
virtual void InsertPoint(vtkIdType ptId, const double x[3])=0
Insert a given point with a specified point index ptId.
virtual vtkIdType FindClosestInsertedPoint(const double x[3])=0
Given a point x assumed to be covered by the search structure, return the index of the closest point ...
void PrintSelf(ostream &os, vtkIndent indent) override
Standard type and print methods.
virtual vtkIdType IsInsertedPoint(double x, double y, double z)=0
Determine whether or not a given point has been inserted.
virtual int InsertUniquePoint(const double x[3], vtkIdType &ptId)=0
Insert a point unless there has been a duplicate in the search structure.
~vtkIncrementalPointLocator() override
a simple class to control print indentation
represent and manipulate 3D points