<?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: Closed curve question! in ObjectARX Forum</title>
    <link>https://forums.autodesk.com/t5/objectarx-forum/closed-curve-question/m-p/10317827#M3324</link>
    <description>&lt;P&gt;&lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b"&gt;&lt;SPAN&gt;Thanks sir, &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b"&gt;&lt;SPAN&gt;this is exactly what I needed.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":cowboy_hat_face:"&gt;🤠&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 17 May 2021 11:30:00 GMT</pubDate>
    <dc:creator>D_D_K</dc:creator>
    <dc:date>2021-05-17T11:30:00Z</dc:date>
    <item>
      <title>Closed curve question!</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/closed-curve-question/m-p/10314602#M3322</link>
      <description>&lt;P&gt;&lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b"&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b"&gt;&lt;SPAN&gt;How do I get the derivative at the last point of a closed curve as&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b"&gt;&lt;SPAN&gt;this's illustration.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b"&gt;Is there a better way than finding the approximate point?&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 210px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/919057i3B14636F3B487ED5/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Sat, 15 May 2021 07:53:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/closed-curve-question/m-p/10314602#M3322</guid>
      <dc:creator>D_D_K</dc:creator>
      <dc:date>2021-05-15T07:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: Closed curve question!</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/closed-curve-question/m-p/10317624#M3323</link>
      <description>&lt;P&gt;In general you can use &lt;FONT face="courier new,courier"&gt;AcDbCurve::getFirstDeriv(double param, AcGeVector3d&amp;amp; firstDeriv)&lt;/FONT&gt; to calculate the derivative at the parameter &lt;FONT face="courier new,courier"&gt;param&lt;/FONT&gt;. This should also work for both start- and the end-parameter of a closed curve.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The bigger problem is to deal with "&lt;A href="https://root.cern/TaligentDocs/TaligentOnline/DocumentRoot/1.0/Docs/books/GS/GS_68.html" target="_blank" rel="noopener"&gt;points of C1 discontinuity&lt;/A&gt;". I think the only safe way to find those points for general &lt;FONT face="courier new,courier"&gt;AcDbCurve&lt;/FONT&gt;s is to retrieve the geometrically identical &lt;FONT face="courier new,courier"&gt;AcGeCurve3d&lt;/FONT&gt; with&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;AcDbCurve::getAcGeCurve (AcGeCurve3d*&amp;amp; pGeCurve, const AcGeTol&amp;amp; tol)&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and use&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;Adesk::Boolean AcDbCurve::explode(&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp; AcGeVoidPointerArray&amp;amp; explodedCurves, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp; AcGeIntArray&amp;amp; newExplodedCurves, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp; const AcGeInterval* intrvl = NULL&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;) const;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;to split it into C1-continuous curves and determine their derivatives at start/end-parameters.&lt;/P&gt;</description>
      <pubDate>Mon, 17 May 2021 09:04:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/closed-curve-question/m-p/10317624#M3323</guid>
      <dc:creator>tbrammer</dc:creator>
      <dc:date>2021-05-17T09:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: Closed curve question!</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/closed-curve-question/m-p/10317827#M3324</link>
      <description>&lt;P&gt;&lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b"&gt;&lt;SPAN&gt;Thanks sir, &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b"&gt;&lt;SPAN&gt;this is exactly what I needed.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":cowboy_hat_face:"&gt;🤠&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 May 2021 11:30:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/closed-curve-question/m-p/10317827#M3324</guid>
      <dc:creator>D_D_K</dc:creator>
      <dc:date>2021-05-17T11:30:00Z</dc:date>
    </item>
  </channel>
</rss>

