mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0026576: Wrong result obtained by intersection algorithm.
1. Algorithm of Restriction line decomposition has been created. 2. Algorithm of check of coincidences between Walking and Restriction line has been improved in new function IsCoincide(...) (which replaces IsIn2DBox(...)). 3. Some useful methods have been added in IntPatch_PointLine (and inherited) classes. Test cases for this issue have been created.
This commit is contained in:
@@ -40,8 +40,7 @@ static Standard_Boolean IsTangentExtCheck(TheIWFunction& theFunc,
|
||||
const Standard_Real theVinf,
|
||||
const Standard_Real theVsup)
|
||||
{
|
||||
//Factor 2.0 is chosen because we compare distance(s) between TWO faces
|
||||
const Standard_Real aTol = 2.0*Precision::Confusion();
|
||||
const Standard_Real aTol = theFunc.Tolerance();
|
||||
const Standard_Integer aNbItems = 4;
|
||||
const Standard_Real aParU[aNbItems] = { Min(theU + theStepU, theUsup),
|
||||
Max(theU - theStepU, theUinf),
|
||||
|
Reference in New Issue
Block a user