isAlmostEqualXAndY MethodStatic

Toleranced equality test, using tolerance smallAngleRadians * ( 1 + abs(a) + (abs(b)))

  • Effectively an absolute tolerance of smallAngleRadians, with tolerance increasing for larger values of a and b.

isAlmostEqualXAndY(a: Readonly<WritableXAndY>, b: Readonly<WritableXAndY>): boolean

Parameter Type Description
a Readonly<WritableXAndY>  
b Readonly<WritableXAndY>  

Returns - boolean

Defined in

Last Updated: 30 November, 2023