<?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 Geometry': ambiguous symbol in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Geometry-ambiguous-symbol/m-p/223862#M2747</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I got error message below while I compiled my code.&lt;BR /&gt;&lt;BR /&gt;Error C2872 'Geometry': ambiguous symbol ...\acwin23.3006\modules\geometry\vector3d.hpp 403 &lt;BR /&gt;&lt;BR /&gt;The problematic piece of code is the following in vector3d.hpp&lt;BR /&gt;&lt;BR /&gt;template&amp;lt;typename Coordinate&amp;gt;&lt;BR /&gt;bool Geometry::Vector3&amp;lt;Coordinate&amp;gt;::IsNear (const Vector3&amp;amp; c, double eps /*= SmallEps*/) const&lt;BR /&gt;{&lt;BR /&gt;return (*this - c).GetLengthSqr () &amp;lt; eps * eps;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;Is it necessary define "Geometry" namespace even when you are "namespace Geometry {...}" ?&lt;BR /&gt;&lt;BR /&gt;It collide my piece of code which I do not want to change unless it is absolutely necessary. &lt;BR /&gt;&lt;BR /&gt;As a workaround I have deleted "Geometry::", but I am not sure whether it cause any trouble elsewhere in your code. &lt;BR /&gt;&lt;BR /&gt;Regards&lt;/DIV&gt;</description>
    <pubDate>Mon, 26 Sep 2022 20:39:20 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-09-26T20:39:20Z</dc:date>
    <item>
      <title>Geometry': ambiguous symbol</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Geometry-ambiguous-symbol/m-p/223862#M2747</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I got error message below while I compiled my code.&lt;BR /&gt;&lt;BR /&gt;Error C2872 'Geometry': ambiguous symbol ...\acwin23.3006\modules\geometry\vector3d.hpp 403 &lt;BR /&gt;&lt;BR /&gt;The problematic piece of code is the following in vector3d.hpp&lt;BR /&gt;&lt;BR /&gt;template&amp;lt;typename Coordinate&amp;gt;&lt;BR /&gt;bool Geometry::Vector3&amp;lt;Coordinate&amp;gt;::IsNear (const Vector3&amp;amp; c, double eps /*= SmallEps*/) const&lt;BR /&gt;{&lt;BR /&gt;return (*this - c).GetLengthSqr () &amp;lt; eps * eps;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;Is it necessary define "Geometry" namespace even when you are "namespace Geometry {...}" ?&lt;BR /&gt;&lt;BR /&gt;It collide my piece of code which I do not want to change unless it is absolutely necessary. &lt;BR /&gt;&lt;BR /&gt;As a workaround I have deleted "Geometry::", but I am not sure whether it cause any trouble elsewhere in your code. &lt;BR /&gt;&lt;BR /&gt;Regards&lt;/DIV&gt;</description>
      <pubDate>Mon, 26 Sep 2022 20:39:20 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Geometry-ambiguous-symbol/m-p/223862#M2747</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-26T20:39:20Z</dc:date>
    </item>
  </channel>
</rss>

