OEMakeBitGridFromSurface

bool OEMakeBitGridFromSurface(OESystem::OEScalarGrid &grid,
                              const OESurface &surf)
bool OEMakeBitGridFromSurface(OESystem::OEScalarGrid &grid,
                              const OESurface &surf, float spacing, float buffer)

Fill grid with either 0.0 or 1.0 marking whether that grid points lies inside or outside the volume enclosed by the surface. 0.0 indicates the point is outside the surface. 1.0 indicates the point is inside the surface.