From 9c47884a8365ddbd8b2f36d49589a0a4e815dfe8 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Thu, 5 Aug 2010 15:19:52 +0000 Subject: [PATCH] export embedded point/line in unrolled geo --- Geo/GFace.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Geo/GFace.cpp b/Geo/GFace.cpp index 760ae369a7..e3a56d5745 100644 --- a/Geo/GFace.cpp +++ b/Geo/GFace.cpp @@ -299,6 +299,14 @@ void GFace::writeGEO(FILE *fp) 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() -- GitLab