attach.weight.face

Syntax

v = attach.weight.face(a) (3D ONLY)
attach.weight.face(a) := v
f = attach.weight.face(a) (2D ONLY)
attach.weight.face(a) := f

Note

  • In the description below, the following correspondence is assumed between 3D and 2D analysis:
    • 3D zone faces (surfaces) <-> 2D zone edges (lines)

    • There is no 2D equivalence for 3D zone edges

Get/set the attachment weight.

The return value is a vector with values ranging from 0 to 1.

For attachment types not involving face, the function returns a zero value (in 2D) / vector (in 3D).

Returns:

v - vector with values ranging from 0 to 1 (3D)

f - vector with values ranging from 0 to 1 (2D)

Accepts:

v - vector with values ranging from 0 to 1 (3D)

f - vector with values ranging from 0 to 1 (2D)

Arguments:

a - attach pointer