mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-09-04 11:47:53 +08:00
0027175: Intersection algorithm with increased tolerance works incorrect with some shapes
1. Algorithm of coincidence check between Walking and Restriction line has been improved in IntPatch_ImpPrmIntersection. 2. Creation of test case for this issue.
This commit is contained in:
@@ -1572,7 +1572,7 @@ void IntPatch_ImpPrmIntersection::Perform (const Handle(Adaptor3d_HSurface)& Sur
|
||||
// Now slin is filled as follows: lower indices correspond to Restriction line,
|
||||
// after (higher indices) - only Walking-line.
|
||||
|
||||
const Standard_Real aTol3d = Func.Tolerance();
|
||||
const Standard_Real aTol3d = Max(Func.Tolerance(), TolTang);
|
||||
const Handle(Adaptor3d_HSurface)& aQSurf = (reversed) ? Surf2 : Surf1;
|
||||
const Handle(Adaptor3d_HSurface)& anOtherSurf = (reversed) ? Surf1 : Surf2;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user