Namespace: quadTree

og.quadTree

Classes

QuadNode

Members

staticog.quadTree.NOPS

Neighbor's oposite side. For example oposite side on the east neighbor side is: [E][NW] = SW

staticog.quadTree.NOPSORD

Neighbos's opside array order. For example NW node by E side array index is 0, SE node by S side is 1.

staticog.quadTree.OPSIDE

World opposite side table.

Methods

staticog.quadTree.getMatrixSubArray(sourceArr, gridSize, i0, j0, size)

Static function returns triangle coordinate array from inside of the source triangle array.
Name Type Description
sourceArr Array.<number> Source array
gridSize number Source array square matrix size
i0 number First row index source array matrix
j0 number First column index
size number Square matrix result size.