<?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: how do you find the tangent of point to curve in autocad api in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/how-do-you-find-the-tangent-of-point-to-curve-in-autocad-api/m-p/10977324#M13669</link>
    <description>Thank</description>
    <pubDate>Tue, 01 Mar 2022 14:39:33 GMT</pubDate>
    <dc:creator>Dannyisrael</dc:creator>
    <dc:date>2022-03-01T14:39:33Z</dc:date>
    <item>
      <title>how do you find the tangent of point to curve in autocad api</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-do-you-find-the-tangent-of-point-to-curve-in-autocad-api/m-p/10946327#M13665</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danny_0-1644662561351.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1024327i0FF26376A4579600/image-size/medium?v=v2&amp;amp;px=400" role="button" title="danny_0-1644662561351.png" alt="danny_0-1644662561351.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Feb 2022 10:44:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-do-you-find-the-tangent-of-point-to-curve-in-autocad-api/m-p/10946327#M13665</guid>
      <dc:creator>Dannyisrael</dc:creator>
      <dc:date>2022-02-12T10:44:11Z</dc:date>
    </item>
    <item>
      <title>Re: how do you find the tangent of point to curve in autocad api</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-do-you-find-the-tangent-of-point-to-curve-in-autocad-api/m-p/10947201#M13666</link>
      <description>&lt;P&gt;Option 1: Calculate the angle with a little Trig. You know that you have a triangle formed by the radius (R), the tangent line (T) and the line from point to radius point (H), You know (or can easily get) the lengths of the last 2 so the angle from the H to T would be arcsine (r/h). Now add or subtract the found angle to/from the angle of H.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Option 2: Similarly, you can calculate the length of the Tangent line since it a basic right triangle. Construct a temporary circle from the known point having that radius and use IntersectWith between the circle and arc to find the point of tangency.&lt;/P&gt;</description>
      <pubDate>Sun, 13 Feb 2022 04:44:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-do-you-find-the-tangent-of-point-to-curve-in-autocad-api/m-p/10947201#M13666</guid>
      <dc:creator>Jeff_M</dc:creator>
      <dc:date>2022-02-13T04:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: how do you find the tangent of point to curve in autocad api</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-do-you-find-the-tangent-of-point-to-curve-in-autocad-api/m-p/10953334#M13667</link>
      <description>&lt;P&gt;I use this piece of code from &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/109424"&gt;@_gile&lt;/a&gt; :&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Public Function GetTangentsTo(ByVal arc As CircularArc2d, ByVal pt As Point2d) As Point2d
        Dim center As Point2d = arc.Center
        If pt.GetDistanceTo(center) &amp;lt;= arc.Radius Then Return Nothing
        Dim vec As Vector2d = center.GetVectorTo(pt) / 2.0
        Dim tmp As CircularArc2d = New CircularArc2d(center + vec, vec.Length)
        Dim inters As Point2d() = arc.IntersectWith(tmp)
        If inters Is Nothing Then Return Nothing
        Dim tanPt As Point2d

        If inters(0).X &amp;gt; inters(1).X Then
            tanPt = inters(0)
        Else
            tanPt = inters(1)
        End If

        Return New Point3d(tanPt.X, tanPt.Y)
    End Function&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 16 Feb 2022 08:23:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-do-you-find-the-tangent-of-point-to-curve-in-autocad-api/m-p/10953334#M13667</guid>
      <dc:creator>R.Gerritsen4967</dc:creator>
      <dc:date>2022-02-16T08:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: how do you find the tangent of point to curve in autocad api</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-do-you-find-the-tangent-of-point-to-curve-in-autocad-api/m-p/10971123#M13668</link>
      <description>&lt;P&gt;You might want to read this:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://drive-cad-with-code.blogspot.com/2022/02/where-tangent-point-is-show-it-when.html" target="_blank" rel="noopener"&gt;https://drive-cad-with-code.blogspot.com/2022/02/where-tangent-point-is-show-it-when.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Feb 2022 04:07:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-do-you-find-the-tangent-of-point-to-curve-in-autocad-api/m-p/10971123#M13668</guid>
      <dc:creator>norman.yuan</dc:creator>
      <dc:date>2022-02-25T04:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: how do you find the tangent of point to curve in autocad api</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-do-you-find-the-tangent-of-point-to-curve-in-autocad-api/m-p/10977324#M13669</link>
      <description>Thank</description>
      <pubDate>Tue, 01 Mar 2022 14:39:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-do-you-find-the-tangent-of-point-to-curve-in-autocad-api/m-p/10977324#M13669</guid>
      <dc:creator>Dannyisrael</dc:creator>
      <dc:date>2022-03-01T14:39:33Z</dc:date>
    </item>
    <item>
      <title>Re: how do you find the tangent of point to curve in autocad api</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-do-you-find-the-tangent-of-point-to-curve-in-autocad-api/m-p/10977327#M13670</link>
      <description>Thank you</description>
      <pubDate>Tue, 01 Mar 2022 14:40:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-do-you-find-the-tangent-of-point-to-curve-in-autocad-api/m-p/10977327#M13670</guid>
      <dc:creator>Dannyisrael</dc:creator>
      <dc:date>2022-03-01T14:40:17Z</dc:date>
    </item>
  </channel>
</rss>

