23 #ifndef _GEOM_IGroupOperations_i_HeaderFile
24 #define _GEOM_IGroupOperations_i_HeaderFile
28 #include <SALOMEconfig.h>
30 #include CORBA_SERVER_HEADER(GEOM_Gen)
37 public virtual POA_GEOM::GEOM_IGroupOperations,
45 GEOM::GEOM_Object_ptr CreateGroup (GEOM::GEOM_Object_ptr theMainShape, CORBA::Long theShapeType);
47 void AddObject (GEOM::GEOM_Object_ptr theGroup, CORBA::Long theSubShapeId);
49 void RemoveObject (GEOM::GEOM_Object_ptr theGroup, CORBA::Long theSubShapeId);
51 void UnionList (GEOM::GEOM_Object_ptr theGroup,
const GEOM::ListOfGO& theSubShapes);
53 void DifferenceList (GEOM::GEOM_Object_ptr theGroup,
const GEOM::ListOfGO& theSubShapes);
55 void UnionIDs (GEOM::GEOM_Object_ptr theGroup,
const GEOM::ListOfLong& theSubShapes);
57 void DifferenceIDs (GEOM::GEOM_Object_ptr theGroup,
const GEOM::ListOfLong& theSubShapes);
59 GEOM::GEOM_Object_ptr UnionGroups (GEOM::GEOM_Object_ptr theGroup1, GEOM::GEOM_Object_ptr theGroup2);
60 GEOM::GEOM_Object_ptr IntersectGroups (GEOM::GEOM_Object_ptr theGroup1, GEOM::GEOM_Object_ptr theGroup2);
61 GEOM::GEOM_Object_ptr CutGroups (GEOM::GEOM_Object_ptr theGroup1, GEOM::GEOM_Object_ptr theGroup2);
63 GEOM::GEOM_Object_ptr UnionListOfGroups (
const GEOM::ListOfGO& theGList);
64 GEOM::GEOM_Object_ptr IntersectListOfGroups (
const GEOM::ListOfGO& theGList);
67 CORBA::Long GetType (GEOM::GEOM_Object_ptr theGroup);
69 GEOM::GEOM_Object_ptr GetMainShape (GEOM::GEOM_Object_ptr theGroup);