Creates and returns a new 4x4 DocumentUnitsMatrix.
The matrix is initialized with the origin point, and X and Z axis vectors.
It is rotated counterclockwise around the Z axis by the specified angle.
Namespace: Autodesk.iLogic.Interfaces
Assembly: Autodesk.iLogic.Interfaces (in Autodesk.iLogic.Interfaces.dll) Version: 29.0
Syntax
VB
Function Matrix ( originPt As DocumentUnitsPoint, xDirection As DocumentUnitsVector, zDirection As DocumentUnitsVector, rotationAngle As Double ) As DocumentUnitsMatrix
C#
DocumentUnitsMatrix Matrix( DocumentUnitsPoint originPt, DocumentUnitsVector xDirection, DocumentUnitsVector zDirection, double rotationAngle )
Parameters
- originPt
- Type: Autodesk.iLogic.Types.DocumentUnitsPoint
Input Point object that defines the origin of the coordinate system. - xDirection
- Type: Autodesk.iLogic.Types.DocumentUnitsVector
Input Vector object that defines the X-axis vector of the coordinate system. - zDirection
- Type: Autodesk.iLogic.Types.DocumentUnitsVector
Input Vector object that defines the Z-axis vector of the coordinate system. - rotationAngle
- Type: System.Double
Input Double that specifies the angle of rotation counterclockwise around the Z axis (in document angular units).
