Questions tagged [bezier-curve]

43 questions
5
votes
1 answer

Bicubic bezier surface from 4 bezier curves

In the program I need to create, the user should specify the hull geometry of an aircraft wing and fuselage using cubic bezier polycurves. But to get to m bezier patch surfaces the user would need to introduce 4 * m additional control points. It's…
ProdoElmit
  • 151
  • 3
3
votes
2 answers

Checking the correct offset direction for Bezier curve offset

I am implementing Bezier curve offset. My approach is simple: Given the handles, calculate the vectors normal to them Move the handle along the normal vector. If the new curve intersects the old one, reverse the offset direction. etc. I would like…
user1790813
  • 131
  • 1
2
votes
2 answers

What is the mathematics behind inkscape's power stroke path effect interpolator_type and interpolator_beta attributes?

Inkscape has a feature called Power Stroke which is a form of path effect. When you apply it to a stroke you gain 3 control points that allow you to adjust the thickness of the stroke. (I have not yet figured out how to add more control points…
Mutant Bob
  • 151
  • 2
2
votes
1 answer

Join two bezier curves so that the result is two-times continuously differentiable

I have a task to join two bezier curves, so that the resulting curve is two-times continuously differentiable. I have the cubic bezier Curve C with control points: c0 = (1,1) c1 = (3,4) c2 = (7,5) c3 = (8,2) I shall continue this curve C with Curve…
DeDo
  • 21
  • 2
2
votes
1 answer

Algorithm to add a path point, preserving path shape?

I'm using paper.js and need to add a point to a curved path without affecting the path's shape. Inkscape's "Edit paths by nodes" tool has this feature by default -- double-clicking on a path adds a node, adjusting the handles of the new node and…
Rick Mohr
  • 141
  • 3
1
vote
1 answer

Cubic Bezier Curve - General Questions

A bezier curve B(t) has 4 control points P0 = (0,0,0) , P1 = (1,0,0), P2 = (1,1,1) , P3 = (0,1,1). Which of the following are correct: a) B(-2) is not defined b) B(-1) = (-1,-1,-1) c) B(t) , t in [0,1] is in the plane that P0,P1,P2 define. I don't…
0
votes
2 answers

Methods for filling the area between complex curves

I'm looking for algorithms or methods suitable for filling the area enclosed between complex curves - for example, the area within an outer ellipse but outside an inner ellipse, or the area bounded by two or more Bezier curves. I'm familiar with the…
Saku
  • 101
0
votes
0 answers

Dealing with selection of spline/bezier curves in graphical software

In 2d and 3d environment we can select primitives like lines and polygons by performing point/ray intersection test with the respective primitive. However how does one approach the selection of quadratic/cubic spline curves? Is this problem often…
Lenny White
  • 516
  • 2
  • 13