.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

is it possible to determine the points of intersection of the Ray and Solid

4 REPLIES 4
SOLVED
Reply
Message 1 of 5
andy_pu
961 Views, 4 Replies

is it possible to determine the points of intersection of the Ray and Solid

Hi!

I need to find closest solid to point, so I trace a Ray from this point by Vector. Can I find points of intersection of Ray and Solid?

Thanks!!!

4 REPLIES 4
Message 2 of 5
Balaji_Ram
in reply to: andy_pu

Hi Andy,

 

Please refer to this blog post :

 

http://adndevblog.typepad.com/autocad/2013/02/how-to-intersect-a-line-with-a-solid.html

 

Regards,

Balaji



Balaji
Developer Technical Services
Autodesk Developer Network

Message 3 of 5
bvyas89
in reply to: andy_pu

Hi , to get intersection point between to entities you have to use 'entity.IntesectWith' function. With this function, you can get intersecting point. if for an entity if you get intersection point , you can add that entity in your list or array. 

 

Please refer below link:

http://forums.autodesk.com/t5/NET/Find-intersection-point-of-two-lines/m-p/4769671#M38812

Message 4 of 5
andy_pu
in reply to: bvyas89

Thanks! But IntersectWith not implemented for Solid
Message 5 of 5
andy_pu
in reply to: Balaji_Ram

Thank you so much! This is exactly what I was looking!!! Many thanks!!!

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost