[Gmsh] getVertex in gmsh.cpp in gmsh-git-source
Christophe Geuzaine
cgeuzaine at uliege.be
Tue Feb 27 20:58:37 CET 2018
> On 27 Feb 2018, at 20:12, José M. Sancho <jose.sancho at upm.es> wrote:
>
> Hi,
>
> lines 978,979,980 in gmsh.cpp:
>
> coord.push_back(v->x());
> coord.push_back(v->x());
> coord.push_back(v->x());
>
>
> IMHO should be:
>
> coord.push_back(v->x());
> coord.push_back(v->y());
> coord.push_back(v->z());
>
indeed - fixed. Thanks!
>
> By the way, would it be possible in the API to get the coordinates in a geometrical Point ?
>
Use gmsh::model::getBoundingBox().
Christophe
>
> Regards.
>
>
> _______________________________________________
> gmsh mailing list
> gmsh at onelab.info
> http://onelab.info/mailman/listinfo/gmsh
—
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science
http://www.montefiore.ulg.ac.be/~geuzaine
Free software: http://gmsh.info | http://getdp.info | http://onelab.info
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20180227/49841c55/attachment-0001.html>
More information about the gmsh
mailing list