Rotate Points multiple times around respective axis

Hi there,

I am looking for support with rotating two type points that are defined with respect to a reference point. The number of reference points is parametrized. The reference point defines the axis for rotation. For each two points four rotations are to be conducted.

If I connect the two points that are to be rotated to a line first, I do not have an issue. I would like to not generate a line at this point though. But my data management skills are insufficient, to do the operation on the two points.

This is what it looks like with the line component.
image

This is what it looks like when I try to rotate the two points, I would like to end up with a result like with the line component.


fail2rotatePts.gh (15.5 KB)

I am looking forward to your support! Thank you.