IGeometryMatrix Method (DocumentUnitsPoint, DocumentUnitsVector, DocumentUnitsVector) |
Creates and returns a new 4x4 DocumentUnitsMatrix. The matrix is initialized with origin point and two vectors.
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,
yDirection As DocumentUnitsVector
) As DocumentUnitsMatrix
DocumentUnitsMatrix Matrix(
DocumentUnitsPoint originPt,
DocumentUnitsVector xDirection,
DocumentUnitsVector yDirection
)
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. - yDirection
- Type: Autodesk.iLogic.TypesDocumentUnitsVector
Input Vector object that defines the Y-axis vector of the coordinate system.
Return Value
Type:
DocumentUnitsMatrixSee Also