• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC SKILL
  3. Any known limitations of geIsPointInsidePolygon or CCSP...

Stats

  • Replies 11
  • Subscribers 142
  • Views 273
  • Members are here 0

Any known limitations of geIsPointInsidePolygon or CCSPointInPolygon

RK56
RK56 11 hours ago

Hi,

I'm trying to find if a point is inside a polygon as shown in the image below.  Both the functions (geIsPointInsidePolygon & CCSPointInPolygon) fail to test correctly the pink locations in the image for inside. To check if it is due to the polygon, I chopped the lower half to simplify and then the functions test correctly. While I can infer that such complicated polygons are not supported, I could not find what kind of polygons are acceptable.

Can someone here help me to find?

I'm using IC23.1-64b Version of Virtusos

Thanks

Ram

  • Cancel
  • Sign in to reply
  • Aurel B
    Aurel B 7 hours ago in reply to RK56

    Another solution that might work as well is to use ABE functions (boolean operations).

    You can build ABE layers using abeLayerFromCellView to get all shapes from a layer in a cell view.

    Or you can use abeNewLayer and abeLayerOrPtArray to create a layer from polygons.

    Then you can use abeLayerInside (you can also do many other checks: abeLayerAndNot, abeLayerXor, ...)

    Then you just have to check if the resulting layer area is 0.

    It might be easier to debug, as you can always display the result of any generated layer into a highlight set.

    It requires some ABE knowledge and to write a bit of of wrapping code but it's definitely worth it.

    Be aware that it is limited to 45° angles (which seems to be OK in your case)

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
<

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information