I have a point A, whose position I know in Cartesian coordinates x and y (referred to as true coordinates). I need to calculate the coordinates of point B, whose position is always set relative to point A. Point A has its own Cartesian coordinate system x'y' (referred to as relative coordinates), where y' shows its heading and is different from y.
The values of point B relative to point A depend on which quadrant of x'y' coordinate system it falls. For example, if point B is on the right and in front of point A, it will have positive values for x' and y'.
Question: How do I calculate the true coordinates of point B, if the true coordinates of point A are known and the relative coordinates of point B are known?
I found the following question, which is somehow related: Calculate the new position of a point after rotating it around another point 2D. This website has useful information too.
