struct.beam.ydir

Syntax

v := struct.beam.ydir(p) := v

Get/set the \(y\)-axis of the beam element local system. Returns a vector, unless an optional component argument i is supplied, in which case it returns the component value. On assignment will adjust the vector v to be normal to the element direction.

Returns:v - local system \(y\)-axis vector or component
Accepts:v - local system \(y\)-axis vector or component.
Arguments:p - a beam pointer