I have an object that uses 0, 0 as the centre point (so the 4 maximum points are -a/2, a/2, b/2, -b/2).
I have a node that I don’t want to be able to move outside of my ellipse / circle (Think tree trunk moving under a canopy, wouldn’t be able to put the trunk outside of the canopy). I don’t know if anyone has had to do this so has the code / calculations to hand? or if there’s an ArchiCAD object that can do this? I will need the calculations for both the circle and ellipse.