<?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 Understanding hatches algorithm in ObjectARX Forum</title>
    <link>https://forums.autodesk.com/t5/objectarx-forum/understanding-hatches-algorithm/m-p/12638872#M988</link>
    <description>&lt;P&gt;I am implementing a dxf viewer for hatches and to do that I am trying to understand the algorithm used by AutoCAD for island and boundary detection. I am able to load the data correctly from dxf code.&lt;/P&gt;&lt;P&gt;My research showed me that Autocad uses ray casting, island detection and flood fill method to create hatch boundaries.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are 3 different type of hatches&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Simple hatches which only contain single close boundary. These are simple to implement but becomes complex if the boundary self intersect&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Hatches formed by intersection of multiple entities and use a seed point &amp;amp; flood fill method to find the close boundary.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. Open hatches created by selecting entities instead of seed point. I am guessing AutoCad uses flood fill for this too.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this info correct? Can someone provide more information and specific algorithm names that is used by AutoCad ?&lt;BR /&gt;&lt;BR /&gt;It will be really helpful for me. Thanks!!&lt;/P&gt;</description>
    <pubDate>Wed, 13 Mar 2024 20:23:47 GMT</pubDate>
    <dc:creator>NikhilPundir</dc:creator>
    <dc:date>2024-03-13T20:23:47Z</dc:date>
    <item>
      <title>Understanding hatches algorithm</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/understanding-hatches-algorithm/m-p/12638872#M988</link>
      <description>&lt;P&gt;I am implementing a dxf viewer for hatches and to do that I am trying to understand the algorithm used by AutoCAD for island and boundary detection. I am able to load the data correctly from dxf code.&lt;/P&gt;&lt;P&gt;My research showed me that Autocad uses ray casting, island detection and flood fill method to create hatch boundaries.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are 3 different type of hatches&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Simple hatches which only contain single close boundary. These are simple to implement but becomes complex if the boundary self intersect&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Hatches formed by intersection of multiple entities and use a seed point &amp;amp; flood fill method to find the close boundary.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. Open hatches created by selecting entities instead of seed point. I am guessing AutoCad uses flood fill for this too.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this info correct? Can someone provide more information and specific algorithm names that is used by AutoCad ?&lt;BR /&gt;&lt;BR /&gt;It will be really helpful for me. Thanks!!&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2024 20:23:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/understanding-hatches-algorithm/m-p/12638872#M988</guid>
      <dc:creator>NikhilPundir</dc:creator>
      <dc:date>2024-03-13T20:23:47Z</dc:date>
    </item>
  </channel>
</rss>

