------------------------------------------------------------------------------
| 462 | |
| 463 | //------------------------------------------------------------------------------ |
| 464 | void vtkPolygon::EvaluateLocation( |
| 465 | int& vtkNotUsed(subId), const double pcoords[3], double x[3], double* weights) |
| 466 | { |
| 467 | int i; |
| 468 | double p0[3], p10[3], l10, p20[3], l20, n[3]; |
| 469 | |
| 470 | this->ParameterizePolygon(p0, p10, l10, p20, l20, n); |
| 471 | for (i = 0; i < 3; i++) |
| 472 | { |
| 473 | x[i] = p0[i] + pcoords[0] * p10[i] + pcoords[1] * p20[i]; |
| 474 | } |
| 475 | |
| 476 | this->InterpolateFunctions(x, weights); |
| 477 | } |
| 478 | |
| 479 | //------------------------------------------------------------------------------ |
| 480 | // Compute interpolation weights using 1/r**2 normalized sum or mean value |
nothing calls this directly
no test coverage detected