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

Method acceptable

io/private/copcwriter/Processor.cpp:154–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152
153
154bool Processor::acceptable(GridKey key)
155{
156 VoxelInfo::Grid& grid = m_vi.grid();
157
158 auto it = grid.find(key);
159
160 // If the cell is already occupied the point is not acceptable.
161 if (it != grid.end())
162 return false;
163 return true;
164}
165
166
167void Processor::writeCompressed(VoxelKey k, PointViewPtr v)

Callers

nothing calls this directly

Calls 3

gridMethod · 0.80
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected