Grasshopper

algorithmic modeling for Rhino

Check whether a closed curve boundary contains another shape

I have some closed curves as boundaries  (in the picture , the yellow curves).

Some of these boundaries have other closed curves inside them (in the pic. red curves)  and other boundaries dont.

How can I group the yellow curve-boundaries to those who dont contain any curves and to those that contain other curves inside

Thank you !! 

Views: 1265

Attachments:

Replies to This Discussion

Hi Dimitris,

Use this:

Attachments:

Thanks man, you save me (again)

Nice solution djordje!

I have also something. Its a bit shorter...

Attachments:

It really means a lot to me, when you say that my solution is nice.
Thank you Raul - both for nice words and for posting a better solution.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service