------------------------------------------------------------------------------
| 186 | |
| 187 | //------------------------------------------------------------------------------ |
| 188 | vtkIdType vtkPointSet::FindPoint(double x[3]) |
| 189 | { |
| 190 | if (!this->Points) |
| 191 | { |
| 192 | return -1; |
| 193 | } |
| 194 | |
| 195 | if (!this->PointLocator) |
| 196 | { |
| 197 | this->BuildPointLocator(); |
| 198 | } |
| 199 | |
| 200 | return this->PointLocator->FindClosestPoint(x); |
| 201 | } |
| 202 | |
| 203 | //------------------------------------------------------------------------------ |
| 204 | // This FindCell() method is based on using a locator (either point or |
nothing calls this directly
no test coverage detected