Wouldn't be easier to determine all the directions from the AI ship?
So in your example mentioned before AAD it would be ACD?
A direction of enemy, C enemy facing, D wind direction....

So you dont have to look for directions in both ships???