/// <summary> /// Equals - compares this Matrix3D with the passed in object. In this equality /// Double.NaN is equal to itself, unlike in numeric equality. /// Note that double values can acquire error when operated upon, such that /// an exact comparison between two values which /// are logically equal may fail. /// </summary> /// <returns> /// bool - true if the object is an instance of Matrix3D and if it's equal to "this". /// </returns> /// <param name='o'>The object to compare to "this"</param> public override bool Equals(object o) { if ((null == o) || !(o is Matrix3D)) { return(false); } Matrix3D value = (Matrix3D)o; return(Matrix3D.Equals(this, value)); }
/// <summary> /// Equals - compares this Matrix3D with the passed in object. In this equality /// Double.NaN is equal to itself, unlike in numeric equality. /// Note that double values can acquire error when operated upon, such that /// an exact comparison between two values which /// are logically equal may fail. /// </summary> /// <returns> /// bool - true if "value" is equal to "this". /// </returns> /// <param name='value'>The Matrix3D to compare to "this"</param> public bool Equals(Matrix3D value) { return(Matrix3D.Equals(this, value)); }