<?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: IntersectWith() with plane in third argument in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/intersectwith-with-plane-in-third-argument/m-p/7106149#M31381</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous wrote:&lt;BR /&gt;&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4476837"&gt;@ActivistInvestor&lt;/a&gt;&amp;nbsp;thank you very much for your reply,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i tested to get the intersection points in the plane of the entity to split wich is a polyline even if it isn't planar with the boundary and use these points in&amp;nbsp;&lt;SPAN&gt;GetSplitCurves(), the split worked very well.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;but &amp;nbsp;i can't get the intersection points in the plane of the entity to split to use it in this method because it isn't planar to &lt;SPAN&gt;get its plane using &lt;/SPAN&gt;&lt;STRONG&gt;GetPlane&lt;/STRONG&gt;&lt;SPAN&gt;()&lt;/SPAN&gt;.&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;The plane of the entity you are going to split is not the plane you want the intersection points in. You want the intersection points in the plane of the clipping boundary (which must be a planar Curve). The code I posted will take those points and project them onto the curve that you want to split, which is what GetSplitCurves() requires.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pseudo code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Curve boundary = ...    // the planar clipping boundary
Curve entityToClip = ... // the curve to be clipped
Point3dCollection points = new Point3dCollection()&lt;BR /&gt;
boundary.IntersectWith(entityToClip, Intersect.OnBothOperands,
   boundary.GetPlane(), points, IntPtr.Zero, IntPtr.Zero);

double[] parameters = GetSplitParameters(entityToClip, points, boundary.GetPlane());

var curves = entityToClip.GetSplitCurves(new DoubleCollection(parameters));&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 24 May 2017 17:20:57 GMT</pubDate>
    <dc:creator>ActivistInvestor</dc:creator>
    <dc:date>2017-05-24T17:20:57Z</dc:date>
    <item>
      <title>IntersectWith() with plane in third argument</title>
      <link>https://forums.autodesk.com/t5/net-forum/intersectwith-with-plane-in-third-argument/m-p/7095046#M31373</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have to use the method&amp;nbsp;IntersectWith() with 3d entities that have different Z, i need to calculate the intersection points.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i think to use the following method to calculate the intersection points :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;thisEntity.IntersectWith(otherEntity,Intersect.OnBothOperands, new Plane(), points, thisGraphicSystemMarker, otherGraphicSystemMarker)&lt;/PRE&gt;&lt;P&gt;Can you tell me if&amp;nbsp;thisEntity can be a 3d polylines and otherEntity a polyline means that they have deffent Z ?&lt;/P&gt;&lt;P&gt;can i get a get a plane from the polyline(&lt;SPAN&gt;otherEntity&lt;/SPAN&gt;) to use it as the third argument ?&lt;/P&gt;&lt;P&gt;the result is a collection of Points2d or Points3d ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i need that the result be a Points3dcollection with the Z of the first entity!! is that possible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2017 10:04:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/intersectwith-with-plane-in-third-argument/m-p/7095046#M31373</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-19T10:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: IntersectWith() with plane in third argument</title>
      <link>https://forums.autodesk.com/t5/net-forum/intersectwith-with-plane-in-third-argument/m-p/7095843#M31374</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To learn something, you should make your own tests.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;        [CommandMethod("TEST")]
        public void Test()
        {
            var doc = Application.DocumentManager.MdiActiveDocument;
            var db = doc.Database;
            var ed = doc.Editor;

            var opts = new PromptEntityOptions("\nSelect polyline (2d or 3d): ");
            opts.SetRejectMessage("\nSelected object is not a polyline.");
            opts.AddAllowedClass(typeof(Polyline), true);
            opts.AddAllowedClass(typeof(Polyline3d), true);

            var result = ed.GetEntity(opts);
            if (result.Status != PromptStatus.OK)
                return;
            var thisEntityId = result.ObjectId;

            result = ed.GetEntity(opts);
            if (result.Status != PromptStatus.OK)
                return;
            var otherEntityId = result.ObjectId;

            using (var tr = db.TransactionManager.StartTransaction())
            {
                var thisEntity = (Entity)tr.GetObject(thisEntityId, OpenMode.ForRead);

                var otherEntity = (Entity)tr.GetObject(otherEntityId, OpenMode.ForRead);

                var intersPts = new Point3dCollection();
                var plane = new Plane(); // new Plane(Point3d.Origin, Vector3d.ZAxis);

                thisEntity.IntersectWith(otherEntity, Intersect.OnBothOperands, plane, intersPts, IntPtr.Zero, IntPtr.Zero);
                ed.WriteMessage("\nUsing new Plane()");
                foreach (Point3d pt in intersPts)
                {
                    ed.WriteMessage("\n{0}", pt); 
                }

                if (thisEntity is Polyline)
                {
                    intersPts.Clear();
                    plane = ((Polyline)thisEntity).GetPlane();
                    thisEntity.IntersectWith(otherEntity, Intersect.OnBothOperands, plane, intersPts, IntPtr.Zero, IntPtr.Zero);
                    ed.WriteMessage("\nUsing thisEntity.GetPlane())");
                    foreach (Point3d pt in intersPts)
                    {
                        ed.WriteMessage("\n{0}", pt);
                    }
                }

                if (otherEntity is Polyline)
                {
                    intersPts.Clear();
                    plane = ((Polyline)otherEntity).GetPlane();
                    thisEntity.IntersectWith(otherEntity, Intersect.OnBothOperands, plane, intersPts, IntPtr.Zero, IntPtr.Zero);
                    ed.WriteMessage("\nUsing otherEntity.GetPlane()");
                    foreach (Point3d pt in intersPts)
                    {
                        ed.WriteMessage("\n{0}", pt);
                    }
                }

                tr.Commit();
            }
            Application.DisplayTextScreen = true;
        }&lt;/PRE&gt;</description>
      <pubDate>Fri, 19 May 2017 15:29:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/intersectwith-with-plane-in-third-argument/m-p/7095843#M31374</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2017-05-19T15:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: IntersectWith() with plane in third argument</title>
      <link>https://forums.autodesk.com/t5/net-forum/intersectwith-with-plane-in-third-argument/m-p/7096059#M31375</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/109424"&gt;@_gile&lt;/a&gt;&amp;nbsp;shows an example of how to project the intersection points onto either of the two entities planes, but it might be worth noting that you can be more generic when intersecting between any two types of Entity, by first checking each entity's &lt;STRONG&gt;IsPlanar&lt;/STRONG&gt; property, and if true, getting its plane using &lt;STRONG&gt;GetPlane&lt;/STRONG&gt;().&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, In the case of using the intersection points with &lt;STRONG&gt;GetSplitCurves&lt;/STRONG&gt;()&amp;nbsp;you generally want to use the Plane of the curve that you call &lt;STRONG&gt;IntersectWith&lt;/STRONG&gt;() on, because the intersection points will be projected back into that entity's plane, and so you must then call GetSplitCurves() on the same curve, because it requires the resulting points to lie on that curve.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2017 17:13:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/intersectwith-with-plane-in-third-argument/m-p/7096059#M31375</guid>
      <dc:creator>ActivistInvestor</dc:creator>
      <dc:date>2017-05-19T17:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: IntersectWith() with plane in third argument</title>
      <link>https://forums.autodesk.com/t5/net-forum/intersectwith-with-plane-in-third-argument/m-p/7104587#M31376</link>
      <description>&lt;P&gt;You did great work for me...&lt;BR /&gt;Thank you very much...&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2017 11:52:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/intersectwith-with-plane-in-third-argument/m-p/7104587#M31376</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-24T11:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: IntersectWith() with plane in third argument</title>
      <link>https://forums.autodesk.com/t5/net-forum/intersectwith-with-plane-in-third-argument/m-p/7104652#M31377</link>
      <description>&lt;P&gt;Thank you very much, you understand my issue...&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards.&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2017 12:10:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/intersectwith-with-plane-in-third-argument/m-p/7104652#M31377</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-24T12:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: IntersectWith() with plane in third argument</title>
      <link>https://forums.autodesk.com/t5/net-forum/intersectwith-with-plane-in-third-argument/m-p/7105315#M31378</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4476837"&gt;@ActivistInvestor&lt;/a&gt;&amp;nbsp;what can i do if the entity isn't Planar to get intersection points!!!&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2017 14:21:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/intersectwith-with-plane-in-third-argument/m-p/7105315#M31378</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-24T14:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: IntersectWith() with plane in third argument</title>
      <link>https://forums.autodesk.com/t5/net-forum/intersectwith-with-plane-in-third-argument/m-p/7105917#M31379</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous wrote:&lt;BR /&gt;&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4476837"&gt;@ActivistInvestor&lt;/a&gt;&amp;nbsp;what can i do if the entity isn't Planar to get intersection points!!!&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;The method below will take the intersection points, and the Plane of the clipping boundary curve/polyline, and will return an array of parameters that you can pass to the GetSplitCurves() method. You call IntersectWith() on each Curve&amp;nbsp;you want to clip, and then pass the resulting points to this method, along with the Curve&amp;nbsp;you want to clip in the first argument and the Plane of the clipping boundary entity in the last argument.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;/// &amp;lt;summary&amp;gt;
/// Returns the parameters of the supplied points, optionally projected onto 
/// the curve along the direction defined by the normal of the Plane argument. 
/// 
/// The resulting parameters are ordered by their position on the curve.
/// 
/// If the plane argument is null, the supplied points must lie on the curve.
/// &amp;lt;/summary&amp;gt;
/// &amp;lt;param name="curve"&amp;gt;The Curve instance&amp;lt;/param&amp;gt;
/// &amp;lt;param name="points"&amp;gt;The sequence of points whose parameters are to be computed&amp;lt;/param&amp;gt;
/// &amp;lt;param name="plane"&amp;gt;The plane whose normal the points are projected along&amp;lt;/param&amp;gt;
/// &amp;lt;returns&amp;gt;The parameters ordered by position along the curve&amp;lt;/returns&amp;gt;
 

public static double[] GetSplitParameters(Curve curve, Point3dCollection points, Plane plane = null)
{
   // Assert.IsNotNull(curve, "curve");
   // Assert.IsNotNull(points, "points");
   int count = points.Count;
   if(count == 0)
      return new double[0];
   double[] parameters = new double[count];
   if(plane != null)
   {
      Vector3d normal = plane.Normal;
      for(int i = 0; i &amp;lt; count; i++)
         parameters[i] = curve.GetParameterAtPoint(curve.GetClosestPointTo(points[i], normal, false));
   }
   else
   {
      for(int i = 0; i &amp;lt; count; i++)
         parameters[i] = curve.GetParameterAtPoint(points[i]);
   }
   Array.Sort(parameters);
   return parameters;
}

&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2017 16:26:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/intersectwith-with-plane-in-third-argument/m-p/7105917#M31379</guid>
      <dc:creator>ActivistInvestor</dc:creator>
      <dc:date>2017-05-24T16:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: IntersectWith() with plane in third argument</title>
      <link>https://forums.autodesk.com/t5/net-forum/intersectwith-with-plane-in-third-argument/m-p/7106079#M31380</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4476837"&gt;@ActivistInvestor&lt;/a&gt;&amp;nbsp;thank you very much for your reply,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i tested to get the intersection points in the plane of the entity to split which is a polyline even if it isn't planar with the boundary and use these points in&amp;nbsp;&lt;SPAN&gt;GetSplitCurves(), the split worked very well.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;but &amp;nbsp;i can't get the intersection points in the plane of the entity to split to use it in this method because it isn't planar to &lt;SPAN&gt;get its plane using &lt;/SPAN&gt;&lt;STRONG&gt;GetPlane&lt;/STRONG&gt;&lt;SPAN&gt;()&lt;/SPAN&gt;.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2017 17:11:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/intersectwith-with-plane-in-third-argument/m-p/7106079#M31380</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-24T17:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: IntersectWith() with plane in third argument</title>
      <link>https://forums.autodesk.com/t5/net-forum/intersectwith-with-plane-in-third-argument/m-p/7106149#M31381</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous wrote:&lt;BR /&gt;&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4476837"&gt;@ActivistInvestor&lt;/a&gt;&amp;nbsp;thank you very much for your reply,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i tested to get the intersection points in the plane of the entity to split wich is a polyline even if it isn't planar with the boundary and use these points in&amp;nbsp;&lt;SPAN&gt;GetSplitCurves(), the split worked very well.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;but &amp;nbsp;i can't get the intersection points in the plane of the entity to split to use it in this method because it isn't planar to &lt;SPAN&gt;get its plane using &lt;/SPAN&gt;&lt;STRONG&gt;GetPlane&lt;/STRONG&gt;&lt;SPAN&gt;()&lt;/SPAN&gt;.&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;The plane of the entity you are going to split is not the plane you want the intersection points in. You want the intersection points in the plane of the clipping boundary (which must be a planar Curve). The code I posted will take those points and project them onto the curve that you want to split, which is what GetSplitCurves() requires.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pseudo code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Curve boundary = ...    // the planar clipping boundary
Curve entityToClip = ... // the curve to be clipped
Point3dCollection points = new Point3dCollection()&lt;BR /&gt;
boundary.IntersectWith(entityToClip, Intersect.OnBothOperands,
   boundary.GetPlane(), points, IntPtr.Zero, IntPtr.Zero);

