[Gmsh] [gmsh] retrieving point coordinate

Tsiapkinis tsiapkinis at gmail.com
Wed Oct 23 15:16:09 CEST 2019


Hey,

yes it is possible with

coord[] = Point{1};

After that, coord[0], coord[1], coord[2] are your coordinates in x,y,z
direction respectively.

Am Mi., 23. Okt. 2019 um 15:12 Uhr schrieb Vicini Alessandro <
alessandro.vicini at sitael.com>:

>
>
> Hello, is it possible in a geo file to retrieve the value of a given point
> coordinate (say for example I want to assign the x coordinate of Point(n)
> to a variable…). Thank you.
>
>
>
> A.V.
> _______________________________________________
> gmsh mailing list
> gmsh at onelab.info
> http://onelab.info/mailman/listinfo/gmsh
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20191023/bb2101e0/attachment.html>


More information about the gmsh mailing list