interface.elem.normal

Syntax

Vector Access

v = interface.elem.normal(ie<,i>)

Get the normal vector for the interface element. Returns a vector, unless an optional component argument i is supplied, in which case it returns the component value.

Returns:

v - normal vector or component

Arguments:

ie - interface element pointer

i - optional vector component, from 1 to 3

Component Access

f = interface.elem.normal.x(ie)

Get the x-component for the interface element.

Returns:f - x-component normal vector
Accepts:f - x-component normal vector
Arguments:ie - interface element pointer
f = interface.elem.normal.y(ie)

Get the y-component for the interface element.

Returns:f - y-component normal vector
Accepts:f - y-component normal vector
Arguments:ie - interface element pointer
f = interface.elem.normal.z(ie)

Get the z-component for the interface element.

Returns:f - z-component normal vector
Accepts:f - z-component normal vector
Arguments:ie - interface element pointer