Re: bezier/B-splines with endpoint conditions




I have two pieces of curve (c0 and c2), curve c0 ends in point p0,
curve c2 ends in point p2. At these endpoints I have information about
the k first derivatives.

As stated earlier in the discussion, i am looking for a curve which
connects c0 and c2 by means of piece of curve c1 between p0 and p2 such
that it satisfies the boundary conditions (i.e., agree on the
derivatives at the endpoints).

Moreover, I want to be sure that c1 does not intersect with anything
else which might be there, except the points p0 and p2. With anything
else, I mean anything outside the circle with center p1 and going
through p0 and p2.

Reading more on this on the web (and the discussion so far) it seems
that a curve can easily be found satisfying the boundary conditions:

Using Hermite splines you can use the derivatives at the endpoints to
constrain the possible coefficients of the polynomials; using Bezier
curves you have to use the control points. There seems to be a close
connection between these two approaches in case of cubic polynomials.
The first derivative conditions in the two endpoints in the Hermite
approach give rise to two extra control points in the Bezier approach;
and vice versa. However, it is unclear how to translate the higher
derivative conditions in terms of extra control points.

Meanwhile, I also found out that the B-spline approach has the convex
hull property, which if I understand it correctly, says that the
obtained curve lies withing the convex hull of the control points. The
Hermite splines do not seem to have this property.

The convex hull property still is not sufficient to guarantee that the
curve does not intersect other parts since it might be the case that
some of the control points lie outside the circle.

Concluding, I now know how to satsify easily the boudary conditions
using Hermite splines; but it is less clear how to do this using
control points. On the other hand the control points give me a way of
computing a bounding box of the curve, while in the Hermitian approach
this is not clear.

-Sirolf

.



Relevant Pages

  • Re: Bezier lengths w/o lots of resources
    ... In fact your method has error Owhich is the same as using the distance between endpoints and then applying one round of Romberg. ... In the example table below the raw length estimate uses the sqrts column number of square roots for that row. ... The point I was making is that I think there is a lower limit on the path length/distance along control points otherwise the pathlength can approach zero with the control points a finite distance apart. ... I could equally have done it via the curve splitting. ...
    (comp.arch.embedded)
  • Re: bezier/B-splines with endpoint conditions
    ... obtained curve lies withing the convex hull of the control points. ... B-spline to the points and derivatives, it can happen that you are ... piece, so we can use the simplest form of B-spline curve, a Bezier ...
    (comp.graphics.algorithms)
  • Re: Rounded shapes
    ... The drawing primitives are all quite limited in items like PostScript. ... two control points to get the effect you want. ... The curve-to command uses a standard cubic Bezier curve as its basis. ...
    (comp.lang.java.gui)
  • Re: Getting started in N gauge
    ... Depends on curve tightness. ... If going DCC, be realistic about the controller requirements - do you really ... need something which resembles an aircraft cockpit to control half a dozen ... locos, will you ever need more than 10 or 20 locos, etc.  I use a cheap ...
    (uk.rec.models.rail)
  • Re: Bezier lengths w/o lots of resources
    ... Yes I'm using the control parameter, ... but only one line for the Romberg bit. ... with don't look to be a good fit, you subdivide and try again ... I subdivide the curve creating two curves: ...
    (comp.arch.embedded)