I have a molecule with one coordinate system ( denote as x,y,z ) where the origin is center of mass of the molecule. I have to define another coordinate system (p,q,r) for a local motion. (shown in the figure.) I know the unit vectors of p,q,r axises respective to x,y,z coordinates and origin of the p,q,r coordinate system respect to x,y,z. Hence know the r vector. I know the point C respect to x,y,z coordinate system. Now I want to find the coordinate of point C respect to p,q,r coordinate system. Appreciate very much if someone can help me to solve this problem. Thank you.
$$ \vec{r} - \vec{R}_{c\,m}\quad\mbox{( No relativistic )} $$