mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-29 10:50:34 +05:00
PAL15185 ()
use BRep_Tool::Range( E, f, l ) for degenerated edges
This commit is contained in:
parent
708dca577a
commit
0478e1fe5c
@ -830,6 +830,7 @@ bool StdMeshers_Regular_1D::Compute(SMESH_Mesh & aMesh, const TopoDS_Shape & aSh
|
|||||||
else {
|
else {
|
||||||
// Edge is a degenerated Edge : We put n = 5 points on the edge.
|
// Edge is a degenerated Edge : We put n = 5 points on the edge.
|
||||||
const int NbPoints = 5;
|
const int NbPoints = 5;
|
||||||
|
BRep_Tool::Range( E, f, l ); // PAL15185
|
||||||
double du = (l - f) / (NbPoints - 1);
|
double du = (l - f) / (NbPoints - 1);
|
||||||
//MESSAGE("************* Degenerated edge! *****************");
|
//MESSAGE("************* Degenerated edge! *****************");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user