<?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: The way connect all points? in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/the-way-connect-all-points/m-p/7198129#M30799</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think you may find the paper in the following link very useful;&lt;A href="http://graphics.stanford.edu/courses/cs164-09-spring/Handouts/papers_2dcrust.pdf" target="_self"&gt;Beta-Skeleton&lt;/A&gt;&amp;nbsp;that paper explain two algorithms to solve the "follow the points" puzzles. As other mentioned this is a kind of concave hull, but it's not as easy as convex hull (Graham scan can be coded in no more than 200 lines o so) . Beta-Skeleton and Crust algorithms relays on Voronoi diagram or&amp;nbsp;Delaunay triangulation in order to find the border of a&amp;nbsp;concave shape. Voronoi is usually implemented using Fortune's algorithm, it's a complicated algorithm based on properties of the parabola curve, but there are some good C# code you can find, for example this:&amp;nbsp;&lt;A href="https://www.codeproject.com/Articles/11275/Fortune-s-Voronoi-algorithm-implemented-in-C" target="_self"&gt;Fortune's Algorithm&lt;/A&gt;, so you only need to understand and code for the Beta-Skeleton or Crust as the hardest part it's Voronoi/Delaunay.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Gaston Nunez&lt;/P&gt;</description>
    <pubDate>Sun, 02 Jul 2017 03:30:54 GMT</pubDate>
    <dc:creator>hgasty1001</dc:creator>
    <dc:date>2017-07-02T03:30:54Z</dc:date>
    <item>
      <title>The way connect all points?</title>
      <link>https://forums.autodesk.com/t5/net-forum/the-way-connect-all-points/m-p/7190164#M30794</link>
      <description>&lt;P&gt;How to connect the all points on a plane in the shortest and non cross way?&lt;/P&gt;&lt;P&gt;For example,i want to connect the points below in the shortest and non cross way.Does anyone can give me a solution?&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="thepoints.jpg" style="width: 705px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/372801i2C5D4051999DF751/image-size/large?v=v2&amp;amp;px=999" role="button" title="thepoints.jpg" alt="thepoints.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2017 11:36:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/the-way-connect-all-points/m-p/7190164#M30794</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-29T11:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: The way connect all points?</title>
      <link>https://forums.autodesk.com/t5/net-forum/the-way-connect-all-points/m-p/7190184#M30795</link>
      <description>&lt;P&gt;Create a triangle from leftmost 3 points. Then search towards right&amp;nbsp;for the closest point and form the second triangle. You will link all points with triangles at the end. Then the outmost boundary is the result.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2017 12:01:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/the-way-connect-all-points/m-p/7190184#M30795</guid>
      <dc:creator>3wood</dc:creator>
      <dc:date>2017-06-29T12:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: The way connect all points?</title>
      <link>https://forums.autodesk.com/t5/net-forum/the-way-connect-all-points/m-p/7196155#M30796</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I believe the algorythm you are looking for is "convex hull".&lt;/P&gt;&lt;P&gt;You can add GeoNet API via nuget and use its whole bunch of geoprocessing algorythms, you just need to pass geometry from cad entities to API methods&amp;nbsp;then return the results to the autocad world.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2017 19:27:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/the-way-connect-all-points/m-p/7196155#M30796</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-30T19:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: The way connect all points?</title>
      <link>https://forums.autodesk.com/t5/net-forum/the-way-connect-all-points/m-p/7196179#M30797</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;kacarikalen a écrit&amp;nbsp;:&lt;BR /&gt;
