File Exchange

image thumbnail

Bezier Curves

version 1.4.0.0 (9.89 KB) by Adrian
A matlab class for handling n-dimentional bezier curves, parametrized by control points.

660 Downloads

Updated 17 Aug 2015

From GitHub

View license on GitHub

A matlab package for handling n-dimentional bezier curves.
A bezier curve is parametrized by controlPts - which is [N x dim] for N control points of dimension dim. Note that we use matlab matrix ordering, so the first dimension will be treated as 'y' in the 2D case.

Current function support:
- bezier.eval evaluate the curve at many points
- bezier.draw draw the curve in a image or volume
- bezier.view visualize 2D or 3D bezier curves (even multiple curves in the same figure)
- bezier.explore explore 2D bezier curves interactively

See readme.md for getting started.
See beziertest.m for tests.

Cite As

Adrian (2021). Bezier Curves (https://github.com/adalca/bezier), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2014a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.