clump.pebble.pos

Syntax

Vector Access

v = clump.pebble.pos(p<,i>)
clump.pebble.pos(p<,i>) = v

Get/set the pebble position. No clump attributes are changed upon assignment (e.g., volume, moment of inertia, etc.).

Note

Only clump template pebbles where no clump in the model refers to the clump template can be modified.

Returns:

v - pebble position vector or component

Accepts:

v - pebble position vector or component

Arguments:

p - pebble pointer

i - optional vector component

Component Access

f = clump.pebble.pos.x(p)
clump.pebble.pos.x(p) = f

Get/set the x-component of the pebble position. No clump attributes are changed upon assignment (e.g., volume, moment of inertia, etc.).

Note

Only clump template pebbles where no clump in the model refers to the clump template can be modified.

Returns:f - x-component of the pebble position vector
Accepts:f - x-component of the pebble position vector
Arguments:p - pebble pointer
f = clump.pebble.pos.y(p)
clump.pebble.pos.y(p) = f

Get/set the y-component of the pebble position. No clump attributes are changed upon assignment (e.g., volume, moment of inertia, etc.).

Note

Only clump template pebbles where no clump in the model refers to the clump template can be modified.

Returns:f - y-component of the pebble position vector
Accepts:f - y-component of the pebble position vector
Arguments:p - pebble pointer
f = clump.pebble.pos.z(p) (3D ONLY)
clump.pebble.pos.z(p) = f (3D ONLY)

Get/set the z-component of the pebble position. No clump attributes are changed upon assignment (e.g., volume, moment of inertia, etc.).

Note

Only clump template pebbles where no clump in the model refers to the clump template can be modified.

Returns:f - z-component of the pebble position vector
Accepts:f - z-component of the pebble position vector
Arguments:p - pebble pointer