mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0025820: No Intersection Curves between surface of revolution and planes
Thin shapes processing has been improved. Test-cases for issue #25820 Comment has been changed
This commit is contained in:
@@ -120,7 +120,9 @@ static void RecadreMemePeriode(IntSurf_PntOn2S& POn2S,const IntSurf_PntOn2S& Ref
|
||||
}
|
||||
|
||||
static Standard_Boolean CompareVertexAndPoint(const gp_Pnt& V, const gp_Pnt& P, const Standard_Real& Tol) {
|
||||
return (V.Distance(P) <= Tol);
|
||||
const Standard_Real aSQDist = V.SquareDistance(P);
|
||||
const Standard_Real aSQTol = Tol*Tol;
|
||||
return (aSQDist <= aSQTol);
|
||||
}
|
||||
|
||||
void IntPatch_WLine::SetPeriod(const Standard_Real pu1,
|
||||
|
Reference in New Issue
Block a user