if (((aType1 != GeomAbs_Line) && (aType1 != GeomAbs_Circle)) ||
((aType2 != GeomAbs_Line) && (aType2 != GeomAbs_Circle)))
{
- mySqDist.Append(theSqDist);
+ //mySqDist.Append(theSqDist);
myDone = Standard_True;
myIsParallel = Standard_True;
return;
!isReversed ? theUt21 : theUt11,
!isReversed ? theUt22 : theUt12);
- if (ExtPLin.IsDone())
- {
- mySqDist.Append(theSqDist);
- }
- else
+ if (!ExtPLin.IsDone())
{
myIsParallel = Standard_False;
}
if (myIsParallel) {
PrepareParallelResult(Ut11, Ut12, Ut21, Ut22, AlgExt.SquareDistance());
}
- else {
+
+ if(mypoints.IsEmpty())
+ {
NbExt = AlgExt.NbExt();
for (i = 1; i <= NbExt; i++) {
// Verification de la validite des parametres
{
PrepareParallelResult(Ut11, Ut12, Ut21, Ut22, AlgExt.SquareDistance());
}
- else
+ if(mypoints.IsEmpty())
{
NbExt = AlgExt.NbExt();
for (i = 1; i <= NbExt; i++)