class wmutil.CellIndex

Available on all platforms

index of a cell in 3D

Class Fields

static function adjCells():Array<CellIndex>

Generate list of adjacent cells used for generating cell-cell pairs. Note: this function returns 13 cells, not 26 cells.

Instance Fields

var i:Int

index in x direction

var j:Int

index in y direction

var k:Int

index in z direction

function new(ci:Int, cj:Int, ck:Int):Void

ci: x direction cj: y direction ck: z direction

function clone():CellIndex

generate clone of this CellIndex