Main Content

simscape.multibody.ArbitraryAxisRotation Class

Namespace: simscape.multibody
Superclasses: simscape.multibody.Rotation

Construct rotation by specifying custom axis-angle pair

Since R2022a

Description

Use an object of the simscape.multibody.ArbitraryAxisRotation class to construct a 3-D rotation by specifying a rotation angle and the corresponding axis of rotation. The Axis property specifies the axis of rotation by using a 1-by-3 or 3-by-1 nonzero vector. The Angle property specifies the angle of the rotation.

Class Attributes

Sealed
true
ConstructOnLoad
true
RestrictsSubclassing
true

For information on class attributes, see Class Attributes.

Creation

Description

R = simscape.multibody.ArbitraryAxisRotation creates a rotation by specifying a custom axis-angle pair with default values.

R = simscape.multibody.ArbitraryAxisRotation(axis,angle) creates a rotation by specifying a custom axis-angle pair with the specified axis of rotation and rotation angle.

Properties

expand all

Axis of rotation, specified as a 1-by-3 or 3-by-1 nonzero vector

Example: [2 -1 5]

Attributes:

GetAccess
public
SetAccess
public
NonCopyable
true

Angle of rotation, specified as a simscape.Value object that represents a scalar in units of angle.

Example: simscape.Value(2.5,"rad")

Attributes:

GetAccess
public
SetAccess
public
NonCopyable
true

Version History

Introduced in R2022a