[Gmsh] Question regarding values of boundingBox and General.MaxX/Y/Z and Geometry.Tolerance

Tobias Lichti Fraunhofer ITWM tobias.lichti at itwm.fraunhofer.de
Fri Mar 27 11:21:24 CET 2020

Hello all,

I have a question regarding the values of above variables/function output.

If my model is a cube of e.g. [Xmin , Ymin , Zmin , Xmax , Ymax ,  
Zmax] = [0,0,0,5,5,5] and I calculate the boundingBox of the model I  
will obtain [0-1e-7 , 0-1e-7 , 0-1e-7 , 5+1e-7 , 5+1e-7 , 5+1e-7].
The variables General.MinX/Y/Z and General.MaxX/Y/Z as well have an  
offset of 1e-7.

This offset seems to be independent from Geometry.Tolerance.

Can anyone tell me how the offset can be controlled or how it is defined?
I am also grateful for every hint about how is the best way to get the  
exact bounding box of the model.

Best regards and thanks in advance!

Tobias Lichti
Fraunhofer-Platz 1, 67663 Kaiserslautern, Germany
Telefon: +49 631 31600-4974, Fax: +49 631 31600-5974
mailto: tobias.lichti at itwm.fraunhofer.de

More information about the gmsh mailing list