struct.pile.ydir

Syntax

Vector Access

v = struct.pile.ydir(p<,i>)

Get the y-axis of the pile element local system. Returns a vector, unless an optional component argument i is supplied, in which case it returns the component value.

Returns:

v - local system y-axis vector or component

Arguments:

p - a pile pointer

i - optional vector component, from 1 to 3

Component Access

f = struct.pile.ydir.x(p)

Get the x-component of the y-axis of the pile element local system.

Returns:f - x-component of the y-axis of the local system of the pile element
Arguments:p - a pile pointer
f = struct.pile.ydir.y(p)

Get the y-component of the y-axis of the pile element local system.

Returns:f - y-component of the y-axis of the local system of the pile element
Arguments:p - a pile pointer
f = struct.pile.ydir.z(p)

Get the z-component of the y-axis of the pile element local system.

Returns:f - z-component of the y-axis of the local system of the pile element
Arguments:p - a pile pointer