1
$\begingroup$

I want to get Cartesian coordinates of the points of a curve (e.g. a bezier curve) based on the distance (e.g length of the arc) from the start point on the curve. To make this more clear, suppose I want to walk along a path with a constant speed, then I want to know my position for every time interval after I started. Could you provide me with keywords or links to search for this kind of geometry? Also please consult the following picture: enter image description here

$\endgroup$
3
$\begingroup$

As Robert Israel's answer said, you want to parameterize the curve by arclength. This means that, given an arclength along the curve, you can calculate the location of the corresponding point.

In fact, in the field of differential geometry, they often assume from the start that they are dealing with curves that are parametrized by arclength. This makes the formulas tidier. For example, it means that the first derivative vector has length equal to 1.

But, this ignores the fact that, for all but the simplest curves (straight lines and circles), there is no simple formula that gives the arclength corresponding to a given point, nor one that gives the point corresponding to a given arclength. To compute arclengths and points, you have to use numerical methods, specifically numerical integration (sometimes called "quadrature").

So, you can start by looking up terms like arclength, parameterization, and differential geometry. But, to make any tangible progress with Bézier curves, you'll need to learn about numerical integration, too.

$\endgroup$
6
$\begingroup$

What you want to do is parametrize the curve by arc length.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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