1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0026532: Meshing of edge with minSize parameter leads to incorrect result

Fix missed parameter.

Test case for issue CR26532
This commit is contained in:
oan
2015-09-17 14:58:40 +03:00
committed by bugmaster
parent 4c71cff8e9
commit 127cc1f0a1
2 changed files with 30 additions and 1 deletions

View File

@@ -244,7 +244,8 @@ void BRepMesh_IncrementalMesh::discretizeFreeEdges()
BRepAdaptor_Curve aCurve(aEdge);
GCPnts_TangentialDeflection aDiscret(aCurve, aCurve.FirstParameter(),
aCurve.LastParameter(), myAngle, aEdgeDeflection, 2, myMinSize);
aCurve.LastParameter(), myAngle, aEdgeDeflection, 2,
Precision::PConfusion(), myMinSize);
Standard_Integer aNodesNb = aDiscret.NbPoints();
TColgp_Array1OfPnt aNodes (1, aNodesNb);