Share

Matrix.SetToRotation Method

Parent Object: Matrix

Description

Sets this matrix to the matrix of rotation by the specified angle, through the specified origin, around the specified axis.

Syntax

Matrix.SetToRotation( Angle As Double, Axis As Vector, Center As Point )

Parameters

Name Type Description
Angle Double Input Double that specifies the angle of rotation.
Axis Vector Input Vector object.
Center Point Input Point object that specifies the origin.

Samples

Name Description
Assembly Add Occurrence This sample demonstrates placing an assembly occurrence.
UCS by transformation matrix This sample demonstrates the creation of a user coordinate system (UCS) by specifying a transformation matrix.

Version

Introduced in version 4

Was this information helpful?