Polyline inside and tangent to polyline

Discussion in 'AutoCAD' started by R3v3nG3, Jul 28, 2005.

  1. R3v3nG3

    R3v3nG3 Guest

    Hi all,
    I need to be able to understand if a poly is contained inside another
    poly. I'm using SelectByPolygon with acSelectionSetCrossingPolygon
    option. The problem is that in this way an external poly tangent to
    another one is considered inside.
    I try to explain the problem better.
    Let's say you have poly A, which contains and share a side with poly B.
    Poly A is also tangent to an external poly C. Well, the selection
    acSelectionSetCrossingPolygon poly A will contain poly B and C and not
    only B. How can I understand if a poly is really contained and not only
    tanget to another one?
    Thanks.

    -----------
    |A |------ PS: Sorry for the poor ascii art!
    | ---| C|
    | |B | |
    | ---| |
    | | |
    | |------
    -----------
     
    R3v3nG3, Jul 28, 2005
    #1
  2. R3v3nG3

    Jayant Guest

    Use acSelectionSetWindowPolygon
     
    Jayant, Aug 2, 2005
    #2
  3. R3v3nG3

    R3v3nG3 Guest

    Thanks for the answer but using acSelectionSetWindowPolygon will not
    select an internal poly which is tangent to the container poly.
    Referring to my previous example, B would not be present in the
    selection.
     
    R3v3nG3, Aug 2, 2005
    #3
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.