23 #ifndef _GEOM_IShapesOperations_i_HeaderFile
24 #define _GEOM_IShapesOperations_i_HeaderFile
29 #include <SALOMEconfig.h>
31 #include CORBA_SERVER_HEADER(GEOM_Gen)
38 public virtual POA_GEOM::GEOM_IShapesOperations,
43 GEOM::GEOM_Gen_ptr theEngine,
47 GEOM::GEOM_Object_ptr MakeEdge (GEOM::GEOM_Object_ptr thePnt1,
48 GEOM::GEOM_Object_ptr thePnt2);
50 GEOM::GEOM_Object_ptr MakeEdgeOnCurveByLength (GEOM::GEOM_Object_ptr theCurve,
51 CORBA::Double theLength,
52 GEOM::GEOM_Object_ptr theStartPoint);
54 GEOM::GEOM_Object_ptr MakeEdgeWire (GEOM::GEOM_Object_ptr theWire,
55 const CORBA::Double theLinearTolerance,
56 const CORBA::Double theAngularTolerance);
58 GEOM::GEOM_Object_ptr MakeWire (
const GEOM::ListOfGO& theEdgesAndWires,
59 const CORBA::Double theTolerance);
61 GEOM::GEOM_Object_ptr MakeFace (GEOM::GEOM_Object_ptr theWire,
62 CORBA::Boolean isPlanarWanted);
64 GEOM::GEOM_Object_ptr MakeFaceWires (
const GEOM::ListOfGO& theWires,
65 CORBA::Boolean isPlanarWanted);
67 GEOM::GEOM_Object_ptr MakeFaceFromSurface(GEOM::GEOM_Object_ptr theFace,
68 GEOM::GEOM_Object_ptr theWire);
70 GEOM::GEOM_Object_ptr MakeFaceWithConstraints (
const GEOM::ListOfGO& theConstraints);
72 GEOM::GEOM_Object_ptr MakeShell (
const GEOM::ListOfGO& theFacesAndShells);
74 GEOM::GEOM_Object_ptr MakeSolidShell (GEOM::GEOM_Object_ptr theShell);
76 GEOM::GEOM_Object_ptr MakeSolidShells (
const GEOM::ListOfGO& theShells);
78 GEOM::GEOM_Object_ptr MakeCompound (
const GEOM::ListOfGO& theShapes);
80 GEOM::GEOM_Object_ptr MakeSolidFromConnectedFaces (
const GEOM::ListOfGO& theFacesOrShells,
81 CORBA::Boolean isIntersect);
83 GEOM::GEOM_Object_ptr MakeGlueFaces (
const GEOM::ListOfGO& theShape,
84 CORBA::Double theTolerance,
85 CORBA::Boolean doKeepNonSolids);
88 CORBA::Double theTolerance);
90 GEOM::GEOM_Object_ptr MakeGlueFacesByList (
const GEOM::ListOfGO& theShape,
91 CORBA::Double theTolerance,
93 CORBA::Boolean doKeepNonSolids,
94 CORBA::Boolean doGlueAllEdges);
96 GEOM::GEOM_Object_ptr MakeGlueEdges (
const GEOM::ListOfGO& theShape,
97 CORBA::Double theTolerance);
100 CORBA::Double theTolerance);
102 GEOM::GEOM_Object_ptr MakeGlueEdgesByList (
const GEOM::ListOfGO& theShape,
103 CORBA::Double theTolerance,
106 GEOM::ListOfGO* GetExistingSubObjects (GEOM::GEOM_Object_ptr theShape,
107 CORBA::Boolean theGroupsOnly);
112 CORBA::Long theShapeType,
113 CORBA::Boolean isSorted);
116 CORBA::Long theShapeType,
117 CORBA::Boolean isSorted);
120 CORBA::Long theShapeType,
121 CORBA::Boolean isSorted);
125 CORBA::Long theShapeType,
126 CORBA::Boolean isSorted);
129 CORBA::Long theShapeType,
130 CORBA::Boolean isSorted);
132 GEOM::GEOM_Object_ptr GetSubShape (GEOM::GEOM_Object_ptr theMainShape,
135 GEOM::ListOfGO* MakeSubShapes (GEOM::GEOM_Object_ptr theMainShape,
138 CORBA::Long GetSubShapeIndex (GEOM::GEOM_Object_ptr theMainShape,
139 GEOM::GEOM_Object_ptr theSubShape);
144 CORBA::Long GetTopologyIndex (GEOM::GEOM_Object_ptr theMainShape,
145 GEOM::GEOM_Object_ptr theSubShape);
147 char* GetShapeTypeString (GEOM::GEOM_Object_ptr theShape);
149 CORBA::Boolean IsSubShapeBelongsTo( GEOM::GEOM_Object_ptr theSubobject,
150 const CORBA::Long theSubObjectIndex,
151 GEOM::GEOM_Object_ptr theObject,
152 const CORBA::Long theObjectIndex );
154 CORBA::Long NumberOfFaces (GEOM::GEOM_Object_ptr theShape);
155 CORBA::Long NumberOfEdges (GEOM::GEOM_Object_ptr theShape);
156 CORBA::Long NumberOfSubShapes (GEOM::GEOM_Object_ptr theShape,
157 const CORBA::Long theShapeType);
159 GEOM::GEOM_Object_ptr ChangeOrientation (GEOM::GEOM_Object_ptr theShape);
164 GEOM::GEOM_Object_ptr theShape2,
165 CORBA::Long theShapeType);
168 CORBA::Long theShapeType,
169 CORBA::Boolean theMultiShare);
172 CORBA::Long theShapeType,
173 GEOM::GEOM_Object_ptr theAx1,
176 GEOM::ListOfGO* GetShapesOnPlaneWithLocation(GEOM::GEOM_Object_ptr theShape,
177 CORBA::Long theShapeType,
178 GEOM::GEOM_Object_ptr theAx1,
179 GEOM::GEOM_Object_ptr thePnt,
182 GEOM::ListOfGO* GetShapesOnCylinder (GEOM::GEOM_Object_ptr theShape,
183 CORBA::Long theShapeType,
184 GEOM::GEOM_Object_ptr theAxis,
185 CORBA::Double theRadius,
188 GEOM::ListOfGO* GetShapesOnCylinderWithLocation (GEOM::GEOM_Object_ptr theShape,
189 CORBA::Long theShapeType,
190 GEOM::GEOM_Object_ptr theAxis,
191 GEOM::GEOM_Object_ptr thePnt,
192 CORBA::Double theRadius,
195 GEOM::ListOfGO* GetShapesOnSphere (GEOM::GEOM_Object_ptr theShape,
196 CORBA::Long theShapeType,
197 GEOM::GEOM_Object_ptr theCenter,
198 CORBA::Double theRadius,
201 GEOM::ListOfGO* GetShapesOnQuadrangle (GEOM::GEOM_Object_ptr theShape,
202 CORBA::Long theShapeType,
203 GEOM::GEOM_Object_ptr theTopLeftPoint,
204 GEOM::GEOM_Object_ptr theTopRigthPoint,
205 GEOM::GEOM_Object_ptr theBottomLeftPoint,
206 GEOM::GEOM_Object_ptr theBottomRigthPoint,
210 CORBA::Long theShapeType,
211 GEOM::GEOM_Object_ptr theAx1,
214 GEOM::ListOfLong* GetShapesOnPlaneWithLocationIDs (GEOM::GEOM_Object_ptr theShape,
215 CORBA::Long theShapeType,
216 GEOM::GEOM_Object_ptr theAx1,
217 GEOM::GEOM_Object_ptr thePnt,
221 CORBA::Long theShapeType,
222 GEOM::GEOM_Object_ptr theAxis,
223 CORBA::Double theRadius,
226 GEOM::ListOfLong* GetShapesOnCylinderWithLocationIDs (GEOM::GEOM_Object_ptr theShape,
227 CORBA::Long theShapeType,
228 GEOM::GEOM_Object_ptr theAxis,
229 GEOM::GEOM_Object_ptr thePnt,
230 CORBA::Double theRadius,
234 CORBA::Long theShapeType,
235 GEOM::GEOM_Object_ptr theCenter,
236 CORBA::Double theRadius,
240 CORBA::Long theShapeType,
241 GEOM::GEOM_Object_ptr theTopLeftPoint,
242 GEOM::GEOM_Object_ptr theTopRigthPoint,
243 GEOM::GEOM_Object_ptr theBottomLeftPoint,
244 GEOM::GEOM_Object_ptr theBottomRigthPoint,
248 GEOM::GEOM_Object_ptr theShape,
249 CORBA::Long theShapeType,
253 GEOM::GEOM_Object_ptr theShape,
254 CORBA::Long theShapeType,
257 GEOM::ListOfGO* GetShapesOnShape (GEOM::GEOM_Object_ptr theSheckShape,
258 GEOM::GEOM_Object_ptr theShape,
259 CORBA::Short theShapeType,
262 GEOM::GEOM_Object_ptr GetShapesOnShapeAsCompound
263 (GEOM::GEOM_Object_ptr theSheckShape,
264 GEOM::GEOM_Object_ptr theShape,
265 CORBA::Short theShapeType,
269 GEOM::GEOM_Object_ptr theShape,
270 CORBA::Short theShapeType,
273 GEOM::GEOM_Object_ptr GetInPlace (GEOM::GEOM_Object_ptr theShapeWhere,
274 GEOM::GEOM_Object_ptr theShapeWhat);
276 GEOM::GEOM_Object_ptr GetInPlaceOld (GEOM::GEOM_Object_ptr theShapeWhere,
277 GEOM::GEOM_Object_ptr theShapeWhat);
279 GEOM::GEOM_Object_ptr GetInPlaceByHistory (GEOM::GEOM_Object_ptr theShapeWhere,
280 GEOM::GEOM_Object_ptr theShapeWhat);
282 GEOM::GEOM_Object_ptr GetSame (GEOM::GEOM_Object_ptr theShapeWhere,
283 GEOM::GEOM_Object_ptr theShapeWhat);
286 GEOM::GEOM_Object_ptr theShapeWhat);
288 GEOM::GEOM_Object_ptr ExtendEdge(GEOM::GEOM_Object_ptr theEdge,
289 CORBA::Double theMin,
290 CORBA::Double theMax);
292 GEOM::GEOM_Object_ptr ExtendFace(GEOM::GEOM_Object_ptr theFace,
293 CORBA::Double theUMin,
294 CORBA::Double theUMax,
295 CORBA::Double theVMin,
296 CORBA::Double theVMax);
298 GEOM::GEOM_Object_ptr MakeSurfaceFromFace(GEOM::GEOM_Object_ptr theFace);
300 GEOM::ListOfGO* GetSubShapeEdgeSorted (GEOM::GEOM_Object_ptr theShape,
301 GEOM::GEOM_Object_ptr theStartPoint);
304 (GEOM::GEOM_Object_ptr theShape,
305 CORBA::Short theShapeType,
307 CORBA::Double theTolerance);
309 GEOM::GEOM_Object_ptr MakeExtraction
310 (GEOM::GEOM_Object_ptr theShape,
312 GEOM::GEOM_IShapesOperations::ExtractionStats_out theStats);