From 669749e6e6c9ee2695502bd847c6e6292cfac6e0 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Wed, 8 Feb 2017 21:00:19 +0000 Subject: [PATCH] --- Geo/GModelIO_OCC.cpp | 7 ++++++- Geo/GModelIO_OCC.h | 2 ++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/Geo/GModelIO_OCC.cpp b/Geo/GModelIO_OCC.cpp index c9eda50eed..c1ac797d87 100644 --- a/Geo/GModelIO_OCC.cpp +++ b/Geo/GModelIO_OCC.cpp @@ -320,7 +320,12 @@ void OCC_Internals::addLineLoop(int tag, std::vector<int> edgeTags) void OCC_Internals::addSurfaceLoop(int tag, std::vector<int> faceTags) { - Msg::Error("OCC TODO create shell!"); + Msg::Error("OCC TODO create shell"); +} + +void OCC_Internals::addVolume(int tag, std::vector<int> shellTags) +{ + Msg::Error("OCC TODO create volume"); } void OCC_Internals::addSphere(int tag, double xc, double yc, double zc, double radius) diff --git a/Geo/GModelIO_OCC.h b/Geo/GModelIO_OCC.h index b6112975e1..fecb6d3f95 100644 --- a/Geo/GModelIO_OCC.h +++ b/Geo/GModelIO_OCC.h @@ -117,6 +117,7 @@ class OCC_Internals { void addCircleArc(int tag, int startTag, int centerTag, int endTag); void addLineLoop(int tag, std::vector<int> edgeTags); void addSurfaceLoop(int tag, std::vector<int> faceTags); + void addVolume(int tag, std::vector<int> shellTags); void addSphere(int tag, double xc, double yc, double zc, double radius); void addBlock(int tag, double x1, double y1, double z1, double x2, double y2, double z2); @@ -175,6 +176,7 @@ public: void addCircleArc(int tag, int startTag, int centerTag, int endTag){} void addLineLoop(int tag, std::vector<int> edgeTags){} void addSurfaceLoop(int tag, std::vector<int> faceTags){} + void addVolume(int tag, std::vector<int> shellTags){} void addSphere(int tag, double xc, double yc, double zc, double radius){}; void addBlock(int tag, double x1, double y1, double z1, double x2, double y2, double z2){} -- GitLab