Return a linear quadrilateral used to approximate a region of the nonlinear quadrilateral.
| 423 | |
| 424 | /// Return a linear quadrilateral used to approximate a region of the nonlinear quadrilateral. |
| 425 | vtkQuad* vtkHigherOrderQuadrilateral::GetApprox() |
| 426 | { |
| 427 | if (!this->Approx) |
| 428 | { |
| 429 | this->Approx = vtkSmartPointer<vtkQuad>::New(); |
| 430 | this->ApproxPD = vtkSmartPointer<vtkPointData>::New(); |
| 431 | this->ApproxCD = vtkSmartPointer<vtkCellData>::New(); |
| 432 | } |
| 433 | return this->Approx.GetPointer(); |
| 434 | } |
| 435 | |
| 436 | /**\brief Prepare point data for use by linear approximating-elements. |
| 437 | * |
no test coverage detected