Forum archiveIssue archiveOther usage issues

Archived discussion

Any Method to approximate from a Bezier Curve to a Control Polygon back ?

Other usage issuesTue, 10/25/2005 - 01:351 reply

Browse this forum
QuestionAuthor

Hello,

does it exist a method to approximate a Bezier Curve to a Polygon with control-points ?

thank you in advance.

Discussion

1 archived reply

Posts are displayed in their archived order.

01Commenter-1

A bezier curve _is_ an approximation of the polygon. Use the polygon's corner points as control points for the bezier curve. The curve will degenerate to the polygon (aka "control polygon": polygon consisting of the curve's control points) itself, if you reduce the curve's degree.
By using a NURBS curve (BSpline in open CASCADE) instead, you have more control over how the curve approximates the polygon apart from changing the degree by simply changing the weights of the control points.