Change the orientation of map to surface


I am trying to map these curves to the surface, which I have managed to do, however I want to change the curve which it uses as the “first” curve (green) to map the edge against so it goes against the base of the surface (blue curve), opposed to the red curve. I have tried using a mirrored surface (such as the one to the left but it doesnt seem to be working