removeVerticesPatch​(fvcIn,removeVertic​eList)

Removes repeated, unused, and specified vertices in a FV structure of patch data.
352 Downloads
Updated 20 Nov 2015

View License

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)

Cite As

Lane Foulks (2024). removeVerticesPatch(fvcIn,removeVerticeList) (https://www.mathworks.com/matlabcentral/fileexchange/54102-removeverticespatch-fvcin-removeverticelist), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013a
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.0

Added example picture to submission.