From 0478e1fe5c1e068381eef9a484185dfbf899bf8c Mon Sep 17 00:00:00 2001 From: eap Date: Fri, 9 Mar 2007 13:43:59 +0000 Subject: [PATCH] PAL15185 () use BRep_Tool::Range( E, f, l ) for degenerated edges --- src/StdMeshers/StdMeshers_Regular_1D.cxx | 1 + 1 file changed, 1 insertion(+) 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! *****************"); -- 2.39.2