<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: IntersectWith command problem in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/intersectwith-command-problem/m-p/11301005#M12332</link>
    <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/553576"&gt;@R.Gerritsen4967&lt;/a&gt;&amp;nbsp;Really, exactly the problem is this. Thank you for your reply. I found the reason in the page:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"The code given above, when compiled, computes the intersection points and stores them in intPoints Points3DCollection. It is evident from the given geometry of both polylines that there should be a single point of intersection. On the contrary, the output returns two intersection points as shown below."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;from:&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://imrananees.blogspot.com/2021/02/analyzing-bug-in-intersectwith-autocad.html" target="_blank"&gt;https://imrananees.blogspot.com/2021/02/analyzing-bug-in-intersectwith-autocad.html&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Jul 2022 09:29:59 GMT</pubDate>
    <dc:creator>ekoneo</dc:creator>
    <dc:date>2022-07-16T09:29:59Z</dc:date>
    <item>
      <title>IntersectWith command problem</title>
      <link>https://forums.autodesk.com/t5/net-forum/intersectwith-command-problem/m-p/11300907#M12330</link>
      <description>&lt;P&gt;When I use&amp;nbsp;IntersectWith command I am having problem.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Code is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Point3dCollection ptColl = new Point3dCollection();
line.IntersectWith(pl2, Intersect.ExtendThis, ptColl, thisGraphicSystemMarker2, otherGraphicSystemMarker2);
ed.WriteMessage("\n" + ptColl.Count);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However ptColl.Count gives 2 although there is only one intersection possiblity. What is the reason?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SamplePhoto.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1092329iC048CC7CDBC5A021/image-size/large?v=v2&amp;amp;px=999" role="button" title="SamplePhoto.png" alt="SamplePhoto.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On the intersection point pl2 doesnt have any vertex.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Jul 2022 07:47:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/intersectwith-command-problem/m-p/11300907#M12330</guid>
      <dc:creator>ekoneo</dc:creator>
      <dc:date>2022-07-16T07:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: IntersectWith command problem</title>
      <link>https://forums.autodesk.com/t5/net-forum/intersectwith-command-problem/m-p/11300999#M12331</link>
      <description>&lt;P&gt;Maybe &lt;A href="https://imrananees.blogspot.com/2021/02/analyzing-bug-in-intersectwith-autocad.html" target="_blank" rel="noopener"&gt;this&lt;/A&gt; is of some help...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To help troubleshooting, it might be helpful to write the coordinates of the points to the commandline. This way you can find out if they are the same.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Jul 2022 09:26:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/intersectwith-command-problem/m-p/11300999#M12331</guid>
      <dc:creator>R.Gerritsen4967</dc:creator>
      <dc:date>2022-07-16T09:26:45Z</dc:date>
    </item>
    <item>
      <title>Re: IntersectWith command problem</title>
      <link>https://forums.autodesk.com/t5/net-forum/intersectwith-command-problem/m-p/11301005#M12332</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/553576"&gt;@R.Gerritsen4967&lt;/a&gt;&amp;nbsp;Really, exactly the problem is this. Thank you for your reply. I found the reason in the page:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"The code given above, when compiled, computes the intersection points and stores them in intPoints Points3DCollection. It is evident from the given geometry of both polylines that there should be a single point of intersection. On the contrary, the output returns two intersection points as shown below."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;from:&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://imrananees.blogspot.com/2021/02/analyzing-bug-in-intersectwith-autocad.html" target="_blank"&gt;https://imrananees.blogspot.com/2021/02/analyzing-bug-in-intersectwith-autocad.html&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Jul 2022 09:29:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/intersectwith-command-problem/m-p/11301005#M12332</guid>
      <dc:creator>ekoneo</dc:creator>
      <dc:date>2022-07-16T09:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: IntersectWith command problem</title>
      <link>https://forums.autodesk.com/t5/net-forum/intersectwith-command-problem/m-p/11301042#M12333</link>
      <description>&lt;P&gt;hi&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/2088822"&gt;@ekoneo&lt;/a&gt;&lt;/P&gt;&lt;P&gt;so how did you recognize the fake intersection point from the true one ?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Jul 2022 10:35:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/intersectwith-command-problem/m-p/11301042#M12333</guid>
      <dc:creator>essam-salah</dc:creator>
      <dc:date>2022-07-16T10:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: IntersectWith command problem</title>
      <link>https://forums.autodesk.com/t5/net-forum/intersectwith-command-problem/m-p/11301056#M12334</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3650456"&gt;@essam-salah&lt;/a&gt;&amp;nbsp;hi.&lt;/P&gt;&lt;P&gt;It is a bit long solution but I get the right point. Only one of them is on the pl2. I prepare small for cycle including try catch end GetDistAtPoint function.&amp;nbsp; GetDistAtPoint gives an "Autodesk.AutoCAD.Runtime.Exception" error. Via the error existance I can get the true point. When catch side working I deleted the point from the point collection. Sory for my bad English. I wish I could tell what I did.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Jul 2022 10:49:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/intersectwith-command-problem/m-p/11301056#M12334</guid>
      <dc:creator>ekoneo</dc:creator>
      <dc:date>2022-07-16T10:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: IntersectWith command problem</title>
      <link>https://forums.autodesk.com/t5/net-forum/intersectwith-command-problem/m-p/11301069#M12335</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/2088822"&gt;@ekoneo&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3650456"&gt;@essam-salah&lt;/a&gt;&amp;nbsp;hi.&lt;/P&gt;&lt;P&gt;It is a bit long solution but I get the right point. Only one of them is on the pl2. ..&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/2088822"&gt;@ekoneo&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cool, i hope autodesk solve the problem one day,&lt;/P&gt;&lt;P&gt;thanks for sharing.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Jul 2022 11:03:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/intersectwith-command-problem/m-p/11301069#M12335</guid>
      <dc:creator>essam-salah</dc:creator>
      <dc:date>2022-07-16T11:03:53Z</dc:date>
    </item>
  </channel>
</rss>

