object - commandobject - unit - tank - builder


int  AddElementsLine(int nX1, int nY1, int nZ1, int nX2, int nY2, int nZ2)

Scope: private

Parameters
nX1 - X-coordinate of line begin.
nY1 - Y-coordinate of line begin.
nZ1 - Z-coordinate of line begin.
nX2 - X-coordinate of line end.
nY2 - Y-coordinate of line end.
nZ2 - Z-coordinate of line end.

Return values
True if line was added to set of points for build,otherwise  false.

Description
This function is used to add line (nX1, nY1, nZ1)-(nX2, nY2, nZ2) to set of points where Builder will perform works dependent on mode set by function SetBuildTypeBuildElements.
Function can be used in combination with AddElementPoint.

See also
SetBuildTypeBuildElements, AddElementPoint, NextElementPoint