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

Identify Arc when click 3 point in this Arc

1 REPLY 1
Reply
Message 1 of 2
hoathuongphuoc
262 Views, 1 Reply

Identify Arc when click 3 point in this Arc

Hi All,

I have a problem. This is, I have a Arc. And now, i want identify it based on 3 point(top,middle,end) when i click. Everybody can help me some solutions. Thanks very much.

1 REPLY 1
Message 2 of 2
hgasty1001
in reply to: hoathuongphuoc

Hi, not sure to understand, but you can get the points with GetPointAtParameter method of any curve derived object, so, you can get the parameters with the StartPoint and EndPoint properties of any curve derived object, the middle point can be obtained with the distance, get the total length substracting the distance at StartParameter from the distance at  EndParameter divide by 2 and then get the point at that distance with GetPointAtDistance.

 

Gaston Nunez 

 

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