mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +03:00
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().
This commit is contained in:
parent
2956d432e2
commit
53fc7358f2
@ -96,7 +96,7 @@ Standard_Boolean BRepClass_FaceExplorer::CheckPoint(gp_Pnt2d& thePoint)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
Standard_Real anEpsilon = Epsilon(aDistance);
|
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_Vec2d aLinVec(aCenterPnt, thePoint);
|
||||||
gp_Dir2d aLinDir(aLinVec);
|
gp_Dir2d aLinDir(aLinVec);
|
||||||
|
@ -53,7 +53,7 @@ gce_MakeCirc::gce_MakeCirc(const gp_Pnt& P1 ,
|
|||||||
//=========================================================================
|
//=========================================================================
|
||||||
Standard_Real dist1, dist2, dist3, aResolution;
|
Standard_Real dist1, dist2, dist3, aResolution;
|
||||||
//
|
//
|
||||||
aResolution = gp::Resolution();
|
aResolution = 1e-12;
|
||||||
//
|
//
|
||||||
dist1 = P1.Distance(P2);
|
dist1 = P1.Distance(P2);
|
||||||
dist2 = P1.Distance(P3);
|
dist2 = P1.Distance(P3);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user