Main Content

simscape.multibody.CartesianTranslation class

Package: simscape.multibody
Superclasses: simscape.multibody.Translation

Construct Cartesian translation

Description

Use an object of the simscape.multibody.CartesianTranslation class to construct a 3-D translation by using Cartesian coordinates.

The offset property specifies the coordinates of the translation in the x, y, and z directions of the base frame.

Class Attributes

Sealed
true
ConstructOnLoad
true
RestrictsSubclassing
true

For information on class attributes, see Class Attributes.

Creation

Description

T = simscape.multibody.CartesianTranslation creates a Cartesian translation with default values.

T = simscape.multibody.CartesianTranslation(offset) creates a Cartesian translation with the specified offset.

Properties

expand all

Offset of the translation, specified as a simscape.Value object that represents a 3-by-1 or 1-by-3 array with a unit of length. The array specifies the coordinates of the translation in the x, y, and z directions of the base frame.

Example: simscape.Value([3 4 5],"cm")

Attributes:

GetAccess
public
SetAccess
public
NonCopyable
true

Version History

Introduced in R2022a