If we know the coordinates of a square shape as well as AB vector with direction coefficient, how do we find X,Y for C point?
Basically I'm trying to find the X,Y coordinates of the point of the opposite side of an object of another point. As you can see I'm not exactly going for realism as it's linear. Below are a couple more examples to clarify my objective.
Any help is greatly appreciated :D