1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00

0023296: Not verifying method return flag

Checking the returned flag. If the method fails return.
This commit is contained in:
Pawel 2012-07-17 11:37:28 +02:00 committed by Pawel Kowalski
parent 72d873ef3a
commit 8fb480b35a

View File

@ -510,6 +510,9 @@ Standard_Boolean BOPTools_Tools3D::DoSplitSEAMOnFace(const TopoDS_Edge& theSplit
gp_Dir aDT1(aV1);
//
aFlag=aContext->ProjectPointOnEdge(aP, aEF2, aT2);
if(!aFlag) {
return Standard_False;
}
//
aFlag=BOPTools_Tools2D::EdgeTangent(aEF2, aT2, aV2);
if(!aFlag) {