Standard_Real Tol = Precision::PConfusion();
myC1.Load(C1);
myC2.Load(C2);
- Extrema_ExtCC theExtCC(myC1, myC2, Tol,Tol);
- myExtCC = theExtCC;
+ myExtCC.Initialize (myC1, myC2, Tol,Tol);
+ myExtCC.Perform();
myIsDone = myExtCC.IsDone() && ( myExtCC.NbExt() > 0);
if ( myIsDone) {
Standard_Real Tol = Precision::PConfusion();
myC1.Load(C1);
myC2.Load(C2);
- Extrema_ExtCC theExtCC(myC1,myC2,U1min,U1max,U2min,U2max,Tol,Tol);
- myExtCC = theExtCC;
+
+ myExtCC.Initialize (myC1,myC2,U1min,U1max,U2min,U2max,Tol,Tol);
+ myExtCC.Perform();
myIsDone = myExtCC.IsDone() && ( myExtCC.NbExt() > 0 );