Functions | |
| def | CheckBelongToGeomFilterOld |
| Old style. | |
| def | CheckBelongToGeomFilter |
| Current style. | |
Variables | |
| anElemType = smesh.FACE; | |
| tuple | anIds = CheckBelongToGeomFilter(mesh,box,box,anElemType) |
| def SMESH_BelongToGeom.CheckBelongToGeomFilter | ( | theMesh, | |
| theShape, | |||
| theSubShape, | |||
| theElemType | |||
| ) |
Current style.
Definition at line 47 of file SMESH_BelongToGeom.py.
00048 : 00049 import geompy 00050 import smesh 00051 if theShape != theSubShape: 00052 aName = str(theSubShape) 00053 geompy.addToStudyInFather(theShape,theSubShape,aName) 00054 00055 theMesh.Compute() 00056 aFilter = smesh.GetFilter(theElemType, smesh.FT_BelongToGeom, theSubShape) 00057 return aFilter.GetElementsId(theMesh.GetMesh()) 00058
| def SMESH_BelongToGeom.CheckBelongToGeomFilterOld | ( | theMeshGen, | |
| theMesh, | |||
| theShape, | |||
| theSubShape, | |||
| theElemType | |||
| ) |
Old style.
Definition at line 27 of file SMESH_BelongToGeom.py.
00028 : 00029 import geompy 00030 if theShape != theSubShape: 00031 aName = str(theSubShape) 00032 geompy.addToStudyInFather(theShape,theSubShape,aName) 00033 00034 theMeshGen.Compute(theMesh,theShape) 00035 00036 aFilterMgr = theMeshGen.CreateFilterManager() 00037 aFilter = aFilterMgr.CreateFilter() 00038 00039 aBelongToGeom = aFilterMgr.CreateBelongToGeom() 00040 aBelongToGeom.SetGeom(theSubShape) 00041 aBelongToGeom.SetElementType(theElemType) 00042 00043 aFilter.SetPredicate(aBelongToGeom) 00044 aFilterMgr.UnRegister() 00045 return aFilter.GetElementsId(theMesh)
| SMESH_BelongToGeom.anElemType = smesh.FACE; |
Definition at line 59 of file SMESH_BelongToGeom.py.
Referenced by SMESH_Gen_i.ConcatenateCommon(), SMESH_Mesh_i.CreateDimGroup(), SMESHGUI_PredicateFilter.IsObjValid(), SMESH.Controls.ElemGeomType.IsSatisfy(), SMESHGUI_PredicateFilter.IsValid(), and SMESHGUI_DimGroupDlg.onApply().
| tuple SMESH_BelongToGeom.anIds = CheckBelongToGeomFilter(mesh,box,box,anElemType) |
Definition at line 62 of file SMESH_BelongToGeom.py.
Referenced by SMESH_Group_i.AddFrom(), SMESH_VisualObjDef.buildElemPrs(), SMESHGUI_MergeDlg.ClickOnApply(), SMESHGUI_CreatePolyhedralVolumeDlg.ClickOnApply(), SMESHGUI_AddQuadraticElementDlg.ClickOnApply(), SMESH_Mesh_i.CutListOfGroups(), SMESHGUI_CreatePolyhedralVolumeDlg.displaySimulation(), SMESHGUI_AddQuadraticElementDlg.displaySimulation(), SMESHGUI_AddMeshElementDlg.displaySimulation(), SMESH_MeshEditor_i.DoubleNodeElemGroupNew(), SMESH_MeshEditor_i.DoubleNodeElemGroupsNew(), SMESH_MeshEditor_i.DoubleNodeGroupNew(), SMESH_MeshEditor_i.DoubleNodeGroupsNew(), SMESHGUI_FilterDlg.filterSelectionSource(), SMESHGUI_FilterDlg.filterSource(), SMESH_VisualObjDef.GetEdgeNodes(), SMESH_subMeshObj.GetEntities(), SMESH_GroupObj.GetEntities(), SMESH_Mesh.GetGroupIds(), SMESHGUI_MultiEditDlg.getIds(), SMESH_subMeshObj.GetNbEntities(), SMESH_Mesh_i.IntersectListOfGroups(), SMESHGUI_MultiEditDlg.onAddBtn(), SMESHGUI_MultiEditDlg.onApply(), SMESHGUI_CreatePolyhedralVolumeDlg.onListSelectionChanged(), SMESHGUI_MeshPatternDlg.onSelectionDone(), SMESH_Mesh_i.RemoveGroupWithContents(), SMESH.TPolySimulation.SetPosition(), SMESH.TElementSimulation.SetPosition(), SMESH_MeshEditor.Transform(), and SMESH_Mesh_i.UnionListOfGroups().