NodesGroup.union
- NodesGroup.union(other)[source]
Create a new group containing all members from this group and another group.
- Parameters:
- otherG
Another group whose members should be combined with this group. Must be of the same group type.
- Returns:
- G
A new group containing all members from both groups.