IMat3Ops

Description

[StaticTemplate]
interface Tinman.Core.Math.Vectors.IMat3Ops
<TVector3 out val>
<TVector2 val>
<TElement in val>

Extended by

Mat23D struct
Mat23F struct
Mat3D struct
Mat3F struct

Defines common operations for 3x3 matrix values.

Public / Methods

Mul


[Pure]
public method Mul → (3)

in : TElement

X-component of vector.

in : TElement

Y-component of vector.

in : TElement

Z-component of vector.

returns → TVector3

The resulting vector.

Multiplies this matrix (left-side) with the given vector (right-side): result = this * v.

Mul​W

2 overloads


[Pure]
public method MulW1 → (2)

in : TVector2

The vector.

in : TElement

The W-component to assume.

returns → TVector2

The resulting vector, scaled by 1/result.W.

Multiplies this matrix (left-side) with the given homogeneous 2D vector (right-side): result = this * v.


[Pure]
public method MulW2 → (3)

in : TElement

X-component of vector.

in : TElement

Y-component of vector.

in : TElement

The W-component to assume.

returns → TVector2

The resulting vector, scaled by 1/result.W.

Multiplies this matrix (left-side) with the given homogeneous 2D vector (right-side): result = this * v.

Mul​W0

2 overloads


[Pure]
public method MulW01 → (1)

in : TVector2

The vector.

returns → TVector2

The resulting vector, scaled by 1/result.W.

Multiplies this matrix (left-side) with the given 2D vector (right-side): result = this * (v.X, v.Y, 0).

See also

IMat3Ops.MulW1


[Pure]
public method MulW02 → (2)

in : TElement

X-component of vector.

in : TElement

Y-component of vector.

returns → TVector2

The resulting vector, scaled by 1/result.W.

Multiplies this matrix (left-side) with the given 2D vector (right-side): result = this * (x, y, 0).

See also

IMat3Ops.MulW2

Mul​W1

3 overloads


[Pure]
public method MulW11 → (1)

in : TVector2

The point.

returns → TVector2

The resulting point, scaled by 1/result.W.

Multiplies this matrix (left-side) with the given 2D point (right-side): result = this * (v.X, v.Y, 1).

See also

IMat3Ops.MulW1


[Pure]
public method MulW12 → (2)

in : TElement

X-component of point.

in : TElement

Y-component of point.

returns → TVector2

The resulting point, scaled by 1/result.W.

Multiplies this matrix (left-side) with the given 2D point (right-side): result = this * (x, y, 1).

See also

IMat3Ops.MulW2


[Pure]
public method MulW13 → (4)

in : TElement

X-component of vector.

in : TElement

Y-component of vector.

dx out : TVector2

The partial derivative vector along the X-axis.

dy out : TVector2

The partial derivative vector along the Y-axis.

returns → TVector2

The resulting point.

Multiplies this matrix (left-side) with the given 2D point (right-side), assuming a homogeneous W-component of 1 and computes the partial derivatives: result = this * v.