How to create a "Center Line" oriented depending on a reference axis?