Click or drag to resize

DocumentUnitsMatrix Class

Provides properties and functions for a transformation matrix with coordinates in document units.
Inheritance Hierarchy
SystemObject
  DocumentUnitsGeometry
    Autodesk.iLogic.TypesDocumentUnitsMatrix

Namespace:  Autodesk.iLogic.Types
Assembly:  Autodesk.iLogic.Types (in Autodesk.iLogic.Types.dll) Version: 23.0
Syntax
Public Class DocumentUnitsMatrix
	Inherits DocumentUnitsGeometry
	Implements PointOrMatrix

The DocumentUnitsMatrix type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyDeterminant
Gets the determinant of this matrix.
Public propertyInDatabaseUnits
Gets or sets the Inventor matrix in Inventor internal units.
Public propertyItem
Gets or sets the value of a cell in the matrix.
Public propertyTranslation
Gets the translation portion of the matrix.
Top
Methods
  NameDescription
Public methodCopy
Creates a copy of this Matrix object. The result is entirely independent and can be edited without affecting the original Matrix object.
Public methodGetCoordinateSystem
Gets the coordinate system that this matrix maps to from the standard coordinate system.
Public methodGetMatrixData
Gets the data defining this matrix.
Public methodInvert
Inverts this matrix.
Public methodIsEqualTo
Compares this matrix for equality with the specified matrix.
Public methodPostMultiplyBy
Method that post-multiplies this matrix by the specified matrix, setting this matrix to the result.
Public methodPreMultiplyBy
Method that pre-multiplies this matrix by the specified matrix, setting this matrix to the result.
Public methodPutMatrixData
Method that sets the data defining this matrix.
Public methodSetCoordinateSystem
Sets this matrix to be the matrix that maps from the standard coordinate system to the specified coordinate system.
Public methodSetToAlignCoordinateSystems
Sets this matrix to be the matrix that maps from the 'from' coordinate system to the 'to' coordinate system.
Public methodSetToIdentity
Sets this matrix to the identity matrix.
Public methodSetToRotateTo
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.
Public methodSetToRotation
Sets this matrix to the matrix of rotation by the specified angle, through the specified origin, around the specified axis.
Public methodSetTranslation
Sets the translation portion of the matrix. If the optional ResetRotation flag is True, the rotation portion of the matrix is reset to identity.
Public methodTransformBy
Method that sets this matrix to the result of this transformation followed by the specified transformation (a pre-multiplication of this matrix by the specified matrix).
Top
See Also