IGeometry.Matrix 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: 25.0

Syntax

VB

Function Matrix ( 
	originPt As DocumentUnitsPoint,
	xDirection As DocumentUnitsVector,
	yDirection As DocumentUnitsVector
) As DocumentUnitsMatrix

C#

DocumentUnitsMatrix Matrix(
	DocumentUnitsPoint originPt,
	DocumentUnitsVector xDirection,
	DocumentUnitsVector yDirection
)

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.
yDirection
Type: Autodesk.iLogic.Types.DocumentUnitsVector
Input Vector object that defines the Y-axis vector of the coordinate system.

Return Value

Type: DocumentUnitsMatrix

See Also

Reference

IGeometry Interface
Matrix Overload
Autodesk.iLogic.Interfaces Namespace