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,
62 GEOM::GEOM_Object_ptr MakeFace (GEOM::GEOM_Object_ptr theWire,
63 CORBA::Boolean isPlanarWanted);
65 GEOM::GEOM_Object_ptr MakeFaceWires (
const GEOM::ListOfGO& theWires,
66 CORBA::Boolean isPlanarWanted);
68 GEOM::GEOM_Object_ptr MakeFaceFromSurface(GEOM::GEOM_Object_ptr theFace,
69 GEOM::GEOM_Object_ptr theWire);
71 GEOM::GEOM_Object_ptr MakeWrappedFace(
const GEOM::ListOfGO& theEdges,
73 const CORBA::Double theTolerance);
75 GEOM::GEOM_Object_ptr MakeFaceWithConstraints (
const GEOM::ListOfGO& theConstraints);
77 GEOM::GEOM_Object_ptr MakeShell (
const GEOM::ListOfGO& theFacesAndShells);
79 GEOM::GEOM_Object_ptr MakeSolidShell (GEOM::GEOM_Object_ptr theShell);
81 GEOM::GEOM_Object_ptr MakeSolidShells (
const GEOM::ListOfGO& theShells);
83 GEOM::GEOM_Object_ptr MakeCompound (
const GEOM::ListOfGO& theShapes);
85 GEOM::GEOM_Object_ptr MakeSolidFromConnectedFaces (
const GEOM::ListOfGO& theFacesOrShells,
86 CORBA::Boolean isIntersect);
88 GEOM::GEOM_Object_ptr MakeGlueFaces (
const GEOM::ListOfGO& theShape,
89 CORBA::Double theTolerance,
90 CORBA::Boolean doKeepNonSolids);
93 CORBA::Double theTolerance);
95 GEOM::GEOM_Object_ptr MakeGlueFacesByList (
const GEOM::ListOfGO& theShape,
96 CORBA::Double theTolerance,
98 CORBA::Boolean doKeepNonSolids,
99 CORBA::Boolean doGlueAllEdges);
101 GEOM::GEOM_Object_ptr MakeGlueEdges (
const GEOM::ListOfGO& theShape,
102 CORBA::Double theTolerance);
105 CORBA::Double theTolerance);
107 GEOM::GEOM_Object_ptr MakeGlueEdgesByList (
const GEOM::ListOfGO& theShape,
108 CORBA::Double theTolerance,
111 GEOM::ListOfGO* GetExistingSubObjects (GEOM::GEOM_Object_ptr theShape,
112 CORBA::Boolean theGroupsOnly);
117 CORBA::Long theShapeType,
118 CORBA::Boolean isSorted);
121 CORBA::Long theShapeType,
122 CORBA::Boolean isSorted);
125 CORBA::Long theShapeType,
126 CORBA::Boolean isSorted);
130 CORBA::Long theShapeType,
131 CORBA::Boolean isSorted);
134 CORBA::Long theShapeType,
135 CORBA::Boolean isSorted);
137 GEOM::GEOM_Object_ptr GetSubShape (GEOM::GEOM_Object_ptr theMainShape,
140 GEOM::ListOfGO* MakeSubShapes (GEOM::GEOM_Object_ptr theMainShape,
143 CORBA::Long GetSubShapeIndex (GEOM::GEOM_Object_ptr theMainShape,
144 GEOM::GEOM_Object_ptr theSubShape);
149 CORBA::Long GetTopologyIndex (GEOM::GEOM_Object_ptr theMainShape,
150 GEOM::GEOM_Object_ptr theSubShape);
152 char* GetShapeTypeString (GEOM::GEOM_Object_ptr theShape);
154 CORBA::Boolean IsSubShapeBelongsTo( GEOM::GEOM_Object_ptr theSubobject,
155 const CORBA::Long theSubObjectIndex,
156 GEOM::GEOM_Object_ptr theObject,
157 const CORBA::Long theObjectIndex );
159 CORBA::Long NumberOfFaces (GEOM::GEOM_Object_ptr theShape);
160 CORBA::Long NumberOfEdges (GEOM::GEOM_Object_ptr theShape);
161 CORBA::Long NumberOfSubShapes (GEOM::GEOM_Object_ptr theShape,
162 const CORBA::Long theShapeType);
164 GEOM::GEOM_Object_ptr ChangeOrientation (GEOM::GEOM_Object_ptr theShape);
169 GEOM::GEOM_Object_ptr theShape2,
170 CORBA::Long theShapeType);
173 CORBA::Long theShapeType,
174 CORBA::Boolean theMultiShare);
177 CORBA::Long theShapeType,
178 GEOM::GEOM_Object_ptr theAx1,
181 GEOM::ListOfGO* GetShapesOnPlaneWithLocation(GEOM::GEOM_Object_ptr theShape,
182 CORBA::Long theShapeType,
183 GEOM::GEOM_Object_ptr theAx1,
184 GEOM::GEOM_Object_ptr thePnt,
187 GEOM::ListOfGO* GetShapesOnCylinder (GEOM::GEOM_Object_ptr theShape,
188 CORBA::Long theShapeType,
189 GEOM::GEOM_Object_ptr theAxis,
190 CORBA::Double theRadius,
193 GEOM::ListOfGO* GetShapesOnCylinderWithLocation (GEOM::GEOM_Object_ptr theShape,
194 CORBA::Long theShapeType,
195 GEOM::GEOM_Object_ptr theAxis,
196 GEOM::GEOM_Object_ptr thePnt,
197 CORBA::Double theRadius,
200 GEOM::ListOfGO* GetShapesOnSphere (GEOM::GEOM_Object_ptr theShape,
201 CORBA::Long theShapeType,
202 GEOM::GEOM_Object_ptr theCenter,
203 CORBA::Double theRadius,
206 GEOM::ListOfGO* GetShapesOnQuadrangle (GEOM::GEOM_Object_ptr theShape,
207 CORBA::Long theShapeType,
208 GEOM::GEOM_Object_ptr theTopLeftPoint,
209 GEOM::GEOM_Object_ptr theTopRightPoint,
210 GEOM::GEOM_Object_ptr theBottomLeftPoint,
211 GEOM::GEOM_Object_ptr theBottomRightPoint,
215 CORBA::Long theShapeType,
216 GEOM::GEOM_Object_ptr theAx1,
219 GEOM::ListOfLong* GetShapesOnPlaneWithLocationIDs (GEOM::GEOM_Object_ptr theShape,
220 CORBA::Long theShapeType,
221 GEOM::GEOM_Object_ptr theAx1,
222 GEOM::GEOM_Object_ptr thePnt,
226 CORBA::Long theShapeType,
227 GEOM::GEOM_Object_ptr theAxis,
228 CORBA::Double theRadius,
231 GEOM::ListOfLong* GetShapesOnCylinderWithLocationIDs (GEOM::GEOM_Object_ptr theShape,
232 CORBA::Long theShapeType,
233 GEOM::GEOM_Object_ptr theAxis,
234 GEOM::GEOM_Object_ptr thePnt,
235 CORBA::Double theRadius,
239 CORBA::Long theShapeType,
240 GEOM::GEOM_Object_ptr theCenter,
241 CORBA::Double theRadius,
245 CORBA::Long theShapeType,
246 GEOM::GEOM_Object_ptr theTopLeftPoint,
247 GEOM::GEOM_Object_ptr theTopRightPoint,
248 GEOM::GEOM_Object_ptr theBottomLeftPoint,
249 GEOM::GEOM_Object_ptr theBottomRightPoint,
253 GEOM::GEOM_Object_ptr theShape,
254 CORBA::Long theShapeType,
258 GEOM::GEOM_Object_ptr theShape,
259 CORBA::Long theShapeType,
262 GEOM::ListOfGO* GetShapesOnShape (GEOM::GEOM_Object_ptr theSheckShape,
263 GEOM::GEOM_Object_ptr theShape,
264 CORBA::Short theShapeType,
267 GEOM::GEOM_Object_ptr GetShapesOnShapeAsCompound
268 (GEOM::GEOM_Object_ptr theSheckShape,
269 GEOM::GEOM_Object_ptr theShape,
270 CORBA::Short theShapeType,
274 GEOM::GEOM_Object_ptr theShape,
275 CORBA::Short theShapeType,
278 GEOM::GEOM_Object_ptr GetInPlace (GEOM::GEOM_Object_ptr theShapeWhere,
279 GEOM::GEOM_Object_ptr theShapeWhat);
281 GEOM::GEOM_Object_ptr GetInPlaceOld (GEOM::GEOM_Object_ptr theShapeWhere,
282 GEOM::GEOM_Object_ptr theShapeWhat);
284 GEOM::GEOM_Object_ptr GetInPlaceByHistory (GEOM::GEOM_Object_ptr theShapeWhere,
285 GEOM::GEOM_Object_ptr theShapeWhat);
288 GEOM::GEOM_Object_ptr theShapeWhat);
290 GEOM::GEOM_Object_ptr GetSame (GEOM::GEOM_Object_ptr theShapeWhere,
291 GEOM::GEOM_Object_ptr theShapeWhat);
294 GEOM::GEOM_Object_ptr theShapeWhat);
296 GEOM::GEOM_Object_ptr ExtendEdge(GEOM::GEOM_Object_ptr theEdge,
297 CORBA::Double theMin,
298 CORBA::Double theMax);
300 GEOM::GEOM_Object_ptr ExtendFace(GEOM::GEOM_Object_ptr theFace,
301 CORBA::Double theUMin,
302 CORBA::Double theUMax,
303 CORBA::Double theVMin,
304 CORBA::Double theVMax);
306 GEOM::GEOM_Object_ptr MakeSurfaceFromFace(GEOM::GEOM_Object_ptr theFace);
308 GEOM::ListOfGO* GetSubShapeEdgeSorted (GEOM::GEOM_Object_ptr theShape,
309 GEOM::GEOM_Object_ptr theStartPoint);
312 (GEOM::GEOM_Object_ptr theShape,
313 CORBA::Short theShapeType,
315 CORBA::Double theTolerance);
317 GEOM::GEOM_Object_ptr MakeExtraction
318 (GEOM::GEOM_Object_ptr theShape,
320 GEOM::GEOM_IShapesOperations::ExtractionStats_out theStats);
static const TopTools_IndexedMapOfShape & theIndices
Definition: GEOMImpl_ShapeDriver.cxx:127
#define GEOM_I_EXPORT
Definition: GEOM_GEOM_I.hxx:33
Definition: GEOMImpl_IShapesOperations.hxx:58
Definition: GEOM_IOperations_i.hh:37
::GEOM_IOperations * GetImpl()
Definition: GEOM_IOperations_i.hh:60
Definition: GEOM_IShapesOperations_i.hh:40
::GEOMImpl_IShapesOperations * GetOperations()
Definition: GEOM_IShapesOperations_i.hh:322
comparison_condition
This enumeration represents comparison conditions.
Definition: GEOM_Gen.idl:216
sequence< GEOM_Object > ListOfGO
Definition: GEOM_Gen.idl:290
shape_state
State of shape relatively geometrical surface like plane, sphere or cylinder.
Definition: GEOM_Gen.idl:82
wire_build_mode
Wire construction mode. Regulates the way gaps are closed.
Definition: GEOM_Gen.idl:229
sequence< ListOfLong > ListOfListOfLong
Definition: GEOM_Gen.idl:282
sequence< long > ListOfLong
Definition: GEOM_Gen.idl:279