removeVerticesPatch(fvcIn,removeVerticeList)
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
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Graphics > 2-D and 3-D Plots > Surfaces, Volumes, and Polygons > Polygons >
- MATLAB > Data Import and Analysis > Data Import and Export > Standard File Formats > STL (STereoLithography) >
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.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | Added example picture to submission. |