documentationfor yFiles for HTML 2.6

An implementation of a matrix that represents an affine transformation and works with Point.

Inheritance Hierarchy
Matrix
Implemented Interfaces

Remarks

The matrix is interpreted row-major. The rows are defined as follows: [ m11 m12 dx ], [ m21 m22 dy ], ([ 0 0 1 ] implicitly).

When transforming a vector v using this matrix, the multiplication is done in this order: v' = M v.

Prepending a matrix T to this instance results in the operation M′ = M T. In concept, this means that T is applied before M when applying M' to a vector. Appending T to M results in M′ = T M.

Type Details

yfiles module
view-component
yfiles-umd modules
All view modules
Legacy UMD name
yfiles.geometry.Matrix

Constructors

Properties

Methods

Constants

Static Methods