Spatial Trajectory Generation for Conflict Avoidance in Air Traffic Management