Handling of too big step changed.
Test-case for issue #25841
Small correction in test-case
if (aCurveType == GeomAbs_BSplineCurve)
{
- // TODO: remove this code block when #24959 is fixed
+ // bug24220
const Standard_Integer aNbInt = myCOnS.NbIntervals(GeomAbs_C1);
if ( aNbInt > 0 )
{
}
}
}
-
+
// PTv, chl/922/G9, Take into account internal vertices
// it is necessary for internal edges, which do not split other edges, by their vertex
TopExp_Explorer aVertexIt(theEdge, TopAbs_VERTEX);
else {
if (Coef >= 1.5) {
+ if (!aPrevPoint.IsEqual(points.Last(), Precision::Confusion()))
+ {
+ parameters.Append (U1);
+ points .Append (aPrevPoint);
+ }
U2 = MiddleU;
Du = U2-U1;
CurrentPoint = MiddlePoint;
--- /dev/null
+puts "========"
+puts "OCC25841"
+puts "========"
+puts ""
+#############################
+# Incorrect edge displaying
+#############################
+
+restore [locate_data_file OCC25841_Curve_2.brep] a
+vinit
+vclear
+vfront
+vdisplay a
+vfit
+set only_screen 1