Align a Line2D to a Ray

Hi, everybody. I notice sometimes intersection does not work out correctly due to little error in modeling that can be solved using guide rays where all spaces footprint were aligned. But I don’t find a method neither line nor ray to make this. I want to work on that but I am just checking that this method doesn’t exist to start to creating it. Thank you.