draw a perpendicular from a point on the nearest segment of a polyline

RaghuMN

Usenet Archive
Joined
Jul 14, 2003
Messages
97
Reaction score
0
Can anyone tell me on how to draw a perpendicular from a point on a polyline with MANY vertexes and not straight. The point should find the nearest segment of polyline and draw a perpendicular to this segment.

Any clues, helps..?

Thanks in advance,

MNRaghu
 
Get the nearest point on the polyline with vlax-curve-getclosestpointo, and the angle by using vlax-curve-getfirstderiv. Regards, Dave
 
Thanks Morrisde,
As the first look, i think it works. I will try this and get back if i find any difficulty.

MNRaghu
 

Latest threads

Back
Top