Skip to main content

MarchingCubes.Point4

A struct in Root.Township, the global namespace.

An integer grid point with a fourth value. In the marching cubes edge table w picks the edge axis (probably).

Constructors​

MemberWhat it is
Point4(int x, int y, int z, int w)Creates a MarchingCubes.Point4 from x, y, z and w.

Fields​

MemberWhat it is
int wFourth value; 0 to 2 in the edge offset table.
int xX coordinate.
int yY coordinate.
int zZ coordinate.

Methods​

MemberWhat it is
override bool Equals(object obj)True when all four values match.
override int GetHashCode()Hash of all four values.
static MarchingCubes.Point4 op_Addition(MarchingCubes.Point4 first, MarchingCubes.Point4 second)Adds each value.

Used in​

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