[Gmsh] Reading BoundingBox coordinates

Christophe Geuzaine cgeuzaine at ulg.ac.be
Sun Jun 28 18:06:26 CEST 2009


Mike B. wrote:
> Dear Gmsh users,
> 
> Is there a way to read the coordinates found by the BoundingBox 
> commmand?. This fails (syntax error):
> t[] = BoundingBox;
> 

Hi Mike - Try:

xmin = General.MinX;
xmax = General.MaxX;
ymin = General.MinY;
ymax = General.MaxY;
zmin = General.MinZ;
zmax = General.MaxZ;



> Cheers,
> Mike.
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh


-- 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science
http://www.montefiore.ulg.ac.be/~geuzaine