merge

fun merge(p1: DisplacementProfile, p2: DisplacementProfile): DisplacementProfile

Merges p1 and p2 into another profile with the minimum velocity of the two at every point.