const TopOpeBRep_Point2d P2D = myPEI->Point();
Standard_Real par1 = P2D.Parameter(1);
Standard_Real par2 = P2D.Parameter(2);
- Standard_Integer if1 = 0; if ( ! myF1.IsNull() ) if1 = myPDS->AddShape(myF1,1);
- Standard_Integer if2 = 0; if ( ! myF2.IsNull() ) if2 = myPDS->AddShape(myF2,2);
+ if ( ! myF1.IsNull() ) myPDS->AddShape(myF1,1);
+ if ( ! myF2.IsNull() ) myPDS->AddShape(myF2,2);
#ifdef DEB
Standard_Boolean pointofsegment = P2D.IsPointOfSegment();