Construction of cubic Bezier Patch and Surface
Version 1.0.0.2 (657 KB) by
Dr. Murtaza Ali Khan
Construction of cubic Bezier Patch and Surface
The archive contains several files related to the construction and visualization of Bézier surfaces. The main.m script serves as a test program to generate a Bézier surface with 32 patches.
The bezierpatchinterp.m function evaluates a cubic Bézier patch using 16 control points and returns interpolated points.
The plotbezierpatch3D.m and plotbeziersurface3D.m functions plot individual Bézier patches and complete Bézier surfaces, respectively.
Additionally, teapot.mat provides control points for a 3D teapot model composed of 32 patches, each defined by 16 control points in three-dimensional space.
Lastly, BezierCurveSurface.pdf offers a brief overview of Bézier curves and surfaces.
Cite As
Dr. Murtaza Ali Khan (2025). Construction of cubic Bezier Patch and Surface (https://www.mathworks.com/matlabcentral/fileexchange/37876-construction-of-cubic-bezier-patch-and-surface), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R14SP2
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Polygons in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.