<?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: A math question - a tough one in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/A-math-question-a-tough-one/m-p/97463#M31693</link>
    <description>It's fairly simple if I understand correctly. You can get the distance (let's call it "D1") between the known points and use the proportion.&lt;BR /&gt;

&lt;PRE&gt;D1 = SQR((X2-X1)^2 + (Y2-Y1)^2)  ! per Pythagoras

! since (X3-X1)/(X2-X1) = D/D1 then it follows that...

X3 = (D/D1)*(X2-X1) + X1

! and...

Y3 = (D/D1)*(Y2-Y1) + Y1&lt;/PRE&gt;</description>
    <pubDate>Sun, 18 Feb 2007 15:14:05 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2007-02-18T15:14:05Z</dc:date>
    <item>
      <title>A math question - a tough one</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/A-math-question-a-tough-one/m-p/97461#M31691</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;I am working on a lib part where I need to figure out the point coordinates defined by the distance and vector. See attached image... I am not after the pretty obvious one using cos(a) and sin(a) but a solution based rather on vector translations for a reason that is too long to be explained in this topic, anyway... &lt;BR /&gt;
X1,Y1 known &lt;BR /&gt;
X2,Y2 known &lt;BR /&gt;
D known &lt;BR /&gt;
X3,Y3 ???&lt;BR /&gt;
&lt;BR /&gt;
thanks&lt;/T&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/t5/image/serverpage/image-id/37497iA3A0AF2AD90FF3A1/image-size/large?v=v2&amp;amp;px=999" border="0" alt="VECTORQUESTION.jpg" title="VECTORQUESTION.jpg" /&gt;</description>
      <pubDate>Sun, 18 Feb 2007 11:15:51 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/A-math-question-a-tough-one/m-p/97461#M31691</guid>
      <dc:creator>Rob</dc:creator>
      <dc:date>2007-02-18T11:15:51Z</dc:date>
    </item>
    <item>
      <title>Re: A math question - a tough one</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/A-math-question-a-tough-one/m-p/97462#M31692</link>
      <description>It's not very clear what you are trying to do... what do you mena by "vector translations"... do you mean ROT2?</description>
      <pubDate>Sun, 18 Feb 2007 12:09:51 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/A-math-question-a-tough-one/m-p/97462#M31692</guid>
      <dc:creator>TomWaltz</dc:creator>
      <dc:date>2007-02-18T12:09:51Z</dc:date>
    </item>
    <item>
      <title>Re: A math question - a tough one</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/A-math-question-a-tough-one/m-p/97463#M31693</link>
      <description>It's fairly simple if I understand correctly. You can get the distance (let's call it "D1") between the known points and use the proportion.&lt;BR /&gt;

&lt;PRE&gt;D1 = SQR((X2-X1)^2 + (Y2-Y1)^2)  ! per Pythagoras

! since (X3-X1)/(X2-X1) = D/D1 then it follows that...

X3 = (D/D1)*(X2-X1) + X1

! and...

Y3 = (D/D1)*(Y2-Y1) + Y1&lt;/PRE&gt;</description>
      <pubDate>Sun, 18 Feb 2007 15:14:05 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/A-math-question-a-tough-one/m-p/97463#M31693</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-02-18T15:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: A math question - a tough one</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/A-math-question-a-tough-one/m-p/97464#M31694</link>
      <description>Matthew, you have nailed it down! that's exactly what I was after...I knew I am very close but I just could not think of that last step... perfect&lt;BR /&gt;
thanks very much.</description>
      <pubDate>Sun, 18 Feb 2007 21:27:07 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/A-math-question-a-tough-one/m-p/97464#M31694</guid>
      <dc:creator>Rob</dc:creator>
      <dc:date>2007-02-18T21:27:07Z</dc:date>
    </item>
  </channel>
</rss>

