mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-05-16 10:54:53 +03:00
0022940: Selection performance: TopAbs_SHELL
This commit is contained in:
parent
87893dfde3
commit
7339789994
@ -219,24 +219,6 @@ void StdSelect_BRepSelectionTool
|
||||
break;
|
||||
}
|
||||
case TopAbs_SHELL:
|
||||
{
|
||||
Handle(Select3D_SensitiveGroup) aSensitiveGroup = new Select3D_SensitiveGroup (theOwner);
|
||||
Select3D_ListOfSensitive aSensitiveList;
|
||||
TopTools_IndexedMapOfShape aSubfacesMap;
|
||||
TopExp::MapShapes (theShape, TopAbs_FACE, aSubfacesMap);
|
||||
for (Standard_Integer aShIndex = 1; aShIndex <= aSubfacesMap.Extent(); ++aShIndex)
|
||||
{
|
||||
GetSensitiveForFace (TopoDS::Face (aSubfacesMap (aShIndex)), theOwner,
|
||||
aSensitiveList,
|
||||
isAutoTriangulation, theNbPOnEdge, theMaxParam);
|
||||
}
|
||||
if (!aSensitiveList.IsEmpty())
|
||||
{
|
||||
aSensitiveGroup->Add (aSensitiveList);
|
||||
theSelection->Add (aSensitiveGroup);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case TopAbs_SOLID:
|
||||
case TopAbs_COMPSOLID:
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user