MCPcopy Create free account
hub / github.com/OpenPathGuidingLibrary/openpgl / validate

Method validate

openpgl/data/SampleDataStorage.h:351–364  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

349 }
350
351 bool validate() const
352 {
353 bool valid = true;
354 for (int i = 0; i < m_surfaceContainer.samples.size(); i++)
355 {
356 valid = valid && isValid(m_surfaceContainer.samples[i]);
357 }
358
359 for (int i = 0; i < m_volumeContainer.samples.size(); i++)
360 {
361 valid = valid && isValid(m_volumeContainer.samples[i]);
362 }
363 return valid;
364 }
365
366 void merge(const SampleDataStorage &b)
367 {

Calls 2

isValidFunction · 0.70
sizeMethod · 0.45

Tested by

no test coverage detected