IGeometryMatrix Method (DocumentUnitsPoint, DocumentUnitsVector, DocumentUnitsVector, Double) |
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: 23.0
Syntax Function Matrix (
originPt As DocumentUnitsPoint,
xDirection As DocumentUnitsVector,
zDirection As DocumentUnitsVector,
rotationAngle As Double
) As DocumentUnitsMatrix
DocumentUnitsMatrix Matrix(
DocumentUnitsPoint originPt,
DocumentUnitsVector xDirection,
DocumentUnitsVector zDirection,
double rotationAngle
)
Parameters
- originPt
- Type: Autodesk.iLogic.TypesDocumentUnitsPoint
Input Point object that defines the origin of the coordinate system. - xDirection
- Type: Autodesk.iLogic.TypesDocumentUnitsVector
Input Vector object that defines the X-axis vector of the coordinate system. - zDirection
- Type: Autodesk.iLogic.TypesDocumentUnitsVector
Input Vector object that defines the Z-axis vector of the coordinate system. - rotationAngle
- Type: SystemDouble
Input Double that specifies the angle of rotation counterclockwise around the Z axis (in document angular units).
Return Value
Type:
DocumentUnitsMatrixSee Also