The condition placed on the behavior of a wave when it encounters a boundary between two different media.