MCPcopy Create free account
hub / github.com/Kitware/VTK / FindClosestPoint

Method FindClosestPoint

Common/DataModel/vtkKdTree.cxx:2147–2152  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

2145
2146//------------------------------------------------------------------------------
2147vtkIdType vtkKdTree::FindClosestPoint(double x[3], double& dist2)
2148{
2149 vtkIdType id = this->FindClosestPoint(x[0], x[1], x[2], dist2);
2150
2151 return id;
2152}
2153
2154//------------------------------------------------------------------------------
2155vtkIdType vtkKdTree::FindClosestPoint(double x, double y, double z, double& dist2)

Callers 15

InternalUpdateMethod · 0.45
FindCellMethod · 0.45
EvaluatePositionMethod · 0.45
FindPointMethod · 0.45
TimePointLocatorsFunction · 0.45
TestCellLocatorFunction · 0.45
ComparePointLocatorsFunction · 0.45
TestKdTreePointLocatorFunction · 0.45

Calls 6

sqrtFunction · 0.50

Tested by 9

TestCellLocatorFunction · 0.36
ComparePointLocatorsFunction · 0.36
TestKdTreePointLocatorFunction · 0.36
TestKdTreeFunctionsFunction · 0.36
TestStaticCellLocatorFunction · 0.36
TestValuesFunction · 0.36