<?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: acdb3dPolyline::intersectWith bug with the Z coordinate in Acad 2008 in ObjectARX Forum</title>
    <link>https://forums.autodesk.com/t5/objectarx-forum/acdb3dpolyline-intersectwith-bug-with-the-z-coordinate-in-acad/m-p/3528718#M14545</link>
    <description>&lt;P&gt;thanks much.&lt;/P&gt;&lt;P&gt;I want to get the intersection point on Acdb3dPolyline, then use "getParamAtPoint" to get the param ,but now the intersection point has wrong Z value?&amp;nbsp; what can I do if I still want to get param of the intersection point on this Acdb3dPolyline?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 06 Jul 2012 08:22:57 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-07-06T08:22:57Z</dc:date>
    <item>
      <title>acdb3dPolyline::intersectWith bug with the Z coordinate in Acad 2008</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/acdb3dpolyline-intersectwith-bug-with-the-z-coordinate-in-acad/m-p/3528556#M14543</link>
      <description>&lt;P&gt;I have three entities, a AcdbLine[(0,0,1),(10,10,10)], a AcdbPolyline,and a Acdb3dPolyline[(1,10,1),(10,0,10)].&amp;nbsp; they have different Z value(not Zero).&lt;/P&gt;&lt;P&gt;execute the code below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AcDbObjectPointer&amp;lt;AcDbCurve&amp;gt; pCurve1(idPLs[0],AcDb::kForRead),pCurve2(idPLs[1],AcDb::kForRead);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;AcGePoint3dArray pt3dNodes;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;pCurve1-&amp;gt;intersectWith(pCurve2,AcDb::kOnBothOperands,AcGePlane::kXYPlane,pt3dNodes);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;if (!pt3dNodes.isEmpty())&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;acutPrintf(_T("\nZ：%g"),pt3dNodes.first().z);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;as the ARX SDK says "it projects this entity and the &lt;SPAN&gt;pEnt&lt;/SPAN&gt; entity onto the &lt;SPAN&gt;projPlane&lt;/SPAN&gt;, finds the intersection points, and then projects the intersection points back onto this entity. So, all points appended to the &lt;SPAN&gt;points&lt;/SPAN&gt; array will be on this entity. "&lt;/P&gt;&lt;P&gt;if &amp;nbsp;pCurve1 is Acdb3dPolyline, the intersection point is on pCurve2.&amp;nbsp; why? bug?&amp;nbsp;&lt;/P&gt;&lt;P&gt;if pCurve1 is not Acdb3dPolyline, works well as the SDK says.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jul 2012 02:12:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/acdb3dpolyline-intersectwith-bug-with-the-z-coordinate-in-acad/m-p/3528556#M14543</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-07-06T02:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: acdb3dPolyline::intersectWith bug with the Z coordinate in Acad 2008</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/acdb3dpolyline-intersectwith-bug-with-the-z-coordinate-in-acad/m-p/3528574#M14544</link>
      <description>&lt;P&gt;That's a bug in how this intersectWith is implemented in 3dpolyline. And, it appears to still be that way.&amp;nbsp; I'll see about getting it fixed.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jul 2012 03:53:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/acdb3dpolyline-intersectwith-bug-with-the-z-coordinate-in-acad/m-p/3528574#M14544</guid>
      <dc:creator>artc2</dc:creator>
      <dc:date>2012-07-06T03:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: acdb3dPolyline::intersectWith bug with the Z coordinate in Acad 2008</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/acdb3dpolyline-intersectwith-bug-with-the-z-coordinate-in-acad/m-p/3528718#M14545</link>
      <description>&lt;P&gt;thanks much.&lt;/P&gt;&lt;P&gt;I want to get the intersection point on Acdb3dPolyline, then use "getParamAtPoint" to get the param ,but now the intersection point has wrong Z value?&amp;nbsp; what can I do if I still want to get param of the intersection point on this Acdb3dPolyline?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jul 2012 08:22:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/acdb3dpolyline-intersectwith-bug-with-the-z-coordinate-in-acad/m-p/3528718#M14545</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-07-06T08:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: acdb3dPolyline::intersectWith bug with the Z coordinate in Acad 2008</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/acdb3dpolyline-intersectwith-bug-with-the-z-coordinate-in-acad/m-p/3528884#M14546</link>
      <description>&lt;P&gt;If the returned points are otherwise correct, you could project them manually back onto the source 3d polyline. For that you can either calculate it manually or&amp;nbsp;call the other form of intersectWith and pass a line that passes through the returned point and is orthogonal to the projection plane.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jul 2012 11:02:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/acdb3dpolyline-intersectwith-bug-with-the-z-coordinate-in-acad/m-p/3528884#M14546</guid>
      <dc:creator>owenwengerd</dc:creator>
      <dc:date>2012-07-06T11:02:49Z</dc:date>
    </item>
  </channel>
</rss>

