From 0db713c22cde08b5e0b05a0a637a009bc09d50bb Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Mon, 5 Mar 2007 09:10:54 +0000 Subject: [PATCH] don't try to interpolate a BoundaryLayerCurve! --- Geo/GEdge.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Geo/GEdge.cpp b/Geo/GEdge.cpp index 074c811e4d..9669bf6e36 100644 --- a/Geo/GEdge.cpp +++ b/Geo/GEdge.cpp @@ -1,4 +1,4 @@ -// $Id: GEdge.cpp,v 1.22 2006-12-16 14:37:19 geuzaine Exp $ +// $Id: GEdge.cpp,v 1.23 2007-03-05 09:10:54 geuzaine Exp $ // // Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle // @@ -69,7 +69,7 @@ SBoundingBox3d GEdge::bounds() const { Range<double> tr = parBounds(0); SBoundingBox3d bbox; - if(geomType() != DiscreteCurve){ + if(geomType() != DiscreteCurve && geomType() != BoundaryLayerCurve){ const int N = 10; for(int i = 0; i < N; i++){ double t = tr.low() + (double)i/(double)(N - 1) * (tr.high() - tr.low()); -- GitLab