Ejemplo n.º 1
0
 /// <summary>
 /// Compares internal data for equality.
 /// </summary>
 /// <param name="b"></param>
 /// <returns></returns>
 public bool Equals(ArticulatedPart b)
 {
     if (variableParameterType != b.variableParameterType)
     {
         return(false);
     }
     if (changeIndicator != b.changeIndicator)
     {
         return(false);
     }
     if (partID != b.partID)
     {
         return(false);
     }
     if (paramMetric != b.paramMetric)
     {
         return(false);
     }
     if (paramClass != b.paramClass)
     {
         return(false);
     }
     if (paramValue != b.paramValue)
     {
         return(false);
     }
     return(true);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Compares internal data for equality.
 /// </summary>
 /// <param name="a"></param>
 /// <param name="b"></param>
 /// <returns></returns>
 public static bool Equals(ArticulatedPart a, ArticulatedPart b)
 {
     return(a.Equals(b));
 }