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

Method getDimension

pdal/ColumnPointTable.cpp:153–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151}
152
153char *ColumnPointTable::getDimension(const Dimension::Detail *d, PointId idx)
154{
155 DimBlockList& dimBlocks = m_blocks[d->order()];
156 char *buf = dimBlocks[idx / m_blockPtCnt];
157 return buf + (Dimension::size(d->type()) * (idx % m_blockPtCnt));
158}
159
160
161const char *ColumnPointTable::getDimension(const Dimension::Detail *d,

Callers

nothing calls this directly

Calls 3

orderMethod · 0.80
sizeFunction · 0.70
typeMethod · 0.45

Tested by

no test coverage detected