MCPcopy Create free account
hub / github.com/Kitware/VTK / GetApprox

Method GetApprox

Common/DataModel/vtkHigherOrderWedge.cxx:945–954  ·  view source on GitHub ↗

Return a linear wedge used to approximate a region of the nonlinear wedge.

Source from the content-addressed store, hash-verified

943
944/// Return a linear wedge used to approximate a region of the nonlinear wedge.
945vtkWedge* 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 *

Callers 8

PrepareApproxDataMethod · 0.95
GetApproximateWedgeMethod · 0.95
GetApproximateLineMethod · 0.45
GetApproximateQuadMethod · 0.45
GetApproximateQuadMethod · 0.45
GetApproximateHexMethod · 0.45
GetApproximateLineMethod · 0.45
GetApproximateHexMethod · 0.45

Calls 2

NewFunction · 0.50
GetPointerMethod · 0.45

Tested by

no test coverage detected