&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I believe the algorythm you are looking for is "convex hull".&lt;/P&gt;
&lt;P&gt;You can add GeoNet API via nuget and use its whole bunch of geoprocessing algorythms, you just need to pass geometry from cad entities to API methods&amp;nbsp;then return the results to the autocad world.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A convex hull won't connect &lt;STRONG&gt;all&lt;/STRONG&gt; points, precisely because it's convex:&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="convex hull.png" style="width: 705px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/373423iEC388D5F78F5F988/image-size/large?v=v2&amp;amp;px=999" role="button" title="convex hull.png" alt="convex hull.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can find an AutoCAD .NEt implementation of Convex Hull &lt;A href="https://www.theswamp.org/index.php?topic=31865.msg430599#msg430599" target="_blank"&gt;&lt;STRONG&gt;here&lt;/STRONG&gt;&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2017 19:50:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/the-way-connect-all-points/m-p/7196179#M30797</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2017-06-30T19:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: The way connect all points?</title>
      <link>https://forums.autodesk.com/t5/net-forum/the-way-connect-all-points/m-p/7196201#M30798</link>
      <description>&lt;P&gt;Yes, it needs sweeping line method like graham scan, like the form of creating delaunay triangulation then deleting the innermost edges.&lt;/P&gt;&lt;P&gt;Some of them can be found here:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://gis.stackexchange.com/questions/5426/finding-boundary-co-ordinates-from-given-set-of-point-co-ordinates" target="_blank"&gt;https://gis.stackexchange.com/questions/5426/finding-boundary-co-ordinates-from-given-set-of-point-co-ordinates&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2017 19:59:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/the-way-connect-all-points/m-p/7196201#M30798</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-30T19:59:49Z</dc:date>
    </item>
    <item>
      <title>Re: The way connect all points?</title>
      <link>https://forums.autodesk.com/t5/net-forum/the-way-connect-all-points/m-p/7198129#M30799</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think you may find the paper in the following link very useful;&lt;A href="http://graphics.stanford.edu/courses/cs164-09-spring/Handouts/papers_2dcrust.pdf" target="_self"&gt;Beta-Skeleton&lt;/A&gt;&amp;nbsp;that paper explain two algorithms to solve the "follow the points" puzzles. As other mentioned this is a kind of concave hull, but it's not as easy as convex hull (Graham scan can be coded in no more than 200 lines o so) . Beta-Skeleton and Crust algorithms relays on Voronoi diagram or&amp;nbsp;Delaunay triangulation in order to find the border of a&amp;nbsp;concave shape. Voronoi is usually implemented using Fortune's algorithm, it's a complicated algorithm based on properties of the parabola curve, but there are some good C# code you can find, for example this:&amp;nbsp;&lt;A href="https://www.codeproject.com/Articles/11275/Fortune-s-Voronoi-algorithm-implemented-in-C" target="_self"&gt;Fortune's Algorithm&lt;/A&gt;, so you only need to understand and code for the Beta-Skeleton or Crust as the hardest part it's Voronoi/Delaunay.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Gaston Nunez&lt;/P&gt;</description>
      <pubDate>Sun, 02 Jul 2017 03:30:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/the-way-connect-all-points/m-p/7198129#M30799</guid>
      <dc:creator>hgasty1001</dc:creator>
      <dc:date>2017-07-02T03:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: The way connect all points?</title>
      <link>https://forums.autodesk.com/t5/net-forum/the-way-connect-all-points/m-p/13263008#M30800</link>
      <description>&lt;P&gt;I appreciate your post&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/109424"&gt;@_gile&lt;/a&gt; , thank you.&lt;/P&gt;&lt;P&gt;I do not however understand how to correctly load your customization(s) into Civil 3D - is there a proper help file somewhere that describes the process?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2025 20:14:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/the-way-connect-all-points/m-p/13263008#M30800</guid>
      <dc:creator>vaughan.giles7AGEV</dc:creator>
      <dc:date>2025-01-15T20:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: The way connect all points?</title>
      <link>https://forums.autodesk.com/t5/net-forum/the-way-connect-all-points/m-p/13263058#M30801</link>
      <description>&lt;P&gt;The code&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/109424"&gt;@_gile&lt;/a&gt;&amp;nbsp;referred to &lt;A href="https://www.theswamp.org/index.php?topic=31865.msg430599#msg430599" target="_blank" rel="noopener"&gt;his post&lt;/A&gt;&amp;nbsp;is AutoCAD .NET API code. If you want to use/try it, you need to create a AutoCAD plugin project with Visual Studio, which is a .NET Framework, or .NET 8 class library (depending on your AutoCAD being 2025, or prior to 2025), and build the project as AutoCAD .NET plugin DLL. Then you load the DLL into AutoCAD (via command "NETLOAD", or other loading means of your choice). After all these are done, you can run the command defined in the code "Test". So, if you do not know how to write code and create AutoCAD plugin, it is tall task to do&lt;span class="lia-unicode-emoji" title=":face_with_tears_of_joy:"&gt;😂&lt;/span&gt;. and you may need someone to do it for you, or you can get started to learn the basic to just get this code built as DLL, which may only take you a day or two to learn the very basic and get started (then you probably would not want to stop any more!).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2025 20:36:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/the-way-connect-all-points/m-p/13263058#M30801</guid>
      <dc:creator>norman.yuan</dc:creator>
      <dc:date>2025-01-15T20:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: The way connect all points?</title>
      <link>https://forums.autodesk.com/t5/net-forum/the-way-connect-all-points/m-p/13263235#M30802</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7714930"&gt;@vaughan.giles7AGEV&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I replied the same question in &lt;A href="https://github.com/gileCAD/GeometryExtensions/issues/48" target="_blank" rel="noopener"&gt;Github&lt;/A&gt; and &lt;A href="http://www.theswamp.org/index.php?topic=31865.msg623197#msg623197" target="_blank" rel="noopener"&gt;TheSwamp&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2025 21:51:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/the-way-connect-all-points/m-p/13263235#M30802</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2025-01-15T21:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: The way connect all points?</title>
      <link>https://forums.autodesk.com/t5/net-forum/the-way-connect-all-points/m-p/13263237#M30803</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/109424"&gt;@_gile&lt;/a&gt;&amp;nbsp;- for those of you interested, here is a link to the AutoLISP version of the routine&amp;nbsp;&lt;A title="Reply #52" href="http://www.theswamp.org/index.php?topic=31865.new;topicseen#new" target="_blank" rel="noopener"&gt;http://www.theswamp.org/index.php?topic=31865.new;topicseen#new&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2025 21:53:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/the-way-connect-all-points/m-p/13263237#M30803</guid>
      <dc:creator>vaughan.giles7AGEV</dc:creator>
      <dc:date>2025-01-15T21:53:16Z</dc:date>
    </item>
  </channel>
</rss>

