This fixes some lurking memory problems that were leading to segfault.
As part of this, point cloud datasets now hold their arrays via shared pointers instead of by value. This makes a dataset safe to std::move() without invalidating references to those arrays that have been given out to a caller.
This fixes some lurking memory problems that were leading to segfault.
As part of this, point cloud datasets now hold their arrays via shared pointers instead of by value. This makes a dataset safe to
std::move()
without invalidating references to those arrays that have been given out to a caller.