Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|cite|improve this question
What form does the curve between A and B take? Is it a straight line, an arc of a circle, a cubic spline (the last two will require additional 'control points' to be specified - what are they?) or something else? – Chris Taylor Jun 22 '11 at 9:37
Curve can take form of arc of cricle. – newbie Jun 22 '11 at 9:40

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$.

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.