MarchingCubes
type XYZ a = (a, a, a) Source #
type Voxel a = ([a], (Bounds a, Dims)) Source #
makeVoxel Source #
Arguments
the function defining the isosurface
bounds of the grid
numbers of subdivisions of the grid
Make the voxel.
data Mesh a Source #
Constructors
Fields
Defined in MarchingCubes.Mesh
Methods
showsPrec :: Int -> Mesh a -> ShowS #
show :: Mesh a -> String #
showList :: [Mesh a] -> ShowS #
makeMesh Source #
voxel obtained with makeVoxel
makeVoxel
isovalue
Make mesh of isosurface.