Exemple #1
0
 protected bool Equals(USAffine3D other)
 {
     return(C1R1.Equals(other.C1R1) && C1R2.Equals(other.C1R2) && C1R3.Equals(other.C1R3) &&
            C2R1.Equals(other.C2R1) && C2R2.Equals(other.C2R2) && C2R3.Equals(other.C2R3) &&
            C3R1.Equals(other.C3R1) && C3R2.Equals(other.C3R2) && C3R3.Equals(other.C3R3) &&
            C4R1.Equals(other.C4R1) && C4R2.Equals(other.C4R2) && C4R3.Equals(other.C4R3));
 }
Exemple #2
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = C1R1.GetHashCode();
         hashCode = (hashCode * 397) ^ C1R2.GetHashCode();
         hashCode = (hashCode * 397) ^ C1R3.GetHashCode();
         hashCode = (hashCode * 397) ^ C2R1.GetHashCode();
         hashCode = (hashCode * 397) ^ C2R2.GetHashCode();
         hashCode = (hashCode * 397) ^ C2R3.GetHashCode();
         hashCode = (hashCode * 397) ^ C3R1.GetHashCode();
         hashCode = (hashCode * 397) ^ C3R2.GetHashCode();
         hashCode = (hashCode * 397) ^ C3R3.GetHashCode();
         hashCode = (hashCode * 397) ^ C4R1.GetHashCode();
         hashCode = (hashCode * 397) ^ C4R2.GetHashCode();
         hashCode = (hashCode * 397) ^ C4R3.GetHashCode();
         return(hashCode);
     }
 }