0
$\begingroup$

I have curve that is drawn between point A and B. I want to divide this curve to 100 smaller waypoints. How can I determine what these 100 waypoints are as coordinates, when I only know points A and B?

  • 0
    Curve can take form of arc of cricle.2011-06-22

1 Answers 1

1

The simplest is just to divide the interval in $x$ into $101$ intervals. So if $A=(a_x,a_y)$ and $B=(b_x,b_y)$, use $a_x+i(b_x-a_x)/101$ and find the corresponding $y$ coordinate for $i$ from $1$ to $100$.