VLofVLFLselfIntersection

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Surfaces
Introduced first in SolidGeometry 4.3, Creation date: 2018-08-25, Last change: 2025-09-14

returns the self intersection crossing points of a Surface

Description

Only original facet points are not returned
Function could be improved by returning the crossing facets

See Also: VLFLcheckmeshlab , SGintersectFacetPoints , VLFLinsertFacetPoints , SGisInterior , VLFLremoveIntersectFacets , VLFLcheckselfintersection

Example Illustration

 missing image of VLofVLFLselfIntersection(VL,FL,sep,thr)

Syntax

[CVL,SG,CVLi,CFi]=VLofVLFLselfIntersection(VL,FL,[sep,thr])

Input Parameter

VL: Vertex list
FL: Facet list
sep: surface separation {true,false}; default is false;
thr: rounding threshold default is 1e-7

Output Parameter

CVL: Faces collision points
SG: Cell list of Separated Geometry Surfaces
CVLi: Cell list of faces collision points
CFi:

Examples


SG=SGsample(15); VLofVLFLselfIntersection (SG.VL,SG.FL);
SG=SGsample(36); VLofVLFLselfIntersection(SG.VL,SG.FL);
SG=SGsample(17); VLofVLFLselfIntersection(SG.VL,SG.FL,true);
SG=SGsample(17); VLofVLFLselfIntersection(SG.VL,SG.FL,false);




Copyright 2018-2025 Tim C. Lueth. All rights reserved. The code is the property of Tim C. Lueth and may not be redistributed or modified without explicit written permission. This software may be used free of charge for academic research and teaching purposes only. Commercial use, redistribution, modification, or reverse engineering is strictly prohibited. Access to source code is restricted and granted only under specific agreements. For licensing inquiries or commercial use, please contact: Tim C. Lueth

Last html export of this page out of FM database by TL: 2025-09-21