| 103 | |
| 104 | |
| 105 | PointViewSet 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 |
nothing calls this directly
no test coverage detected