Proctor Posted February 26, 2010 Posted February 26, 2010 Hello: I'm working in AutoCad .net api: I have a line (see black line in pic) and I find it's perpendicular line (see red line in pic) and now i want to find the line that intersects w/ this red line (see blue line in pic). I know about the intersectWith method, but this won't take a collection of lines so i can see which line in the collection it intersects with so i'm wondering if i need to loop through my collection of lines....or if there's another way. thanks Proctor Quote
SEANT Posted February 26, 2010 Posted February 26, 2010 A looping test would be the most straightforward method of finding an intersecting pair. Depending on the circumstances there may be some optimization available with selection set filtering . . . . to avoid testing against every entity in the database. Quote
Proctor Posted February 26, 2010 Author Posted February 26, 2010 Hi SEANT: Thanks for your reply. I will go ahead and loop through my selection set of lines then. thanks again, Proctor Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.