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

Method process

io/CopcReader.cpp:921–933  ·  view source on GitHub ↗

Put the contents of a tile into the destination point view.

Source from the content-addressed store, hash-verified

919
920// Put the contents of a tile into the destination point view.
921void CopcReader::process(PointViewPtr dstView, const copc::Tile& tile, point_count_t count)
922{
923 PointRef dstPoint(*dstView);
924 const char *p = tile.dataPtr();
925 for (PointId idx = 0; idx < tile.size(); ++idx)
926 {
927 if (count-- == 0)
928 return;
929 dstPoint.setPointId(dstView->size());
930 processPoint(p, dstPoint);
931 p += m_p->header.pointSize;
932 }
933}
934
935
936bool CopcReader::processOne(PointRef& point)

Callers

nothing calls this directly

Calls 3

dataPtrMethod · 0.80
setPointIdMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected