function modifyNodesToZCoord(nodes, nodeIndexes, z)
{
	for (var i = 0; i < nodeIndexes.length; ++i)
	{
		nodes[nodeIndexes[i][0]].coordinates = $V(nodes[nodeIndexes[i][0]].global_coordinate_1, nodes[nodeIndexes[i][0]].global_coordinate_2, z);
		nodes[nodeIndexes[i][1]].coordinates = $V(nodes[nodeIndexes[i][1]].global_coordinate_1, nodes[nodeIndexes[i][1]].global_coordinate_2, z);
	}
}
// Function to change node's z-coordinates
Function to change node's z-coordinates
Function to change node ' s z - coordinates
function modifyNodesToZCoord(nodes, nodeIndexes, z)
{
	for (var i = 0; i < nodeIndexes.length; ++i)
	{
		nodes[nodeIndexes[i][0]].coordinates = $V(nodes[nodeIndexes[i][0]].global_coordinate_1, nodes[nodeIndexes[i][0]].global_coordinate_2, z);
		nodes[nodeIndexes[i][1]].coordinates = $V(nodes[nodeIndexes[i][1]].global_coordinate_1, nodes[nodeIndexes[i][1]].global_coordinate_2, z);
	}
}
function modifyNodesToZCoord ( nodes , nodeIndexes , z ) { for ( var i = 0 ; i < nodeIndexes . length ; ++ i ) { nodes [ nodeIndexes [ i ] [ 0 ] ] . coordinates = $V ( nodes [ nodeIndexes [ i ] [ 0 ] ] . global_coordinate_1 , nodes [ nodeIndexes [ i ] [ 0 ] ] . global_coordinate_2 , z ) ; nodes [ nodeIndexes [ i ] [ 1 ] ] . coordinates = $V ( nodes [ nodeIndexes [ i ] [ 1 ] ] . global_coordinate_1 , nodes [ nodeIndexes [ i ] [ 1 ] ] . global_coordinate_2 , z ) ; } }
Function to change node's z-coordinates
Function to change node ' s z - coordinates