From: eap Date: Fri, 9 Mar 2007 13:43:59 +0000 (+0000) Subject: PAL15185 () X-Git-Tag: V3_2_6pre2~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0478e1fe5c1e068381eef9a484185dfbf899bf8c;p=modules%2Fsmesh.git PAL15185 () use BRep_Tool::Range( E, f, l ) for degenerated edges --- diff --git a/src/StdMeshers/StdMeshers_Regular_1D.cxx b/src/StdMeshers/StdMeshers_Regular_1D.cxx index 7e1198ca6..2f13e3283 100644 --- a/src/StdMeshers/StdMeshers_Regular_1D.cxx +++ b/src/StdMeshers/StdMeshers_Regular_1D.cxx @@ -830,6 +830,7 @@ bool StdMeshers_Regular_1D::Compute(SMESH_Mesh & aMesh, const TopoDS_Shape & aSh else { // Edge is a degenerated Edge : We put n = 5 points on the edge. const int NbPoints = 5; + BRep_Tool::Range( E, f, l ); // PAL15185 double du = (l - f) / (NbPoints - 1); //MESSAGE("************* Degenerated edge! *****************");