<?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 Use of Geometry::OffsetPolygon2DData() function. in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Use-of-Geometry-OffsetPolygon2DData-function/m-p/131724#M6785</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I want to use Geometry::OffsetPolygon2DData() function.&lt;BR /&gt;&lt;BR /&gt;The structure of this function is &lt;BR /&gt;Geometry::OffsetPolygon2DData(const Polygon2DData&amp;amp; poly, Vector offset, Polygon2Ddata* offsetedPoly);&lt;BR /&gt;&lt;BR /&gt;But, I don’t have offset as the Vector (I have in double (Distance)) to pass to this function.&lt;BR /&gt;&lt;BR /&gt;How do I convert Distance (double) to offset (Vector)?&lt;BR /&gt;&lt;BR /&gt;Can anyone please give me an example how to use Gepmetry::OffsetPolygon2Ddata() function.&lt;/DIV&gt;</description>
    <pubDate>Thu, 03 Aug 2023 11:33:44 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-08-03T11:33:44Z</dc:date>
    <item>
      <title>Use of Geometry::OffsetPolygon2DData() function.</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Use-of-Geometry-OffsetPolygon2DData-function/m-p/131724#M6785</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I want to use Geometry::OffsetPolygon2DData() function.&lt;BR /&gt;&lt;BR /&gt;The structure of this function is &lt;BR /&gt;Geometry::OffsetPolygon2DData(const Polygon2DData&amp;amp; poly, Vector offset, Polygon2Ddata* offsetedPoly);&lt;BR /&gt;&lt;BR /&gt;But, I don’t have offset as the Vector (I have in double (Distance)) to pass to this function.&lt;BR /&gt;&lt;BR /&gt;How do I convert Distance (double) to offset (Vector)?&lt;BR /&gt;&lt;BR /&gt;Can anyone please give me an example how to use Gepmetry::OffsetPolygon2Ddata() function.&lt;/DIV&gt;</description>
      <pubDate>Thu, 03 Aug 2023 11:33:44 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Use-of-Geometry-OffsetPolygon2DData-function/m-p/131724#M6785</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-08-03T11:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: Use of Geometry::OffsetPolygon2DData() function.</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Use-of-Geometry-OffsetPolygon2DData-function/m-p/131725#M6786</link>
      <description>&lt;BLOCKQUOTE&gt;Ranga wrote:&lt;BR /&gt;I want to use Geometry::OffsetPolygon2DData() function.&lt;BR /&gt;
I don’t have offset as the Vector (I have in double (Distance)) to pass to this function.&lt;BR /&gt;
How do I convert Distance (double) to offset (Vector)?&lt;/BLOCKQUOTE&gt;
I don't use these functions, but it seems straightforward. You can't be moving a polygon by just a distance, there must also be a direction. So convert the distance and angle to a vector (as an x, y, z offset).</description>
      <pubDate>Wed, 04 Nov 2009 14:54:43 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Use-of-Geometry-OffsetPolygon2DData-function/m-p/131725#M6786</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2009-11-04T14:54:43Z</dc:date>
    </item>
  </channel>
</rss>

