------------------------------------------------------------------------------
| 1293 | |
| 1294 | //------------------------------------------------------------------------------ |
| 1295 | int vtkPointLocator::InsertUniquePoint(const double x[3], vtkIdType& id) |
| 1296 | { |
| 1297 | vtkIdType ptId; |
| 1298 | |
| 1299 | ptId = this->IsInsertedPoint(x); |
| 1300 | |
| 1301 | if (ptId > -1) |
| 1302 | { |
| 1303 | id = ptId; |
| 1304 | return 0; |
| 1305 | } |
| 1306 | else |
| 1307 | { |
| 1308 | id = this->InsertNextPoint(x); |
| 1309 | return 1; |
| 1310 | } |
| 1311 | } |
| 1312 | |
| 1313 | //------------------------------------------------------------------------------ |
| 1314 | // Given a position x, return the id of the point closest to it. This method |
nothing calls this directly
no test coverage detected