Click or drag to resize

DocumentUnitsMatrixSetToRotateTo Method

Sets to the matrix of rotation that would align the 'from' vector with the 'to' vector. The optional Axis argument may be used when the two vectors are parallel and in opposite directions to specify a specific solution, but is otherwise ignored.

Namespace:  Autodesk.iLogic.Types
Assembly:  Autodesk.iLogic.Types (in Autodesk.iLogic.Types.dll) Version: 23.0
Syntax
Public Sub SetToRotateTo ( 
	fromVector As DocumentUnitsVector,
	toVector As DocumentUnitsVector,
	axis As DocumentUnitsVector
)

Parameters

fromVector
Type: Autodesk.iLogic.TypesDocumentUnitsVector
Input Vector object to align from.
toVector
Type: Autodesk.iLogic.TypesDocumentUnitsVector
Input Vector object to align to.
axis
Type: Autodesk.iLogic.TypesDocumentUnitsVector
Input Vector object. This Is an optional argument whose default value Is 0.
See Also