MCPcopy Create free account
hub / github.com/PDAL/PDAL / countElements

Method countElements

pdal/Stage.cpp:354–367  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

352}
353
354void Stage::countElements(const PointViewSet& views)
355{
356 // Count the number of views and the number of points and faces so they're
357 // available to stages.
358 m_pointCount = 0;
359 m_faceCount = 0;
360 for (auto const& v : views)
361 {
362 m_pointCount += v->size();
363 auto m = v->mesh();
364 if (m)
365 m_faceCount += m->size();
366 }
367}
368
369void Stage::setupLog()
370{

Callers

nothing calls this directly

Calls 2

meshMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected