Bezier Curve with draggable control points

版本 1.11.0.1 (12.9 KB) 作者: Duccio Mugnaini
Draw, manipulate and reconstruct Bezier Curves.
1.3K 次下载
更新时间 2021/1/24

.: Interactive Bezier Curve (IBC) Package :.
The package comprises of a graphical utility to Bezier Curve control points and see how the curve is redrawn as control points are adjusted.
As regards the interactive interface, the user is shown a figure window with axes in which are shown a trial set of control points of a Bezier Curve. As points are placed in the axes, the Bezier Curve is drawn progressively.
Once done, control points may be adjusted with drag-and-drop. Hold down the left mouse button over any control point and drag it to another location.
.: Coding :.
From a programmers' perspective, this example illustrates how to use:
- Matlab event handler (http://it.mathworks.com/help/matlab/matlab_external/using-events.html);
- Matlab OOP (https://www.mathworks.com/help/pdf_doc/matlab/matlab_oop.pdf);
- simple application of drag and drop operations with axis elements;
- interactive user interface.

.: How to use :.
The simplest way to get started is to run "callObjDeCaste.m" (where you can change the initial control point set) or "DeCasteObj" (where you will start to work with the predefinite control point set), which activates the figure window where the control point and the curve are drawn.

.: Demo :.
https://youtu.be/GC0OK8j7-B8

引用格式

Duccio Mugnaini (2024). Bezier Curve with draggable control points (https://github.com/ducciomugnaini/Bezier-Curve-with-draggable-control-points/releases/tag/1.11.0.1), GitHub. 检索来源 .

MATLAB 版本兼容性
创建方式 R2014b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 3-D Scene Control 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.11.0.1

See release notes for this release on GitHub: https://github.com/ducciomugnaini/Bezier-Curve-with-draggable-control-points/releases/tag/1.11.0.1

1.11.0.0

-

1.1.0.0

- Minor changes.

1.0.0.0

icon image added
Description adjust

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库