Mass

Mass

new Mass()

Properties:
Name Type Description
domain Array.<Array.<array>>
x/y/z number

coordinates

value *
Source:

Methods

probe(axis, 1/-1) → {object|undefined}

probe for uninstantiated mass

Parameters:
Name Type Description
axis number

see X/Y/Z_AXIS constants

1/-1 number
Source:
Returns:

probed coords

Type
object | undefined

probeRequestToCoords(axis, dir) → {object}

convert a probe direction request into a set of coordinates even if out-of-range

Parameters:
Name Type Description
axis number

axis constant

dir number

direction to probe (1/-1 only)

Source:
Returns:

coordinates {x, y, z} form

Type
object

serialize() → {object}

convert the Mass node to it's pure address object representation

Source:
Returns:
Type
object