<?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 Line.Intersection gives incorrect Result? in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/line-intersection-gives-incorrect-result/m-p/10357716#M25656</link>
    <description>&lt;P&gt;Greetings!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why when I try to find intersection between (for example) Line.CreateBound(XYZ(0,0,0), XYZ(100,0,0)) and Line.CreateBound(XYZ(25,0,0), XYZ(75,0,0))&lt;BR /&gt;I've got SetComparisonResult.Equal instead of SetComparisonResult.SubSet or SetComparisonResult.SuperSet?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank's.&lt;/P&gt;</description>
    <pubDate>Wed, 02 Jun 2021 08:51:25 GMT</pubDate>
    <dc:creator>Spyrite</dc:creator>
    <dc:date>2021-06-02T08:51:25Z</dc:date>
    <item>
      <title>Line.Intersection gives incorrect Result?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/line-intersection-gives-incorrect-result/m-p/10357716#M25656</link>
      <description>&lt;P&gt;Greetings!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why when I try to find intersection between (for example) Line.CreateBound(XYZ(0,0,0), XYZ(100,0,0)) and Line.CreateBound(XYZ(25,0,0), XYZ(75,0,0))&lt;BR /&gt;I've got SetComparisonResult.Equal instead of SetComparisonResult.SubSet or SetComparisonResult.SuperSet?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank's.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jun 2021 08:51:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/line-intersection-gives-incorrect-result/m-p/10357716#M25656</guid>
      <dc:creator>Spyrite</dc:creator>
      <dc:date>2021-06-02T08:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: Line.Intersection gives incorrect Result?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/line-intersection-gives-incorrect-result/m-p/10357992#M25657</link>
      <description>&lt;P&gt;By description your arrangement of lines doesn't match any of the conditions noted since Subset and Superset mention one of the two curves being unbound.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Subset: unbound curve passed are argument&lt;/P&gt;&lt;P&gt;Superset: unbound curve used to invoke check&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So perhaps they check the parameters of curve 'A' between its limits against those of curve 'B' and find it is equal without considering the limits of curve 'B' match (they only check for unbound status).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then again I struggle to understand how parallel lines can have one common intersection (as noted by Subset). Perhaps they are parallel lines joined at ends only? These are the problems with descriptions, always open to interpretation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jun 2021 11:24:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/line-intersection-gives-incorrect-result/m-p/10357992#M25657</guid>
      <dc:creator>RPTHOMAS108</dc:creator>
      <dc:date>2021-06-02T11:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: Line.Intersection gives incorrect Result?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/line-intersection-gives-incorrect-result/m-p/10358124#M25658</link>
      <description>&lt;P&gt;Thank's for your answer!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By the way, I've found that intersection between (this is an example) Line.CreateBound(XYZ(0,0,0), XYZ(10,0,0)) and Line.CrateBound(XYZ(0,0,0), XYZ(-10,0,0)) gives right Subset result, so it's actual even for two bound curves.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Perhaps, "parallel lines" mentioned in API discription means a common case, including that case when distance between those parallel lines is equal to zero. It's really hard to understand...&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jun 2021 12:07:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/line-intersection-gives-incorrect-result/m-p/10358124#M25658</guid>
      <dc:creator>Spyrite</dc:creator>
      <dc:date>2021-06-02T12:07:36Z</dc:date>
    </item>
  </channel>
</rss>

