DocumentUnitsMatrix.SetToRotation Method

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

Namespace:  Autodesk.iLogic.Types
Assembly:  Autodesk.iLogic.Types (in Autodesk.iLogic.Types.dll) Version: 25.0

Syntax

VB

Public Sub SetToRotation ( 
	angle As Double,
	axis As DocumentUnitsVector,
	centerPoint As DocumentUnitsPoint
)

C#

public void SetToRotation(
	double angle,
	DocumentUnitsVector axis,
	DocumentUnitsPoint centerPoint
)

Parameters

angle
Type: System.Double
Input Double that specifies the angle of rotation in document units.
axis
Type: Autodesk.iLogic.Types.DocumentUnitsVector
Input Vector object.
centerPoint
Type: Autodesk.iLogic.Types.DocumentUnitsPoint
Input Point object that specifies the origin.

See Also

Reference

DocumentUnitsMatrix Class
Autodesk.iLogic.Types Namespace