Hello, My apologies if this is a dumb question, but I am having difficulty working out how to find the coordinates of a transformed point in the python api.
I have created a point with: apex_pt = gmsh.model.occ.addPoint(a_epi,0.0,0.0,0,-1) and transform it (translate and rotate) with a routine that I wrote: transform([0,apex_pt]) Having inspected the geometry and mesh, I know that the transformation puts the point in the correct position. However, I cannot work out how to find the coordinates of the new point. I have tried using getEntities (for dimension 0 entities) and getNodes for each entity returned, but this does not work for the one particular entity which is my apex_pt. Any help would be much appreciated. Thanks, Peter. --------------------------------------------------------------------- Associate Professor Peter Johnston (FAustMS, FIMA) School of Environment and Science Griffith University | Nathan | QLD 4111 | Technology (N44) Room 3.19 T +61 7 373 57748| F +61 7 373 57656 Email [email protected]
_______________________________________________ gmsh mailing list [email protected] http://onelab.info/mailman/listinfo/gmsh
