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

don't try to interpolate a BoundaryLayerCurve!
parent 49d25b8b
No related branches found
No related tags found
No related merge requests found
// $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());
......
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