SMESH_Group: interface of group object linked to geometry. More...
import "SMESH_Group.idl";

Public Member Functions | |
| GEOM::GEOM_Object | GetShape () |
| void | SetName (in string name) |
| Sets group name. | |
| string | GetName () |
| Returns group name. | |
| ElementType | GetType () |
| Returns group type (type of elements in the group) | |
| long | Size () |
| Returns the number of elements in the group. | |
| boolean | IsEmpty () |
| Returns true if the group does not contain any elements. | |
| boolean | Contains (in long elem_id) |
| returns true if the group contains an element with ID == <elem_id> | |
| long | GetID (in long elem_index) |
| Returns ID of an element at position <elem_index> | |
| long_array | GetListOfID () |
| Returns a sequence of all element IDs in the group. | |
| void | SetColor (in SALOMEDS::Color theColor) |
| Sets group color. | |
| SALOMEDS::Color | GetColor () |
| Returns group color. | |
| void | SetColorNumber (in long color) |
| Sets group color number (corresponds to the "hue" parameter of the color - must be in range [0, 360]) | |
| long | GetColorNumber () |
| Returns group color number (obsolete - use GetColor instead) (corresponds to the "hue" parameter of the color - must be in range [0, 360]) | |
| long_array | GetIDs () |
| Returns a sequence of all element IDs. | |
| long_array | GetMeshInfo () |
| Returns statistic of mesh elements Result array of number enityties. | |
| array_of_ElementType | GetTypes () |
| Returns types of elements it contains. | |
| SMESH_Mesh | GetMesh () |
| Returns the mesh. | |
SMESH_Group: interface of group object linked to geometry.
Definition at line 144 of file SMESH_Group.idl.
| boolean SMESH.SMESH_GroupBase.Contains | ( | in long | elem_id | ) | [inherited] |
returns true if the group contains an element with ID == <elem_id>
| SALOMEDS::Color SMESH.SMESH_GroupBase.GetColor | ( | ) | [inherited] |
Returns group color.
| long SMESH.SMESH_GroupBase.GetColorNumber | ( | ) | [inherited] |
Returns group color number (obsolete - use GetColor instead) (corresponds to the "hue" parameter of the color - must be in range [0, 360])
| long SMESH.SMESH_GroupBase.GetID | ( | in long | elem_index | ) | [inherited] |
Returns ID of an element at position <elem_index>
| long_array SMESH.SMESH_IDSource.GetIDs | ( | ) | [inherited] |
Returns a sequence of all element IDs.
| long_array SMESH.SMESH_GroupBase.GetListOfID | ( | ) | [inherited] |
Returns a sequence of all element IDs in the group.
| SMESH_Mesh SMESH.SMESH_IDSource.GetMesh | ( | ) | [inherited] |
Returns the mesh.
| long_array SMESH.SMESH_IDSource.GetMeshInfo | ( | ) | [inherited] |
Returns statistic of mesh elements Result array of number enityties.
| string SMESH.SMESH_GroupBase.GetName | ( | ) | [inherited] |
Returns group name.
Referenced by SMESH.SMESH_Mesh.HasDuplicatedGroupNamesMED().
| GEOM::GEOM_Object SMESH.SMESH_GroupOnGeom.GetShape | ( | ) |
| ElementType SMESH.SMESH_GroupBase.GetType | ( | ) | [inherited] |
Returns group type (type of elements in the group)
Referenced by SMESH.SMESH_Mesh.HasDuplicatedGroupNamesMED().
| array_of_ElementType SMESH.SMESH_IDSource.GetTypes | ( | ) | [inherited] |
Returns types of elements it contains.
It's empty if the SMESH_IDSource contains no IDs
| bool SMESH_subMesh::IsEmpty | ( | ) | [inherited] |
Returns true if the group does not contain any elements.
Return true if no mesh entities is bound to the submesh.
Definition at line 198 of file SMESH_subMesh.cxx.
{
if (SMESHDS_SubMesh * subMeshDS = ((SMESH_subMesh*)this)->GetSubMeshDS())
return (!subMeshDS->NbElements() && !subMeshDS->NbNodes());
return true;
}
| void SMESH.SMESH_GroupBase.SetColor | ( | in SALOMEDS::Color | theColor | ) | [inherited] |
Sets group color.
| void SMESH.SMESH_GroupBase.SetColorNumber | ( | in long | color | ) | [inherited] |
Sets group color number (corresponds to the "hue" parameter of the color - must be in range [0, 360])
| void SMESH.SMESH_GroupBase.SetName | ( | in string | name | ) | [inherited] |
Sets group name.
| long SMESH.SMESH_GroupBase.Size | ( | ) | [inherited] |
Returns the number of elements in the group.