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

Method doOne

filters/RadiusAssignFilter.cpp:148–162  ·  view source on GitHub ↗

update point. kdi and temp both reference the NN point cloud

Source from the content-addressed store, hash-verified

146
147// update point. kdi and temp both reference the NN point cloud
148bool RadiusAssignFilter::doOne(PointRef& pointSrc)
149{
150 if (m_srcDomain.empty()) // No domain, process all points
151 doOneNoDomain(pointSrc);
152
153 for (DimRange& r : m_srcDomain)
154 { // process only points that satisfy a domain condition
155 if (r.valuePasses(pointSrc.getFieldAs<double>(r.m_id)))
156 {
157 doOneNoDomain(pointSrc);
158 break;
159 }
160 }
161 return true;
162}
163
164void RadiusAssignFilter::filter(PointView& view)
165{

Callers

nothing calls this directly

Calls 2

valuePassesMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected