This function generates triangulation for a cylinder.
function [V,F]=Cylinder_Triangulation(vc1,vc2,d)
Input:
vc1 is (3*1) coordinate vector for the center of the first circular base of the cylinder.
vc2 is (3*1) coordinate vector for the center of the second circular base of the cylinder.
d is the diameter of the cylinder.
Output:
V: vertices matrix
F: faces matrix
引用格式
Ayad Al-Rumaithi (2026). Cylinder Triangulation (https://ww2.mathworks.cn/matlabcentral/fileexchange/154820-cylinder-triangulation), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2017b
兼容任何版本
