Skip to content
Snippets Groups Projects
Commit 9c47884a authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

export embedded point/line in unrolled geo

parent 2e03f429
No related branches found
No related tags found
No related merge requests found
...@@ -299,6 +299,14 @@ void GFace::writeGEO(FILE *fp) ...@@ -299,6 +299,14 @@ void GFace::writeGEO(FILE *fp)
Msg::Error("Skipping surface %d in export", tag()); Msg::Error("Skipping surface %d in export", tag());
} }
} }
for(std::list<GEdge*>::iterator it = embedded_edges.begin();
it != embedded_edges.end(); it++)
fprintf(fp, "Line {%d} In Surface {%d};\n", (*it)->tag(), tag());
for(std::list<GVertex*>::iterator it = embedded_vertices.begin();
it != embedded_vertices.end(); it++)
fprintf(fp, "Point {%d} In Surface {%d};\n", (*it)->tag(), tag());
} }
void GFace::computeMeanPlane() void GFace::computeMeanPlane()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment