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

Method run

filters/RangeFilter.cpp:105–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103
104
105PointViewSet RangeFilter::run(PointViewPtr inView)
106{
107 PointViewSet viewSet;
108
109 PointViewPtr outView = inView->makeNew();
110
111 for (PointId i = 0; i < inView->size(); ++i)
112 {
113 PointRef point = inView->point(i);
114 if (processOne(point))
115 outView->appendPoint(*inView, i);
116 }
117
118 viewSet.insert(outView);
119 return viewSet;
120}
121
122} // namespace pdal

Callers

nothing calls this directly

Calls 5

processOneFunction · 0.85
pointMethod · 0.80
appendPointMethod · 0.80
sizeMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected