OEMakeSurfaceFromGrid

OEMakeSurfaceFromGrid(surf: OESurface, grid: OESkewGrid,
                      contour: float) -> bool
OEMakeSurfaceFromGrid(surf: OESurface, grid: OEFixedFloatGrid,
                      contour: float) -> bool
OEMakeSurfaceFromGrid(surf: OESurface, grid: OEFixedFloatGrid,
                      contour: float, resolution: float) -> bool

An implementation of the marching cubes algorithm to create a surface, surf, through the values in the grid, grid. Grid points with values less than contour are inside the surface and the converse is true for grid points outside the surface.

See also

  • The Grids section for more information on converting grids to surfaces.