mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +03:00
0023338: The 'then' statement is equivalent to the 'else' statement. IGEStoBRep_TopoSurface.cxx
This commit is contained in:
parent
7416e83cf6
commit
45c0ba3664
@ -1521,12 +1521,8 @@ TopoDS_Shape IGESToBRep_TopoSurface::TransferPlaneParts(const Handle(IGESGeom_Pl
|
||||
gp_Trsf trans;
|
||||
if (crv->IsKind(STANDARD_TYPE(IGESGeom_CurveOnSurface))) {
|
||||
DeclareAndCast(IGESGeom_CurveOnSurface, crv142, crv);
|
||||
if(st->HasBoundingCurveHole()) {
|
||||
TopoDS_Shape myshape = TC.TransferCurveOnFace (plane, crv142, trans, TheULength, Standard_False);
|
||||
}
|
||||
else {
|
||||
TopoDS_Shape myshape = TC.TransferCurveOnFace (plane, crv142, trans, TheULength, Standard_False);
|
||||
}
|
||||
TopoDS_Shape myshape = TC.TransferCurveOnFace (plane, crv142, trans, TheULength, Standard_False);
|
||||
|
||||
//:3 by ABV 5 Nov 97: set plane to be finite
|
||||
if ( first ) {
|
||||
TopExp_Explorer ws ( plane, TopAbs_WIRE );
|
||||
|
Loading…
x
Reference in New Issue
Block a user