/** * Compares for reference equality and value equality. */ public bool equals(AngularVelocityVector rhs) { bool ivarsEqual = true; if (rhs.GetType() != this.GetType()) { return(false); } if (!(_x == rhs._x)) { ivarsEqual = false; } if (!(_y == rhs._y)) { ivarsEqual = false; } if (!(_z == rhs._z)) { ivarsEqual = false; } return(ivarsEqual); }
/** * Compares for reference equality and value equality. */ public bool equals(AngularVelocityVector rhs) { bool ivarsEqual = true; if(rhs.GetType() != this.GetType()) return false; if( ! (_x == rhs._x)) ivarsEqual = false; if( ! (_y == rhs._y)) ivarsEqual = false; if( ! (_z == rhs._z)) ivarsEqual = false; return ivarsEqual; }