rename calc-door-trajectory