by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Surfaces
Introduced first in SolidGeometry 4.3, Creation date: 2018-09-11, Last change: 2025-09-14
See Also: SGcheckmeshlab
, SGintersectFacetPoints
, VLFLinsertFacetPoints
, SGisInterior
, VLofVLFLselfIntersection
[NFL,remi,nii]=VLFLremoveIntersectFacets(VL,FL)
VL: | Vertex list or SG | |
FL: | Facet List |
NFL: | New Facet list | |
remi: | index of removed facets relative to FL | |
nii: | index of not intersecting facets relative to FL |
A=SGreadSTL('/Volumes/LUETH-WIN/WIN AIM Matlab Libraries/STL Files for SG-Lib/Herzklappe Patient.STL')
VLFLremoveIntersectFacets(A.VL,A.FL);
A=SGsample(36), VLFLremoveIntersectFacets(A.VL,A.FL);