<?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: Why only 1 intersection point instead of 2? in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/why-only-1-intersection-point-instead-of-2/m-p/4412187#M48059</link>
    <description>&lt;P&gt;What are you expecting exactly? Intersections at the start and end points, or an infinite number of intersections? The line lays totally ontop of the region outline...&lt;/P&gt;</description>
    <pubDate>Mon, 09 Sep 2013 18:31:07 GMT</pubDate>
    <dc:creator>fenton_webb</dc:creator>
    <dc:date>2013-09-09T18:31:07Z</dc:date>
    <item>
      <title>Why only 1 intersection point instead of 2?</title>
      <link>https://forums.autodesk.com/t5/net-forum/why-only-1-intersection-point-instead-of-2/m-p/4379470#M48058</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;In the attachment please find the drawing there is a little blue line and a red region in it. When I check with DIST command both the ends of the line are with distance 0.00000000 to the region. But when I apply intersectwith method to them I get only 1 intersection. This is a sample only, I face this issue regularly.&lt;/P&gt;&lt;P&gt;What can I do?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;    Private Sub Button31_Click(sender As Object, e As EventArgs) Handles Button31.Click
        Dim R1 As AcadEntity = Nothing, R2 As AcadEntity = Nothing
        Ut.GetEntity(R1, "seç")
        Ut.GetEntity(R2, "seç")
        Dim inters As Object = R1.IntersectWith(R2, AcExtendOption.acExtendNone)
    End Sub


or




            Dim entMain As Autodesk.AutoCAD.DatabaseServices.Entity = tr.GetObject(id, Autodesk.AutoCAD.DatabaseServices.OpenMode.ForRead)

            'Setup 3d plane and point collection
            Dim myPlaneWCS As Plane = New Plane(New Point3d(0, 0, 0), New Vector3d(0, 0, 1))
            Dim myIntPntCol As Point3dCollection = New Point3dCollection()
            Dim myintptr01 As IntPtr = New IntPtr()
            Dim myintptr02 As IntPtr = New IntPtr()
            'Get intersecting point collection
            entMain.IntersectWith(ent, Intersect.OnBothOperands, myPlaneWCS, myIntPntCol, myintptr01, myintptr02)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Aug 2013 18:24:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/why-only-1-intersection-point-instead-of-2/m-p/4379470#M48058</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-24T18:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: Why only 1 intersection point instead of 2?</title>
      <link>https://forums.autodesk.com/t5/net-forum/why-only-1-intersection-point-instead-of-2/m-p/4412187#M48059</link>
      <description>&lt;P&gt;What are you expecting exactly? Intersections at the start and end points, or an infinite number of intersections? The line lays totally ontop of the region outline...&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2013 18:31:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/why-only-1-intersection-point-instead-of-2/m-p/4412187#M48059</guid>
      <dc:creator>fenton_webb</dc:creator>
      <dc:date>2013-09-09T18:31:07Z</dc:date>
    </item>
  </channel>
</rss>

