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

Method setFieldInternal

pdal/PointTable.cpp:82–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80
81
82void SimplePointTable::setFieldInternal(Dimension::Id id, PointId idx, const void *value)
83{
84 const Dimension::Detail *d = m_layoutRef.dimDetail(id);
85 const char *src = (const char *)value;
86 char *dst = getDimension(d, idx);
87 std::copy(src, src + d->size(), dst);
88}
89
90
91void SimplePointTable::getFieldInternal(Dimension::Id id, PointId idx, void *value) const

Callers

nothing calls this directly

Calls 3

getDimensionFunction · 0.85
copyFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected