<?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 to understand the meaning of &amp;quot;Floor plan elements which have the same geometry may share data&amp;quot; in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/how-to-understand-the-meaning-of-quot-Floor-plan-elements-which/m-p/230533#M2810</link>
    <description>Shared geometry is simply an optimisation of memory use. 3D primitives aren't stored in the ARCHICAD project file and are generated on demand. These are stored in memory in arrays of bodies, faces, edges and vertices. Rather than duplicate all this data for elements that have the same geometry (but perhaps in a different orientation) they will map onto the same array entries and provide a transformation matrix that positions the vertices correctly for that specific instance. So the same underlying geometry can be repeated in many different locations.&lt;BR /&gt;
&lt;BR /&gt;
I hope that's reasonable clear. I suppose you could search for elements with the same geometry by comparing the indices in the geometry arrays. What are you trying to achieve?</description>
    <pubDate>Tue, 24 Mar 2020 09:00:58 GMT</pubDate>
    <dc:creator>Ralph Wessel</dc:creator>
    <dc:date>2020-03-24T09:00:58Z</dc:date>
    <item>
      <title>how to understand the meaning of "Floor plan elements which have the same geometry may share data"</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/how-to-understand-the-meaning-of-quot-Floor-plan-elements-which/m-p/230532#M2809</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;In the comments of ACAPI_3D_GetComponent, there is a sentence.&lt;BR /&gt;"Floor plan elements which have the same geometry may share the primitives of the 3D representation data"&lt;BR /&gt;How can I get the floor plan elements that have the same geometry?&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;/DIV&gt;</description>
      <pubDate>Wed, 15 Sep 2021 10:36:03 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/how-to-understand-the-meaning-of-quot-Floor-plan-elements-which/m-p/230532#M2809</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-09-15T10:36:03Z</dc:date>
    </item>
    <item>
      <title>Re: how to understand the meaning of "Floor plan elements which have the same geometry may share data"</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/how-to-understand-the-meaning-of-quot-Floor-plan-elements-which/m-p/230533#M2810</link>
      <description>Shared geometry is simply an optimisation of memory use. 3D primitives aren't stored in the ARCHICAD project file and are generated on demand. These are stored in memory in arrays of bodies, faces, edges and vertices. Rather than duplicate all this data for elements that have the same geometry (but perhaps in a different orientation) they will map onto the same array entries and provide a transformation matrix that positions the vertices correctly for that specific instance. So the same underlying geometry can be repeated in many different locations.&lt;BR /&gt;
&lt;BR /&gt;
I hope that's reasonable clear. I suppose you could search for elements with the same geometry by comparing the indices in the geometry arrays. What are you trying to achieve?</description>
      <pubDate>Tue, 24 Mar 2020 09:00:58 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/how-to-understand-the-meaning-of-quot-Floor-plan-elements-which/m-p/230533#M2810</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2020-03-24T09:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: how to understand the meaning of "Floor plan elements which have the same geometry may share data"</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/how-to-understand-the-meaning-of-quot-Floor-plan-elements-which/m-p/230534#M2811</link>
      <description>&lt;BLOCKQUOTE&gt;Ralph wrote:&lt;BR /&gt;
Shared geometry is simply an optimisation of memory use. 3D primitives aren't stored in the ARCHICAD project file and are generated on demand. These are stored in memory in arrays of bodies, faces, edges and vertices. Rather than duplicate all this data for elements that have the same geometry (but perhaps in a different orientation) they will map onto the same array entries and provide a transformation matrix that positions the vertices correctly for that specific instance. So the same underlying geometry can be repeated in many different locations.&lt;BR /&gt;
&lt;BR /&gt;
I hope that's reasonable clear. I suppose you could search for elements with the same geometry by comparing the indices in the geometry arrays. What are you trying to achieve?
&lt;/BLOCKQUOTE&gt;

Thanks.&lt;BR /&gt;
If there are two similar windows, I want to share the geometry.&lt;BR /&gt;
What are the geometry arrays?</description>
      <pubDate>Thu, 26 Mar 2020 06:02:26 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/how-to-understand-the-meaning-of-quot-Floor-plan-elements-which/m-p/230534#M2811</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-26T06:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: how to understand the meaning of "Floor plan elements which have the same geometry may share data"</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/how-to-understand-the-meaning-of-quot-Floor-plan-elements-which/m-p/230535#M2812</link>
      <description>&lt;BLOCKQUOTE&gt;jerry wrote:&lt;BR /&gt;If there are two similar windows, I want to share the geometry.&lt;BR /&gt;
What are the geometry arrays?
&lt;/BLOCKQUOTE&gt;
This is not something that a 3rd-party can influence or directly benefit from. It's an optimisation technique used by ARCHICAD's internal geometry engine.&lt;BR /&gt;
When you retrieve information about a 3D body, face, edge etc you get indices into arrays of these types, i.e. C-style, raw memory. It's read-only and you don't get any say in how this data is structured or allocated.</description>
      <pubDate>Thu, 26 Mar 2020 08:49:11 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/how-to-understand-the-meaning-of-quot-Floor-plan-elements-which/m-p/230535#M2812</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2020-03-26T08:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: how to understand the meaning of "Floor plan elements which have the same geometry may share data"</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/how-to-understand-the-meaning-of-quot-Floor-plan-elements-which/m-p/230536#M2813</link>
      <description>&lt;BLOCKQUOTE&gt;Ralph wrote:&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;jerry wrote:&lt;BR /&gt;If there are two similar windows, I want to share the geometry.&lt;BR /&gt;
What are the geometry arrays?
&lt;/BLOCKQUOTE&gt;
This is not something that a 3rd-party can influence or directly benefit from. It's an optimisation technique used by ARCHICAD's internal geometry engine.&lt;BR /&gt;
When you retrieve information about a 3D body, face, edge etc you get indices into arrays of these types, i.e. C-style, raw memory. It's read-only and you don't get any say in how this data is structured or allocated.
&lt;/BLOCKQUOTE&gt;

Thanks.&lt;BR /&gt;
Except I retrieve information about a 3D body, face, edge etc. Whether I can directly get the triangulated indice of the face?</description>
      <pubDate>Thu, 26 Mar 2020 09:45:13 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/how-to-understand-the-meaning-of-quot-Floor-plan-elements-which/m-p/230536#M2813</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-26T09:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: how to understand the meaning of "Floor plan elements which have the same geometry may share data"</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/how-to-understand-the-meaning-of-quot-Floor-plan-elements-which/m-p/230537#M2814</link>
      <description>&lt;BLOCKQUOTE&gt;jerry wrote:&lt;BR /&gt;.Except I retrieve information about a 3D body, face, edge etc. Whether I can directly get the triangulated indice of the face?&lt;/BLOCKQUOTE&gt;
The API doesn't present 3D body geometry directly as triangles. In fact, it can contain complex polygons with holes and concavities.&lt;BR /&gt;
The API includes a function &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;ACAPI_3D_DecomposePgon&lt;E&gt;&lt;/E&gt; that breaks a 3D polygon into convex sub-polygons with no holes, but not necessarily triangles.</description>
      <pubDate>Thu, 26 Mar 2020 10:35:09 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/how-to-understand-the-meaning-of-quot-Floor-plan-elements-which/m-p/230537#M2814</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2020-03-26T10:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: how to understand the meaning of "Floor plan elements which have the same geometry may share data"</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/how-to-understand-the-meaning-of-quot-Floor-plan-elements-which/m-p/230538#M2815</link>
      <description>&lt;BLOCKQUOTE&gt;Ralph wrote:&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;jerry wrote:&lt;BR /&gt;.Except I retrieve information about a 3D body, face, edge etc. Whether I can directly get the triangulated indice of the face?&lt;/BLOCKQUOTE&gt;
The API doesn't present 3D body geometry directly as triangles. In fact, it can contain complex polygons with holes and concavities.&lt;BR /&gt;
The API includes a function &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;ACAPI_3D_DecomposePgon&lt;E&gt;&lt;/E&gt; that breaks a 3D polygon into convex sub-polygons with no holes, but not necessarily triangles.
&lt;/BLOCKQUOTE&gt;

Thanks very much. I get it.</description>
      <pubDate>Fri, 27 Mar 2020 06:27:47 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/how-to-understand-the-meaning-of-quot-Floor-plan-elements-which/m-p/230538#M2815</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-27T06:27:47Z</dc:date>
    </item>
  </channel>
</rss>

