OEMakeBitGridFromSurface

OEMakeBitGridFromSurface(grid: OEScalarGrid, surf: OESurface) -> bool
OEMakeBitGridFromSurface(grid: OEScalarGrid, surf: OESurface,
                         spacing: float, buffer: float) -> bool

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.