[Gmsh] Recover the constituent Point identifiers from a Line identifier in a .geo file.
    Christophe Geuzaine 
    cgeuzaine at ulg.ac.be
       
    Mon May 11 23:29:07 CEST 2009
    
    
  
Leonard Kramer wrote:
> Is there a function (or workaround) permitting me to recover the 
> identifiers of the constituent points making up a line if I know the 
> line identifier.  I encountered this problem when I attempted to 
> generalize in a function, an operation on points created in an Extruded 
> surface.
You can only retrieve the boundary points of the line (maybe this is 
enough?):
Point(10) = {0,0,0};
Point(11) = {1,0,0};
Line(1) = {10,11};
aa[] = Boundary{ Line{1}; };
Printf("line 1 has boundary %g %g", aa[0], aa[1]);
> Thank you/Merci,
> Leonard (from Texas.)
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> 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