Bezier Curve/Patch Subdivision

版本 1.0.0.0 (40.5 KB) 作者: Zhengyi
Subdivision of a Bezier curve or a Bezier patch.
107.0 次下载
更新时间 2017/5/30

查看许可证

The function splits a k-th order Bezier curve or Bezier patch at user defined parameter(s).
Use:
CP = bezsubdiv(C, U) splits a k-th order Bezier curve with control points C at parameter U, and returns new control points CP.
[CP, CL, CR] = BEZSUBDIV(...) also returns k-by-3 matrices CL and CR for control points CL and CR for left and right segments.
CP = BEZSUBDIV(C,U,W) splits a Bezier patch with control points C at parameter U and W, and returns new control points CP.
[CP,CLU,CRU,CLW,CRW] = BEZSUBDIV(...) also returns ku-by-kw-3 matrices CLU, CRU, CLW and CRW for control points for top left, top right, bottom left and bottom right patches.

引用格式

Zhengyi (2024). Bezier Curve/Patch Subdivision (https://www.mathworks.com/matlabcentral/fileexchange/63175-bezier-curve-patch-subdivision), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2010a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Polygons 的更多信息
标签 添加标签

Community Treasure Hunt

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

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

- fixed a mistake in calculating w-direction control points.
- added a demo program.

- added an "icon"