Text in Rhino view: how to detect overlap


Situation: I have objects (blue squares in the image) that may have any given distance to one another.
For each object, my c# plug-in creates a block of text. The top-left corner of each text block is set to the center of its corresponding square.

Problem: Sometimes, the distance between the squares is too small, that causes the texts to overlap.

Question: does Rhinocommon provide any straight-forward way to detect overlapping of texts?

@dale, @stevebaer


Hello - checking the bounding boxes is what comes to mind.


1 Like