mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0024842: Crash on change of HLR-algo in top and bottom views of customer's shape
Test cases for issues CR24842
This commit is contained in:
@@ -94,7 +94,7 @@ HLRBRep_Curve::Parameter3d (const Standard_Real P2d) const
|
||||
const Standard_Real FmOZ = myOF - myOZ;
|
||||
return P2d * FmOZ * FmOZ / (FmOZ * (myOF * myVX + P2d * myVZ) + myOF * myOX * myVZ);
|
||||
}
|
||||
return P2d / myVX;
|
||||
return ((myVX <= gp::Resolution())? P2d : (P2d / myVX));
|
||||
}
|
||||
|
||||
else if (myType == GeomAbs_Ellipse) {
|
||||
|
Reference in New Issue
Block a user