TheSwamp

Code Red => VB(A) => Topic started by: Bryco on March 07, 2007, 12:35:21 AM

Title: DistanceAtPoint for lwpoly
Post by: Bryco on March 07, 2007, 12:35:21 AM
I use Frank Oquendo's curve class for some math and since net, lisp  and c can access the math class I guess noone has messed with the subject. Well I thought I'ld would mess with it a bit for plines even if splines are way beyond me.  I found PtAtDistance to be fairly easy to achieve without having to find the center of the curves, hopefully involving less math.
But DistanceAtPoint has got me stonkered, to find where the point is on the pline I can't imagine how to not use the center. Eg. if bulge<>0 then if length (centerpt,Point)<>radius then goto nextsegment. I would rather use the info supplied by the bulge and the coordinates directly rather than find the center, etc.
Any ideas??
Title: Re: DistanceAtPoint for lwpoly
Post by: Bryco on March 08, 2007, 11:08:06 PM
Hehe Definately a boring question, some people ask tha darndest!
Title: Re: DistanceAtPoint for lwpoly
Post by: robplatt on March 18, 2007, 01:07:33 AM
Hi,
This is an amazing coincidence!
Should have read your message before asking my question (see Polylines and Mathematics).
If you've got further than me I'd like to hear about it.
Also can you enlighten me regarding: "Frank Oquendo's curve class"?
Thanks.