1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

0028776: Extend the field BOPAlgo_Builder::myOrigins so that the shape could have multiple origins

Change the type of the field BOPAlgo_Builder::myOrigins so that the new shape could have multiple origins in case of overlapping.
This commit is contained in:
emv
2017-05-03 15:42:53 +03:00
committed by bugmaster
parent c8425f03ff
commit b18a83d4a7
9 changed files with 100 additions and 30 deletions

View File

@@ -491,7 +491,12 @@
aSx=aSTx.Shape();
aSx.Orientation(anOriF);
aLFIm.Append(aSx);
myOrigins.Bind(aSx, aF);
//
BOPCol_ListOfShape* pLOr = myOrigins.ChangeSeek(aSx);
if (!pLOr) {
pLOr = myOrigins.Bound(aSx, BOPCol_ListOfShape());
}
pLOr->Append(aF);
//
if (bFlagSD) {
myShapesSD.Bind(aFR, aSx);