How to park an ambulance in a three-dimensional place