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

Function getPackedData

pdal/PointRef.hpp:238–245  ·  view source on GitHub ↗

Fill a buffer with point data specified by the dimension list. \param[in] dims List of dimensions/types to retrieve. \param[in] idx Index of point to get. \param[in] buf Pointer to buffer to fill.

Source from the content-addressed store, hash-verified

236 /// \param[in] idx Index of point to get.
237 /// \param[in] buf Pointer to buffer to fill.
238 void getPackedData(const DimTypeList& dims, char *buf) const
239 {
240 for (auto di = dims.begin(); di != dims.end(); ++di)
241 {
242 getField(buf, di->m_id, di->m_type);
243 buf += Dimension::size(di->m_type);
244 }
245 }
246
247 /// Load the point buffer from memory whose arrangement is specified
248 /// by the dimension list.

Callers

nothing calls this directly

Calls 4

getFieldFunction · 0.85
sizeFunction · 0.70
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected