Message 1 of 2
Line Intersection problem with small lines
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all. I have polyline and ray. when I apply intersectWith method of polyline to ray, it returns me intersection points perfect. But when ray intersects polyline's small segments it doesn't return anything. I noticed that it worked when the poylyline was in a big scale and not worked when i draw it as little as possible.
poly.IntersectWith(ray,Intersect.OnBothOperands,ray.GetPlane(),ptCol,0,0); ed.WriteMessage((ptCol.Count).ToString()); btr.AppendEntity(ray); trans.AddNewlyCreatedDBObject(ray,true);
What does Intersect type parameter of IntersectWith method mean? what is it needed for?