1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-18 14:27:39 +03:00

Compare commits

...

1 Commits

Author SHA1 Message Date
ichesnok
53fc7358f2 0033662: Data Exchange - Move everything exclude Animation to OCCT master
Changed tolerance criterion in gce_MakeCirc::gce_MakeCirc().
Added additional conditional for if () in BRepClass_FaceExplorer::CheckPoint().
2024-04-04 11:15:54 +01:00
2 changed files with 2 additions and 2 deletions

View File

@@ -96,7 +96,7 @@ Standard_Boolean BRepClass_FaceExplorer::CheckPoint(gp_Pnt2d& thePoint)
else
{
Standard_Real anEpsilon = Epsilon(aDistance);
if (anEpsilon > Max (myUMax - myUMin, myVMax - myVMin))
if (anEpsilon > Max (myUMax - myUMin, myVMax - myVMin) && anEpsilon > 1e-100)
{
gp_Vec2d aLinVec(aCenterPnt, thePoint);
gp_Dir2d aLinDir(aLinVec);

View File

@@ -53,7 +53,7 @@ gce_MakeCirc::gce_MakeCirc(const gp_Pnt& P1 ,
//=========================================================================
Standard_Real dist1, dist2, dist3, aResolution;
//
aResolution = gp::Resolution();
aResolution = 1e-12;
//
dist1 = P1.Distance(P2);
dist2 = P1.Distance(P3);