mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-19 13:40:49 +03:00
0029972: Intersection curve has a weird gap in the middle of it
1. The condition of WLine breaking (in IntWalk_IWalking algorithm) has become more independent of the input tolerance. 2. Currently the algorithm of IntPatch_Points of WLine processing depends on the algorithm of obtaining the WLine. 3. The methods IntSurf_LineOn2S::Add(...) and IntSurf_LineOn2S::SetUV(...) have become not inline (see the message ~0077431 in the issue #29866).
This commit is contained in:
@@ -1363,6 +1363,7 @@ Standard_Boolean IntTools_WLineTool::
|
||||
if(aLineOn2S->NbPoints() > 1) {
|
||||
Handle(IntPatch_WLine) aNewWLine =
|
||||
new IntPatch_WLine(aLineOn2S, Standard_False);
|
||||
aNewWLine->SetCreatingWayInfo(theWLine->GetCreatingWay());
|
||||
theNewLines.Append(aNewWLine);
|
||||
}
|
||||
aLineOn2S = new IntSurf_LineOn2S();
|
||||
@@ -1420,6 +1421,7 @@ Standard_Boolean IntTools_WLineTool::
|
||||
if(aLineOn2S->NbPoints() > 1) {
|
||||
Handle(IntPatch_WLine) aNewWLine =
|
||||
new IntPatch_WLine(aLineOn2S, Standard_False);
|
||||
aNewWLine->SetCreatingWayInfo(theWLine->GetCreatingWay());
|
||||
theNewLines.Append(aNewWLine);
|
||||
}
|
||||
aLineOn2S = new IntSurf_LineOn2S();
|
||||
@@ -1451,6 +1453,7 @@ Standard_Boolean IntTools_WLineTool::
|
||||
if(aLineOn2S->NbPoints() > 1) {
|
||||
Handle(IntPatch_WLine) aNewWLine =
|
||||
new IntPatch_WLine(aLineOn2S, Standard_False);
|
||||
aNewWLine->SetCreatingWayInfo(theWLine->GetCreatingWay());
|
||||
theNewLines.Append(aNewWLine);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user