VLcheckboundaryaccuracy

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Problems Find/Check/Fix
Introduced first in SolidGeometry 4.3, Creation date: 2018-09-01, Last change: 2025-09-14

returns the sufficient number of digits for rounding to achieve minimal open boundaries

Description

This function VLcheckboundaryaccuracy tries to round the points of the vertexlist (to press on a grid) in such a way that there are as few free / open surface edges as possible. The older function VLcheckvertexaccuracy tries to guarantee the distance between vertices.
otab format: [rounding digits nr-of-edges nr-of-groups]

See Also: VLcheckvertexaccuracy , SGchecknonmanifoldedges , SGchecknonmanifoldvertices , SGcheckmeshlab

Example Illustration

 missing image of VLcheckboundaryaccuracy(VL,FL)

Syntax

[otab,SGN]=VLcheckboundaryaccuracy(VL,FL)

Input Parameter

VL: Original Vertex List or SG
FL: Original Facet List

Output Parameter

otab: full table of significant vertex distances after rounding
SGN: corrected Solid Geometry

Examples

loadweb JACO_robot.mat
VLcheckboundaryaccuracy(JC2);
VLcheckboundaryaccuracy(JACO);
otab=VLcheckboundaryaccuracy(JC2); JC2.VL=round(JC2.VL,otab(1,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