VLFLaddfacetcenterpoints

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

creates additional vertices in the middle of each facet

Description

the number of facets is length(FL)*3
the number of vertices is length(VL) + length(FL)*3
Poinct cloud of SG

See Also: PCofSG

Example Illustration

 missing image of VLFLaddfacetcenterpoints(VL,FL,nn,md);

Syntax

[NVL,NFL,NNVL]=VLFLaddfacetcenterpoints(VL,FL,[nn,md]);

Input Parameter

VL: vertex list
FL: facet list
nn: recursive number of calls; default is 1
md: minimum distance between old and new points; default is 0

Output Parameter

NVL: New vertex list
NFL: New facet list
NNVL:

Examples


A=SGbox([30,20,10]); VL=A.VL; FL=A.FL;
VLFLaddfacetcenterpoints(VL,FL);
VLFLaddfacetcenterpoints(VL,FL,5);
VLFLaddfacetcenterpoints(VL,FL,5,1);




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