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

Method GetFixedSubdivisions

Common/DataModel/vtkSimpleCellTessellator.cxx:2651–2656  ·  view source on GitHub ↗

------------------------------------------------------------------------------ Description: Return the number of fixed subdivisions. It is used to prevent from infinite loop in degenerated cases. For order 3 or higher, if the inflection point is exactly on the mid-point, error metric will not detect that a subdivision is required. 0 means no fixed subdivision: there will be only adaptive subdivisi

Source from the content-addressed store, hash-verified

2649// subdivisions.
2650// \post positive_result: result>=0 && result<=GetMaxSubdivisionLevel()
2651int vtkSimpleCellTessellator::GetFixedSubdivisions()
2652{
2653 assert("post: positive_result" && this->FixedSubdivisions >= 0 &&
2654 this->FixedSubdivisions <= this->MaxSubdivisionLevel);
2655 return this->FixedSubdivisions;
2656}
2657
2658//------------------------------------------------------------------------------
2659// Description:

Callers 2

Calls 1

assertFunction · 0.50

Tested by

no test coverage detected