Polyline inside and tangent to polyline
CADForums.net Forum Index CADForums.net
Discussion of AutoCAD and other CAD software.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web cadforums.net
Polyline inside and tangent to polyline

 
Post new topic   Reply to topic    CADForums.net Forum Index -> VBA
Author Message
R3v3nG3
Guest





Posted: Thu Jul 28, 2005 4:10 pm    Post subject: Polyline inside and tangent to polyline Reply with quote

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 | |
| ---| |
| | |
| |------
-----------

Back to top
Jayant
Guest





Posted: Tue Aug 02, 2005 12:10 pm    Post subject: Re: Polyline inside and tangent to polyline Reply with quote

Use acSelectionSetWindowPolygon
Back to top
R3v3nG3
Guest





Posted: Tue Aug 02, 2005 4:10 pm    Post subject: Re: Polyline inside and tangent to polyline Reply with quote

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.

Back to top
 
Post new topic   Reply to topic    CADForums.net Forum Index -> VBA All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server DSP VoIP Electronics New Topics
Powered by phpBB