Hi all, I am trying to use select function to select entities.
std::vector<GVertex*> vertices; std::vector<GEdge*> edges; std::vector<GFace*> faces; std::vector<GRegion*> regions; std::vector<MElement*> elements; ctx->select( ENT_POINT, false, false, x, y, 5, 5, vertices, edges, faces, regions, elements); The problem is that , for different x and y values the selection doesn't change and it's always the first vertex in the model. Can anybody explain me how mouse selection works in gmsh ? Thanks in advance.
_______________________________________________ gmsh mailing list [email protected] http://www.geuz.org/mailman/listinfo/gmsh
