wall.vertex.pos

Syntax

Vector Access

v = wall.vertex.pos(v<,i>)
wall.vertex.pos(v<,i>) = v

Get/set the vertex position.

Note

Setting the vertex position triggers an update of the wall position (i.e., the average location of all vertices). The user is responsible for ensuring that the wall remains manifold in these circumstances.

Returns:

v - vertex position vector or component

Accepts:

v - vertex position vector or component

Arguments:

v - vertex pointer

i - optional vector component

Component Access

f = wall.vertex.pos.x(v)
wall.vertex.pos.x(v) = f

Get/set the x-component of the vertex position.

Note

Setting the vertex position triggers an update of the wall position (i.e., the average location of all vertices). The user is responsible for ensuring that the wall remains manifold in these circumstances.

Returns:f - x-component of the vertex position vector
Accepts:f - x-component of the vertex position vector
Arguments:v - vertex pointer
f = wall.vertex.pos.y(v)
wall.vertex.pos.y(v) = f

Get/set the y-component of the vertex position.

Note

Setting the vertex position triggers an update of the wall position (i.e., the average location of all vertices). The user is responsible for ensuring that the wall remains manifold in these circumstances.

Returns:f - y-component of the vertex position vector
Accepts:f - y-component of the vertex position vector
Arguments:v - vertex pointer
f = wall.vertex.pos.z(v) (3D ONLY)
wall.vertex.pos.z(v) = f (3D ONLY)

Get/set the z-component of the vertex position.

Note

Setting the vertex position triggers an update of the wall position (i.e., the average location of all vertices). The user is responsible for ensuring that the wall remains manifold in these circumstances.

Returns:f - z-component of the vertex position vector
Accepts:f - z-component of the vertex position vector
Arguments:v - vertex pointer