OEMakeGridFromSurface

bool OEMakeGridFromSurface(OESystem::OEScalarGrid &grid, const OESurface &surf,
                           unsigned int method=OEVoxelizeMethod::Default)

Fill grid with a voxelized representation of the surface by the method passed as the method parameter. The constants for method parameter are defined by the OEVoxelizeMethod namespace.

See also

The OEVoxelizeMethod namespace.