Set range to outline of Circle / Ellipse

Home Forums Problems and solutions in GDL Graphical editing Set range to outline of Circle / Ellipse

This topic contains 0 replies, has 1 voice, and was last updated by  James Goode 2 weeks ago.

  • Author
    Posts
  • #18644

    James Goode
    Participant

    Hello,

    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.

    Any help is much appreciated.

    Thanks

You must be logged in to reply to this topic.