Return a linear wedge used to approximate a region of the nonlinear wedge.
| 943 | |
| 944 | /// Return a linear wedge used to approximate a region of the nonlinear wedge. |
| 945 | vtkWedge* vtkHigherOrderWedge::GetApprox() |
| 946 | { |
| 947 | if (!this->Approx) |
| 948 | { |
| 949 | this->Approx = vtkSmartPointer<vtkWedge>::New(); |
| 950 | this->ApproxPD = vtkSmartPointer<vtkPointData>::New(); |
| 951 | this->ApproxCD = vtkSmartPointer<vtkCellData>::New(); |
| 952 | } |
| 953 | return this->Approx.GetPointer(); |
| 954 | } |
| 955 | |
| 956 | /**\brief Prepare point data for use by linear approximating-elements. |
| 957 | * |
no test coverage detected