I am trying to get topology graphs of 2d rectangular cells that are in contact.
When i use boundary surfaces > join brep > brep topology it ignores indicies of initial curves + it is slow when many curves provided, so that is a no go
If the question is related with the C# above … appears that an EnryLevel_V1A (for the 2 fast options) is required. A Recursive search acc a depth user var is also required.
No. Thomas he’s - obviously - right, just think the general case (partial [no full edge/edge] contact so to speak). But I confess that I have removed some sensitive very fast (real-time in fact) Methods for the general case.
I.e. check first Point3dList proximity matters AND if it fails … go to 2nd check > find if 2 lines [i.e. the poly edges] are colinear and have some sort of overlap.
BTW: the above C# is labeled as EntryLevel (meaning a bit of a crap occasionally).
Anyway see a preview of the V1A update (plus spot the depth Recursive search user var).
I hear you: but … for the conn “Graph” you are using the Polyline center point (a bit confusing in irregular cases like the one shown) instead of the so called visual center (life sucks).
Free bonus: remember your recent case with Graph islands? Well … if you add some minor (so to speak) stuff to the SearchAdjacent Method … you’ll get what you want.