VLmindxyz

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

returns the minimal distance larger than zero

Description

The smallest number in matlab different from zero is eps ~1e-15;
The typical arithmetic error of ordinary calculation is ~1e-12;
The smallest trigonometric number bigger than zero is eps2 ~1e-07;
A boolean surface operation should use coordinate grids ~1e-03;
The crossing points NPL of those coordinate would be up to ~1e-12;
Rounding limits > 1e-12 will create new point in triangulation;


See Also: VLmindist , eps2 , SGboolanalyze

Example Illustration

 missing image of VLmindxyz(VL,Name,FL,grid)

Syntax

[dmin,dmm]=VLmindxyz(VL,[Name,FL,grid])

Input Parameter

VL: vector list
Name: Optional Name string for warnings and verbose print
FL: Optional Facet list to get information on Area and collapsed facets
grid: Optional Grid size to estimate the problems by grid rounding

Output Parameter

dmin: absolute minimal distance
dmm: abolute maximum dimension

Examples


VLmindxyz(SGsample(5)), % Shows the minimal point distance for a half sphere




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