Length of a curve between two planes

◔