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