This function will take in a FV structure of patch data and remove any repeated vertices in fvcIn.vertices. It will find vertices in fvcIn that match points in the removeVerticeList, and will also remove any faces in fvcIn that reference vertices to be removed. It then check to see if any further vertices became unused after faces were removed, and remove them as well. If fvcIn contains field 'facevertexcdata', that field will be also updated. This function was created to modify patches before using code to convert patch to STL file; ran into problems with STL files generated from patches with unused vertices. (Note, developed in MATLAB R2013a)
Lane Foulks (2021). removeVerticesPatch(fvcIn,removeVerticeList) (https://www.mathworks.com/matlabcentral/fileexchange/54102-removeverticespatch-fvcin-removeverticelist), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.
Thank you very much!
works fast and fine! well done!
Very useful!
Very helpful!