Bézier Toolbox

This toolbox allows you to work with both regular and rational Bézier curves/splines. This includes: fitting, point projection and others
1.3K Downloads
Updated 14 May 2020

View License

This toolbox allows you to work with both regular and rational Bézier curves and splines. The following is included:
- Fitting regular Bézier splines to waypoints with arbitrary geometric continuity properties
- Raising the order of a regular Bézier splines/curves
- Creating the Hodograph for regular Bézier splines/curves to evaluate the derivatives
- Evaluating the following properties of regular and rational Bézier splines curves:
* Coordinates of curve (analytic)
* angle of tangent vector at each point of the curve (analytic)
* curvature at each point of the curve (analytic)
* arc length (numerical)
- Plotting regular and rational Bézier splines
- Interactively drawing regular Bézier splines

Please let me know if you have any suggestions / found any bugs

Cite As

Robbin van Hoek (2024). Bézier Toolbox (https://www.mathworks.com/matlabcentral/fileexchange/69302-bezier-toolbox), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2018b
Compatible with R2014b and later releases
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.2

Updated the BezierProjection.m:
- Included bounding box upper and lower bound as suggested by Douglas Ridgeway, this speeds up the code significantly as not all the segments need to be evaluated.
- Corrected the code for 3D curves.

1.0.1

BezierEval no longer requires symbolic toolbox

1.0.0