Grasshopper

algorithmic modeling for Rhino

Hello, 

I am new to grasshopper and new to C#. 

Right now i am coding one program to get circles around one center point. I don't want the circles to intersect so i have to write it on the program but as i am new to this, i don't really know "the formula" to detect intersections between circles. 

Can someone please help me to understand the process of how we can detect these intersection? 

Views: 409

Attachments:

Replies to This Discussion

If it's just circles, you don't have to intersect them. If the distance between the centre points is less than the sum of the two radii, the circles intersect. If you're ok with the circles being inside each other without intersection then you can also test to see if the distance is less than the absolute difference of the two radii.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service