AffineTransform.AreGeometricallyEquivalent

AffineTransform.AreGeometricallyEquivalent method

Checks whether two transform represent the same geometric spatial transformation.

public static bool AreGeometricallyEquivalent(ref AffineTransform a, ref AffineTransform b, 
    float tolerance = 1E-05)
ParameterTypeDescription
aAffineTransform&the first transform to check.
bAffineTransform&the second transform to check.
toleranceSinglethe tolerance to handle floating point error.

Return Value

true if both transforms can be considered geometryically equivalent.

See Also