VLFLmeshdensity

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Analytical Geometry
Introduced first in SolidGeometry 1.1, Creation date: 2013-08-15, Last change: 2025-09-14

decreases the edge length of the facets for deformation use

Description

Fast and powerful. Future activities: removement of doubles, parameter for interruption
maximum number of edges/facets

Example Illustration

 missing image of VLFLmeshdensity(VL,FL,maxd)

Syntax

[NVL,UFL,NFL]=VLFLmeshdensity(VL,FL,maxd)

Input Parameter

VL: Vertex list
FL: facet list
maxd: Maximal edge length

Output Parameter

NVL: New vertex list, contains doubles
UFL: New facet list
NFL: is always empty until procedure is not interrupted

Examples

Generate edges no longer than 6 mm
[VL,FL]=VLFLremesh(VL,FL,5);
VL=rounddiv(VL,1e-5);[VL,~,C]=unique(VL,'rows','first'); FL=C(FL);




Copyright 2013-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