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

Method GetOrder

Common/DataModel/vtkHigherOrderWedge.cxx:1321–1337  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1319}
1320
1321const int* vtkHigherOrderWedge::GetOrder()
1322{
1323 // The interpolation routines can handle different order along each axis
1324 // The connectivity array contains three additional entries at the end which specify the Order
1325 // in s, t, and u The unstructure grid calls SetOrder with those three additional entries
1326 vtkIdType numPts = this->Points->GetNumberOfPoints();
1327 if (this->Order[3] != numPts)
1328 {
1329 if (numPts == 6)
1330 this->SetUniformOrderFromNumPoints(numPts);
1331 else
1332 vtkErrorMacro("The degrees might be direction dependents, and should be set before GetOrder "
1333 "is called. numPts is "
1334 << numPts << " and Order[3] " << Order[3]);
1335 }
1336 return this->Order;
1337}
1338
1339bool vtkHigherOrderWedge::PointCountSupportsUniformOrder(vtkIdType pointsPerCell)
1340{

Callers 7

PrintSelfMethod · 0.95
SetEdgeIdsAndPointsMethod · 0.95
IntersectWithLineMethod · 0.95
TriangulateLocalIdsMethod · 0.95
SetParametricCoordsMethod · 0.95
GetParametricCoordsMethod · 0.95
GetApproximateWedgeMethod · 0.95

Calls 2

GetNumberOfPointsMethod · 0.45

Tested by

no test coverage detected