1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

Fix for issue #28168

Set-62
This commit is contained in:
nbv
2017-01-19 17:35:14 +03:00
parent 94e8503928
commit 2ee1f18a62

View File

@@ -2197,7 +2197,7 @@ void CalculPtsInterTriEdgeCoplanaires2(const Standard_Integer TriSurfID,
Standard_Real p0p = Per.Dot(PT1);
///The edge are PT1 are projected on the perpendicular of the side in the plane of the triangle
if ( ( (p1p>=p0p)&&(p0p>=p2p) )||( (p1p<=p0p)&&(p0p<=p2p) ) ) {
Standard_Real lambda=(p1p-p0p)/(p1p-p2p);
const Standard_Real lambda= Abs(p1p-p2p) < RealSmall() ? 0.0 : (p1p-p0p)/(p1p-p2p);
if (lambda<-MyConfusionPrecision) {
}