Share

Matrix2d Object


Description

A 3x3 Matrix2d object. For more information, see the Transient Geometry article on the overviews section.

Methods

Name Description
Copy Creates a copy of this Matrix2d object. The result is entirely independent and can be edited without affecting the original Matrix2d object.
GetCoordinateSystem Get the coordinate system that this matrix2d maps to from the standard coordinate system.
GetMatrixData Get the data defining this matrix.
Invert Method to Invert this matrix2d.
IsEqualTo Compares this matrix2d for equality with the specified matrix2d
PostMultiplyBy Post multiply this matrix2d by the specified matrix2d, setting this matrix2d to the result.
PreMultiplyBy Pre multiply this matrix2d by the specified matrix2d, setting this matrix2d to the result.
PutMatrixData Method that sets the data defining this matrix.
SetCoordinateSystem Sets this matrix2d to be the matrix2d that maps from the standard coordinate system to the specified coordinate system.
SetToAlignCoordinateSystems Sets this matrix2d to be the matrix2d that maps from the 'from' coordinate system to the 'to' coordinate system.
SetToIdentity Sets this matrix2d to the identity matrix2d.
SetToRotateTo Sets to the matrix2d of rotation that would align the 'from' vector2d with the 'to' vector2d.
SetToRotation Sets this matrix2d to the matrix2d of rotation by the specified angle, through the specified origin.
SetTranslation Sets the translation portion of the matrix2d.
TransformBy Set this matrix2d to the result of this transformation followed by the specified transformation (a pre multiplication of this matrix2d by the specified matrix2d).

Properties

Name Description
Cell Property that returns the cell defined by row/col.
Determinant Get the determinant of this matrix2d.
Translation Get the translation portion of the matrix2d.

Accessed From

AutoCADBlock.Transformation, Matrix2d.Copy, SketchBlock.Transformation, SketchBlockProxy.Transformation, SketchedSymbol.Transformation, TitleBlock.Transformation, TransientGeometry.CreateMatrix2d

Version

Introduced in version 4

Was this information helpful?