Search code examples
c#eyeshot

How to merge two Regions in EyeShot?


I'm working on a program where I need to merge two devDept.Eyeshot.Entities.Regions.

Is there a method or function built in EyeShot to do this automatically, or should I do it manually?


Solution

  • Do you mean Union? You can do boolean operations between Region entities using:

    Region[] result = devDept.Eyeshot.Region.Union(r1, r2);