brick.extent

Syntax

v = brick.extent(b)

Get the brick extent as a vector.

Returns:

v - brick extent vector

Argument:

b - brick pointer

Component Access

f = brick.extent (b)->x

f = brick.extent.x(b)

Get the length of the brick in the \(x\)-direction.

Returns:

f - \(x\)-direction length of the brick

Arguments:

b - brick pointer

Access other vector components (\(y\), \(z\) (3D ONLY)) by substituting the component name where \(x\) appears above. See Member Access Operator for information about accessing members from data types using ->.

Deprecated Component Access

Component access by adding optional integer(s) in the function arguments (e.g., f = brick.extent(b, 1)) is deprecated. It remains available but will not be supported in future versions. See Component Access with Integers in FISH on the Deprecated Commands and FISH page for details.

This is hidden. Added to include remaining vector component access functions for inline help.

f = brick.extent.y(b)
f = brick.extent.z(b) (3D ONLY)