Hi I can’t seem to be able to form a rectangle from 4 points. Not really sure why?
Is the order of the points right? There can’t be any crossing, like maybe you have both lines going from left to right, you would have to reverse the order of one.
Ahh sad that it can’t work that out itself.
You could always try to make a node that can take any 4 points into a rectangle yourself. It sounds pretty easy, basically it takes 4 points and reorders them until it makes a successful rectangle. The order of the points will be really unpredictable though.
Probably you dont need to sort those points.