Skip to main content

MarchingCubes.GridCell

A class in Root.Township, the global namespace.

One cube of the marching cubes grid: its eight corners and their density values. Passed to Polygonise.

Constructors​

MemberWhat it is
GridCell()Creates a MarchingCubes.GridCell with default values.

Fields​

MemberWhat it is
MarchingCubes.Point4 coordinateGrid coordinate of the cell, used to key shared edge vertices.
Vector3[] pointsWorld positions of the eight corners.
float[] valuesDensity value at each corner, compared to the iso level.

Used in​

Members of other types that take, return or hold a GridCell: