OpenVDB  11.0.0
PointArray Interface Reference

#include <openvdb/tools/PointIndexGrid.h>

Detailed Description

Expected interface for the PointArray container:

template<typename VectorType>
struct PointArray
{
// The type used to represent world-space point positions
using PosType = VectorType;
// Return the number of points in the array
size_t size() const;
// Return the world-space position of the nth point in the array.
void getPos(size_t n, PosType& xyz) const;
};