[Gmsh] Getting point coordinates

Neilen Marais nmarais at sun.ac.za
Thu Nov 13 19:47:28 CET 2008


Christophe,

On Thu, 13 Nov 2008 19:23:58 +0100, Christophe Geuzaine wrote:

> c[] = Point{1};

Thanks!  I tried something similar, but I think I got caught up because I 
thought one could to array math like

c[] = (Point{1} + Point{2})/2 .

What i really wanted was

c[] = Point{1};
d[] = Point{2};
Point(500) = {(c[0]+d[0])/2, (c[1]+d[1])/2,, (c[2]+d[2])/2, h};

Regards
Neilen