Cylinder Triangulation

Cylinder triangulation
4 Downloads
Updated 9 Nov 2023

View License

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

Cite As

Ayad Al-Rumaithi (2024). Cylinder Triangulation (https://www.mathworks.com/matlabcentral/fileexchange/154820-cylinder-triangulation), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2017b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0