From f6a8af0ff823d775de91147d85784569bcb35e59 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Fri, 24 Mar 2017 06:38:54 +0100 Subject: [PATCH] fix build w/o occ --- Geo/GModelIO_OCC.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Geo/GModelIO_OCC.h b/Geo/GModelIO_OCC.h index 64252e8129..507bc2a94b 100644 --- a/Geo/GModelIO_OCC.h +++ b/Geo/GModelIO_OCC.h @@ -221,8 +221,6 @@ class OCC_Internals { bool rotate(const std::vector<std::pair<int, int> > &inDimTags, double x, double y, double z, double ax, double ay, double az, double angle); - - // apply gtransformations bool dilate(const std::vector<std::pair<int, int> > &inDimTags, double x, double y, double z, double a, double b, double c); @@ -461,6 +459,12 @@ public: { return _error("apply rotation"); } + bool dilate(const std::vector<std::pair<int, int> > &inDimTags, + double x, double y, double z, + double a, double b, double c) + { + return _error("apply dilatation"); + } bool copy(const std::vector<std::pair<int, int> > &inDimTags, std::vector<std::pair<int, int> > &outDimTags) { -- GitLab