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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user