It doesn't really matter on the type of the dog any dog can do both sports as long as they have the will to do it. However some breeds do have a few more problems doing agility because of their bone structure or size so they lower the jumps and other pieces of equipment for them.

Oh and Foam when finding the dogs jump height they actually measure the dog at the withers which is the middle of the dogs shoulder blades at the base of the neck.