Constrained Trajectory Generation for a Planar Missile