Show / Hide Table of Contents

Operator Subtraction

Subtraction(TransformationMatrix, TransformationMatrix)

Subtracts the second transformations from the first and returns the result.

Declaration
public static TransformationMatrix operator -(TransformationMatrix matrix1, TransformationMatrix matrix2)
Parameters
Type Name Description
TransformationMatrix matrix1

First matrix

TransformationMatrix matrix2

Second matrix

Returns
Type Description
TransformationMatrix

A new instance of TransformationMatrix representing the result of subtracting matrix2 from matrix1.

Remarks

Quaternion "subtraction" is done by multiplying matrix1 by the inverse of matrix2.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.6 - 200.8
.NET100.13 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.0 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.6 - 200.8
Xamarin.Android100.6 - 100.15
Xamarin.iOS100.6 - 100.15
UWP100.6 - 200.8
In This Article
Back to top Copyright © 2022 Esri.