double[] parameters = GetSplitParameters(entityToClip, points, boundary.GetPlane());

var curves = entityToClip.GetSplitCurves(new DoubleCollection(parameters));&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2017 17:20:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/intersectwith-with-plane-in-third-argument/m-p/7106149#M31381</guid>
      <dc:creator>ActivistInvestor</dc:creator>
      <dc:date>2017-05-24T17:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: IntersectWith() with plane in third argument</title>
      <link>https://forums.autodesk.com/t5/net-forum/intersectwith-with-plane-in-third-argument/m-p/7106175#M31382</link>
      <description>&lt;P&gt;I am very grateful, thank you very much...&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2017 17:23:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/intersectwith-with-plane-in-third-argument/m-p/7106175#M31382</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-24T17:23:06Z</dc:date>
    </item>
    <item>
      <title>Re: IntersectWith() with plane in third argument</title>
      <link>https://forums.autodesk.com/t5/net-forum/intersectwith-with-plane-in-third-argument/m-p/7131697#M31383</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4476837"&gt;@ActivistInvestor&lt;/a&gt;&amp;nbsp; i need your help please the split work very well when the entities ares not closed, but if the entity is a closed Polyline3d the it is devided &amp;nbsp;not only at intersection points with the boundary but also in other points on the curve. i don't know if the problem is&amp;nbsp;in the following method :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;public static double[] GetSplitParameters(Curve curve, Point3dCollection points, Plane plane = null)
{
   // Assert.IsNotNull(curve, "curve");
   // Assert.IsNotNull(points, "points");
   int count = points.Count;
   if(count == 0)
      return new double[0];
   double[] parameters = new double[count];
   if(plane != null)
   {
      Vector3d normal = plane.Normal;
      for(int i = 0; i &amp;lt; count; i++)
         parameters[i] = curve.GetParameterAtPoint(curve.GetClosestPointTo(points[i], normal, false));
   }
   else
   {
      for(int i = 0; i &amp;lt; count; i++)
         parameters[i] = curve.GetParameterAtPoint(points[i]);
   }
   Array.Sort(parameters);
   return parameters;
}&amp;nbsp;&lt;/PRE&gt;</description>
      <pubDate>Tue, 06 Jun 2017 12:54:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/intersectwith-with-plane-in-third-argument/m-p/7131697#M31383</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-06T12:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: IntersectWith() with plane in third argument</title>
      <link>https://forums.autodesk.com/t5/net-forum/intersectwith-with-plane-in-third-argument/m-p/7131862#M31384</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4476837"&gt;@ActivistInvestor&lt;/a&gt;&amp;nbsp;for example i have a closed polyline3d, the number of intersection points is 2, the number of parameters result of the method :&lt;/P&gt;&lt;PRE&gt;GetSplitParameters()&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;is 2 &amp;nbsp;but i get 3 parts from the split ! what is normal is obtaining two parts !... the polyline3d was devided not only at the boundary but at other points also, even if it was closed.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2017 13:50:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/intersectwith-with-plane-in-third-argument/m-p/7131862#M31384</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-06T13:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: IntersectWith() with plane in third argument</title>
      <link>https://forums.autodesk.com/t5/net-forum/intersectwith-with-plane-in-third-argument/m-p/7132060#M31385</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous wrote:&lt;BR /&gt;&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4476837"&gt;@ActivistInvestor&lt;/a&gt;&amp;nbsp;for example i have a closed polyline3d, the number of intersection points is 2, the number of parameters result of the method :&lt;/P&gt;&lt;PRE&gt;GetSplitParameters()&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;is 2 &amp;nbsp;but i get 3 parts from the split ! what is normal is obtaining two parts !... the polyline3d was devided not only at the boundary but at other points also, even if it was closed.&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;if you break a polyline at two points, neither of which is at an end, how many polylines do expect to have?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2017 14:41:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/intersectwith-with-plane-in-third-argument/m-p/7132060#M31385</guid>
      <dc:creator>ActivistInvestor</dc:creator>
      <dc:date>2017-06-06T14:41:51Z</dc:date>
    </item>
    <item>
      <title>Re: IntersectWith() with plane in third argument</title>
      <link>https://forums.autodesk.com/t5/net-forum/intersectwith-with-plane-in-third-argument/m-p/7132156#M31386</link>
      <description>&lt;P&gt;do you mean that i will have 3 parts using the end point, even if it is closed ? &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; how can i ignore the split in the end point or connect parts within the boundary ? other than getting vertices and generating one polyline.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2017 15:14:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/intersectwith-with-plane-in-third-argument/m-p/7132156#M31386</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-06T15:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: IntersectWith() with plane in third argument</title>
      <link>https://forums.autodesk.com/t5/net-forum/intersectwith-with-plane-in-third-argument/m-p/7132458#M31387</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous wrote:&lt;BR /&gt;&lt;P&gt;do you mean that i will have 3 parts using the end point, even if it is closed ? &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; how can i ignore the split in the end point or connect parts within the boundary ? other than getting vertices and generating one polyline.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;It could be a bug, but GetSplitCurves() on a closed, 3d polyline will always create one additional segment, that starts at the start point of the 3d polyline. I can't tell you why it works that way.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You would have to join the adjacent segments on the side of the boundary that you are not clipping away. You can try calling the JoinEntities() method on the segment that starts at the original 3d polyline's start point, and pass it the other segments on the same side of the clipping boundary.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2017 16:48:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/intersectwith-with-plane-in-third-argument/m-p/7132458#M31387</guid>
      <dc:creator>ActivistInvestor</dc:creator>
      <dc:date>2017-06-06T16:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: IntersectWith() with plane in third argument</title>
      <link>https://forums.autodesk.com/t5/net-forum/intersectwith-with-plane-in-third-argument/m-p/7134861#M31388</link>
      <description>&lt;P&gt;Hello, thank you very much,&amp;nbsp;I solved the previous problem by the JoinEntity () method, but I found another problem that is the intersection points are 2 but the splitting is done at a single point of intersection and 2 other points Specific to the polygon, saying that one of these two points is the end point, what is the other point?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2017 13:29:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/intersectwith-with-plane-in-third-argument/m-p/7134861#M31388</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-07T13:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: IntersectWith() with plane in third argument</title>
      <link>https://forums.autodesk.com/t5/net-forum/intersectwith-with-plane-in-third-argument/m-p/7135100#M31389</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous wrote:&lt;BR /&gt;&lt;P&gt;Hello, thank you very much,&amp;nbsp;I solved the previous problem by the JoinEntity () method, but I found another problem that is the intersection points are 2 but the splitting is done at a single point of intersection and 2 other points Specific to the polygon, saying that one of these two points is the end point, what is the other point?&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;It should not matter what the other point is if the split curves are all connected at their endpoints.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You would have to join the segments or not join them.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2017 14:34:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/intersectwith-with-plane-in-third-argument/m-p/7135100#M31389</guid>
      <dc:creator>ActivistInvestor</dc:creator>
      <dc:date>2017-06-07T14:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: IntersectWith() with plane in third argument</title>
      <link>https://forums.autodesk.com/t5/net-forum/intersectwith-with-plane-in-third-argument/m-p/7135255#M31390</link>
      <description>&lt;P&gt;yes, but for some entities i d'don't have the split at the two points of intersection just at one!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2017 15:13:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/intersectwith-with-plane-in-third-argument/m-p/7135255#M31390</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-07T15:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: IntersectWith() with plane in third argument</title>
      <link>https://forums.autodesk.com/t5/net-forum/intersectwith-with-plane-in-third-argument/m-p/7135415#M31391</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous wrote:&lt;BR /&gt;&lt;P&gt;yes, but for some entities i d'don't have the split at the two points of intersection just at one!&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can't make those kind of assumptions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You have to check the result of GetSplitCurves() to see what's there. The number of curves can depend on how many intersections there are, and on whether the entity that is split is a closed 3d polyline. &amp;nbsp;So, you have no choice but to check it always.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2017 15:59:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/intersectwith-with-plane-in-third-argument/m-p/7135415#M31391</guid>
      <dc:creator>ActivistInvestor</dc:creator>
      <dc:date>2017-06-07T15:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: IntersectWith() with plane in third argument</title>
      <link>https://forums.autodesk.com/t5/net-forum/intersectwith-with-plane-in-third-argument/m-p/7137232#M31392</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I didn't make any&amp;nbsp;&lt;SPAN&gt;assumptions i got these problems as a result for some entities, my only assumption is that the split will be at the two points of intrsection and the end of the 3d polyline closed, but i found that for some entities, the splitting is done at a single point of intersection and 2 other points Specific to the polygon, saying that one of these two points is the end point, what is the other point ? &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2017 10:01:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/intersectwith-with-plane-in-third-argument/m-p/7137232#M31392</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-08T10:01:28Z</dc:date>
    </item>
  </channel>
</rss>

