M
Marcel Preda
Guest
Hi all,
I want to check the visibility between two shapes (usually are
polygons) on a flatten layout.
What's the idea:
- I have 2 shapes (s1, s2)
- I have obstacles, let's suppose that they are all the shapes on
layerX
- I want to check if it's possible the draw at least one straight line
from s1 to s2, without intersecting shapes from layerX.
The line direction could be anynot, not only orthogonal.
Does exists such a function on Cadence ?
I have a solution: building smal traingle from a shape to the other
one and to do a LayerAndNot between those small triangles and LayerX
(obstacles), after that check the number of resulted shapes.
It works but is extremely slowly: it creates and deletes a lot of
shapes, it spends a lot of time at dbDeleteObject.
Is there some better approach ?
Best Regards,
Marcel
I want to check the visibility between two shapes (usually are
polygons) on a flatten layout.
What's the idea:
- I have 2 shapes (s1, s2)
- I have obstacles, let's suppose that they are all the shapes on
layerX
- I want to check if it's possible the draw at least one straight line
from s1 to s2, without intersecting shapes from layerX.
The line direction could be anynot, not only orthogonal.
Does exists such a function on Cadence ?
I have a solution: building smal traingle from a shape to the other
one and to do a LayerAndNot between those small triangles and LayerX
(obstacles), after that check the number of resulted shapes.
It works but is extremely slowly: it creates and deletes a lot of
shapes, it spends a lot of time at dbDeleteObject.
Is there some better approach ?
Best Regards,
Marcel