/// <summary> /// /// </summary> /// <param name="other"></param> /// <param name="epsilon"></param> /// <returns></returns> public bool ApproxEquals(ref Transform3d other, double epsilon = D.ZeroTolerance) { return (Translation.ApproxEquals(other.Translation, epsilon) && Rotation.ApproxEquals(ref other.Rotation, epsilon) && Scale.ApproxEquals(other.Scale, epsilon)); }
/// <summary> /// /// </summary> /// <param name="other"></param> /// <param name="epsilon"></param> /// <returns></returns> public bool ApproxEquals(ref Orient3d other, double epsilon = D.ZeroTolerance) { return (Translation.ApproxEquals(other.Translation, epsilon) && Rotation.ApproxEquals(ref other.Rotation, epsilon)); }
/// <summary> /// /// </summary> /// <param name="other"></param> /// <param name="epsilon"></param> /// <returns></returns> public bool ApproxEquals(AxisAngle3d other, double epsilon = D.ZeroTolerance) { return (SlurMath.ApproxEquals(_angle, other._angle, epsilon) && _axis.ApproxEquals(other._axis, epsilon)); }
/// <summary> /// /// </summary> /// <param name="other"></param> /// <param name="epsilon"></param> /// <returns></returns> public bool ApproxEquals(ref OrthoBasis3d other, double epsilon = D.ZeroTolerance) { return (_x.ApproxEquals(other._x, epsilon) && _y.ApproxEquals(other._y, epsilon)); }