Cartesian3dTranslation#

class named_arrays.transformations.Cartesian3dTranslation(x=<Quantity 0. mm>, y=<Quantity 0. mm>, z=<Quantity 0. mm>)#

Bases: AbstractTranslation

A translation in a 3D Cartesian space.

Attributes

inverse

A new transformation that reverses the effect of this transformation.

shape

The shape of the transformation.

vector

A vector representing this translation.

x

The \(x\) component of this translation.

y

The \(y\) component of this translation.

z

The \(z\) component of this translation.

Methods

__init__([x, y, z])

Inheritance Diagram

Inheritance diagram of named_arrays.transformations.Cartesian3dTranslation
Parameters:
property inverse: Self#

A new transformation that reverses the effect of this transformation.

property shape: dict[str, int]#

The shape of the transformation.

property vector: Cartesian3dVectorArray#

A vector representing this translation.

x: int | float | complex | ndarray | Quantity | AbstractScalar = <Quantity 0. mm>#

The \(x\) component of this translation.

y: int | float | complex | ndarray | Quantity | AbstractScalar = <Quantity 0. mm>#

The \(y\) component of this translation.

z: int | float | complex | ndarray | Quantity | AbstractScalar = <Quantity 0. mm>#

The \(z\) component of this translation.