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

Method AdvanceTo

Common/DataModel/vtkDataObjectTreeRange.h:160–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158 }
159
160 void AdvanceTo(const unsigned int flatIdx)
161 {
162 assert(this->Iterator != nullptr);
163 assert(this->Iterator->GetCurrentFlatIndex() <= flatIdx);
164 while (this->Iterator->GetCurrentFlatIndex() < flatIdx)
165 {
166 this->Increment();
167 }
168 }
169
170 void Increment()
171 {

Callers 1

CopyStateMethod · 0.95

Calls 3

IncrementMethod · 0.95
GetCurrentFlatIndexMethod · 0.80
assertFunction · 0.50

Tested by

no test coverage detected