clump.disp

Syntax

Vector Access

v = clump.disp(c<,i>)
clump.disp(c<,i>) = v

Get/set the clump displacement.

Returns:

v - clump displacement vector or component

Accepts:

v - clump displacement vector or component

Arguments:

c - clump pointer

i - optional vector component

Component Access

f = clump.disp.x(c)
clump.disp.x(c) = f

Get/set the x-component of the clump displacement.

Returns:f - x-component of the clump displacement vector
Accepts:f - x-component of the clump displacement vector
Arguments:c - clump pointer
f = clump.disp.y(c)
clump.disp.y(c) = f

Get/set the y-component of the clump displacement.

Returns:f - y-component of the clump displacement vector
Accepts:f - y-component of the clump displacement vector
Arguments:c - clump pointer
f = clump.disp.z(c) (3D ONLY)
clump.disp.z(c) = f (3D ONLY)

Get/set the z-component of the clump displacement.

Returns:f - z-component of the clump displacement vector
Accepts:f - z-component of the clump displacement vector
Arguments:c - clump pointer