/// <summary> /// /// </summary> /// <param name="other"></param> /// <param name="tolerance"></param> /// <returns></returns> public bool ApproxEquals(OrthoBasis2d other, double tolerance = zMath.ZeroTolerance) { return(_x.ApproxEquals(other._x, tolerance)); }
/// <summary> /// /// </summary> /// <param name="other"></param> /// <param name="tolerance"></param> /// <returns></returns> public bool ApproxEquals(Orient2d other, double tolerance = zMath.ZeroTolerance) { return (Translation.ApproxEquals(other.Translation, tolerance) && Rotation.ApproxEquals(other.Rotation, tolerance)); }