Example image where I'd be interested in finding angles a and bA simulated robotic agent is travelling in an known direction heading relative to north as it hits (at for example, 30 degrees) a straight wall (speeed doesn't matter), of which two points on this wall/line are known (i.e. (-3, 7) and (8, 5)). I am wanting to calculate the supplementary angles that are created as the agent makes contact with the wall when moving in its heading direction.
I haven't really done this kind of maths in ages, I'm sure its relatively straight forward, but does anyone know how to perform these sorts of calculation?