Load the point buffer from memory whose arrangement is specified by the dimension list. \param[in] dims Dimension/types of data in packed order \param[in] idx Index of point to write. \param[in] buf Packed data buffer.
| 250 | /// \param[in] idx Index of point to write. |
| 251 | /// \param[in] buf Packed data buffer. |
| 252 | void setPackedData(const DimTypeList& dims, const char *buf) |
| 253 | { |
| 254 | for (auto di = dims.begin(); di != dims.end(); ++di) |
| 255 | { |
| 256 | setField(di->m_id, di->m_type, (const void *)buf); |
| 257 | buf += Dimension::size(di->m_type); |
| 258 | } |
| 259 | } |
| 260 | |
| 261 | bool compare(Dimension::Id dim, const PointRef& r) const |
| 262 | { |