------------------------------------------------------------------------------
| 278 | |
| 279 | //------------------------------------------------------------------------------ |
| 280 | void vtkQuadraticPolygon::PermuteToPolygon(vtkIdType nbPoints, double* inPoints, double* outPoints) |
| 281 | { |
| 282 | vtkIdList* permutation = vtkIdList::New(); |
| 283 | vtkQuadraticPolygon::GetPermutationFromPolygon(nbPoints, permutation); |
| 284 | |
| 285 | for (vtkIdType i = 0; i < nbPoints; i++) |
| 286 | { |
| 287 | for (int j = 0; j < 3; j++) |
| 288 | { |
| 289 | outPoints[3 * i + j] = inPoints[3 * permutation->GetId(i) + j]; |
| 290 | } |
| 291 | } |
| 292 | |
| 293 | permutation->Delete(); |
| 294 | } |
| 295 | |
| 296 | //------------------------------------------------------------------------------ |
| 297 | void vtkQuadraticPolygon::PermuteToPolygon(vtkPoints* inPoints, vtkPoints* outPoints) |
nothing calls this directly
no test coverage detected