Let's take the smallest possible case of such a triangle. It would be made of three atoms of equal size, linked together in a L-shape with a 90° angle in between.
If you have an arrangement like that, and something similar might be chemically possible, the centers of mass of the more distant two atoms would be apart [exactly][1] $\sqrt{2}\times$the distance between the directly touching ones.
Presumably, if you take a more rigorous and accurate approach, if you look at the bonding structure of water (which, of course, won't feature a right angle but the situation is equivalent), the centers of mass of the two Hydrogen atoms would also be an irrational distance appart compared the the distances of the centers of mass of each Hydrogen to the Oxygen. No matter what scale you use, at least one of the two distances will always be irrational.
If you can somehow limit the set of all possible distances to a countable infinity, I'd suspect this set not to be the rationals but rather the algebraic numbers. (or at least the subset of them that are positive)
[1]: modulo Heisenberg but I didn't use proper orbitals either. Let's, for the sake of the argument, define a distance on quantum level by the distances of expected values of the corresponding probability clouds.