Nodes

Nodes

new Nodes()

Creates an instance of the SkyCiv Nodes class.

Source:

Extends

Methods

(static) add(x, y, z)

Create a node with the next available ID.

Parameters:
Name Type Description
x number

The X coordinate of the node.

y number

The Y coordinate of the node.

z number

The Z coordinate of the node.

Source:

(static) idFromCoords(x, y, z)

Find a node's ID from its coordinates.

Parameters:
Name Type Description
x number

The x coordinate of the node whose ID to find.

y number

The y coordinate of the node whose ID to find.

z number

The z coordinate of the node whose ID to find.

Source: