Get a Transfrom matrix

Hi, I want to transform a lot of points using the transform matrix in GH. But I got a problem, could any one help me?
I already know the coordinates of 3 points before and after transformation. Is there a component that can calculate the transformation matrix automatically using the coordinates I know or I need to write some code?


If you have three non-colinear points, and the transformation only involves translation, uniform-dilation and rotation components then you should be able to construct two planes. One using the three before points, and one using the three after points. Between these two planes you can create an Orient or ChangeBasis transformation. The dilation may have to be added separately as planes tend to always have their axes unitised in Rhino.