1 // Copyright (C) 2007-2014 CEA/DEN, EDF R&D, OPEN CASCADE
3 // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
6 // This library is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU Lesser General Public
8 // License as published by the Free Software Foundation; either
9 // version 2.1 of the License, or (at your option) any later version.
11 // This library is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 // Lesser General Public License for more details.
16 // You should have received a copy of the GNU Lesser General Public
17 // License along with this library; if not, write to the Free Software
18 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
23 //=============================================================================
24 // File : GEOMImpl_IShapesOperations.hxx
26 // Author : modified by Lioka RAZAFINDRAZAKA (CEA) 22/06/2007
28 //=============================================================================
30 #ifndef _GEOMImpl_IShapesOperations_HXX_
31 #define _GEOMImpl_IShapesOperations_HXX_
33 #include "GEOM_IOperations.hxx"
35 #include "GEOMAlgo_State.hxx"
37 #include <TColStd_HSequenceOfTransient.hxx>
38 #include <TColStd_HSequenceOfInteger.hxx>
40 #include <Geom_Surface.hxx>
45 class Handle(GEOM_Object);
46 class Handle(TColStd_HArray1OfInteger);
49 class GEOMImpl_IShapesOperations : public GEOM_IOperations
58 All = Groups | Fields | SubShapes,
61 Standard_EXPORT GEOMImpl_IShapesOperations(GEOM_Engine* theEngine, int theDocID);
62 Standard_EXPORT ~GEOMImpl_IShapesOperations();
64 Standard_EXPORT Handle(GEOM_Object) MakeEdge (Handle(GEOM_Object) thePoint1,
65 Handle(GEOM_Object) thePoint2);
67 Standard_EXPORT Handle(GEOM_Object) MakeEdgeOnCurveByLength (Handle(GEOM_Object) theCurve,
68 const Standard_Real theLength,
69 Handle(GEOM_Object) theStartPoint);
71 Standard_EXPORT Handle(GEOM_Object) MakeEdgeWire (Handle(GEOM_Object) theWire,
72 const Standard_Real theLinearTolerance,
73 const Standard_Real theAngularTolerance);
75 Standard_EXPORT Handle(GEOM_Object) MakeWire (std::list<Handle(GEOM_Object)> theEdgesAndWires,
76 const Standard_Real theTolerance);
78 Standard_EXPORT Handle(GEOM_Object) MakeFace (Handle(GEOM_Object) theWire, const bool isPlanarWanted);
80 Standard_EXPORT Handle(GEOM_Object) MakeFaceWires (std::list<Handle(GEOM_Object)> theWires,
81 const bool isPlanarWanted);
83 Standard_EXPORT Handle(GEOM_Object) MakeFaceFromSurface
84 (Handle(GEOM_Object) theFace,
85 Handle(GEOM_Object) theWire);
87 Standard_EXPORT Handle(GEOM_Object) MakeFaceWithConstraints (std::list<Handle(GEOM_Object)> theConstraints);
89 Standard_EXPORT Handle(GEOM_Object) MakeShell (std::list<Handle(GEOM_Object)> theShapes);
91 Standard_EXPORT Handle(GEOM_Object) MakeSolidShells (std::list<Handle(GEOM_Object)> theShells);
93 Standard_EXPORT Handle(GEOM_Object) MakeCompound (std::list<Handle(GEOM_Object)> theShapes);
95 Standard_EXPORT Handle(GEOM_Object) MakeSolidFromConnectedFaces (std::list<Handle(GEOM_Object)> theFacesOrShells,
96 const Standard_Boolean isIntersect);
98 Standard_EXPORT Handle(GEOM_Object) MakeGlueFaces (std::list< Handle(GEOM_Object) >& theShapes,
99 const Standard_Real theTolerance,
100 const Standard_Boolean doKeepNonSolids);
102 Standard_EXPORT Handle(GEOM_Object) MakeGlueFacesByList (std::list< Handle(GEOM_Object) >& theShapes,
103 const Standard_Real theTolerance,
104 std::list<Handle(GEOM_Object)>& theFaces,
105 const Standard_Boolean doKeepNonSolids,
106 const Standard_Boolean doGlueAllEdges);
108 Standard_EXPORT Handle(GEOM_Object) MakeGlueEdges (std::list< Handle(GEOM_Object) >& theShapes,
109 const Standard_Real theTolerance);
111 Standard_EXPORT Handle(TColStd_HSequenceOfTransient) GetGlueShapes (std::list< Handle(GEOM_Object) >& theShapes,
112 const Standard_Real theTolerance,
113 const TopAbs_ShapeEnum theType);
115 Standard_EXPORT Handle(GEOM_Object) MakeGlueEdgesByList (std::list< Handle(GEOM_Object) >& theShapes,
116 const Standard_Real theTolerance,
117 std::list<Handle(GEOM_Object)> & theEdges);
119 Standard_EXPORT Handle(TColStd_HSequenceOfTransient) GetExistingSubObjects(Handle(GEOM_Object) theShape,
120 const Standard_Boolean theGroupsOnly);
121 Standard_EXPORT Handle(TColStd_HSequenceOfTransient) GetExistingSubObjects(Handle(GEOM_Object) theShape,
122 const Standard_Integer theTypes = All);
125 EXPLODE_OLD_INCLUDE_MAIN,
126 EXPLODE_NEW_INCLUDE_MAIN,
127 EXPLODE_NEW_EXCLUDE_MAIN
130 Standard_EXPORT Handle(TColStd_HSequenceOfTransient) MakeExplode
131 (Handle(GEOM_Object) theShape,
132 const Standard_Integer theShapeType,
133 const Standard_Boolean isSorted,
134 const ExplodeType theExplodeType = EXPLODE_NEW_INCLUDE_MAIN);
136 Standard_EXPORT Handle(TColStd_HSequenceOfInteger) SubShapeAllIDs
137 (Handle(GEOM_Object) theShape,
138 const Standard_Integer theShapeType,
139 const Standard_Boolean isSorted,
140 const ExplodeType theExplodeType = EXPLODE_NEW_INCLUDE_MAIN);
142 Standard_EXPORT Handle(GEOM_Object) GetSubShape (Handle(GEOM_Object) theMainShape,
143 const Standard_Integer theID);
145 Standard_EXPORT Handle(TColStd_HSequenceOfTransient) MakeSubShapes
146 (Handle(GEOM_Object) theMainShape,
147 Handle(TColStd_HArray1OfInteger) theIndices);
149 Standard_EXPORT Standard_Integer GetSubShapeIndex (Handle(GEOM_Object) theMainShape,
150 Handle(GEOM_Object) theSubShape);
152 Standard_EXPORT Handle(TColStd_HSequenceOfInteger) GetSubShapesIndices (Handle(GEOM_Object) theMainShape,
153 std::list<Handle(GEOM_Object)> theSubShapes);
155 Standard_EXPORT Standard_Integer GetTopologyIndex (Handle(GEOM_Object) theMainShape,
156 Handle(GEOM_Object) theSubShape);
158 Standard_EXPORT TCollection_AsciiString GetShapeTypeString (Handle(GEOM_Object) theShape);
160 Standard_EXPORT Standard_Boolean IsSubShapeBelongsTo(Handle(GEOM_Object) theSubObject,
161 const Standard_Integer theSubObjectIndex,
162 Handle(GEOM_Object) theObject,
163 const Standard_Integer theObjectIndex);
165 Standard_EXPORT Standard_Integer NumberOfSubShapes (Handle(GEOM_Object) theShape,
166 const Standard_Integer theShapeType);
168 Standard_EXPORT Handle(GEOM_Object) ReverseShape(Handle(GEOM_Object) theShapes);
170 Standard_EXPORT Handle(TColStd_HSequenceOfInteger) GetFreeFacesIDs (Handle(GEOM_Object) theShape);
172 Standard_EXPORT Handle(TColStd_HSequenceOfTransient)
173 GetSharedShapes (Handle(GEOM_Object) theShape1,
174 Handle(GEOM_Object) theShape2,
175 const Standard_Integer theShapeType);
177 Standard_EXPORT Handle(TColStd_HSequenceOfTransient)
178 GetSharedShapes (std::list<Handle(GEOM_Object)>& theShapes,
179 const Standard_Integer theShapeType);
181 Standard_EXPORT Handle(TColStd_HSequenceOfTransient)
182 GetShapesOnPlane (const Handle(GEOM_Object)& theShape,
183 const Standard_Integer theShapeType,
184 const Handle(GEOM_Object)& theAx1,
185 const GEOMAlgo_State theState);
187 Standard_EXPORT Handle(TColStd_HSequenceOfTransient)
188 GetShapesOnPlaneWithLocation (const Handle(GEOM_Object)& theShape,
189 const Standard_Integer theShapeType,
190 const Handle(GEOM_Object)& theAx1,
191 const Handle(GEOM_Object)& thePnt,
192 const GEOMAlgo_State theState);
195 Standard_EXPORT Handle(TColStd_HSequenceOfTransient)
196 GetShapesOnCylinder (const Handle(GEOM_Object)& theShape,
197 const Standard_Integer theShapeType,
198 const Handle(GEOM_Object)& theAxis,
199 const Standard_Real theRadius,
200 const GEOMAlgo_State theState);
202 Standard_EXPORT Handle(TColStd_HSequenceOfTransient)
203 GetShapesOnCylinderWithLocation (const Handle(GEOM_Object)& theShape,
204 const Standard_Integer theShapeType,
205 const Handle(GEOM_Object)& theAxis,
206 const Handle(GEOM_Object)& thePnt,
207 const Standard_Real theRadius,
208 const GEOMAlgo_State theState);
210 Standard_EXPORT Handle(TColStd_HSequenceOfTransient)
211 GetShapesOnSphere (const Handle(GEOM_Object)& theShape,
212 const Standard_Integer theShapeType,
213 const Handle(GEOM_Object)& theCenter,
214 const Standard_Real theRadius,
215 const GEOMAlgo_State theState);
217 Standard_EXPORT Handle(TColStd_HSequenceOfInteger)
218 GetShapesOnPlaneIDs (const Handle(GEOM_Object)& theShape,
219 const Standard_Integer theShapeType,
220 const Handle(GEOM_Object)& theAx1,
221 const GEOMAlgo_State theState);
223 Standard_EXPORT Handle(TColStd_HSequenceOfInteger)
224 GetShapesOnPlaneWithLocationIDs (const Handle(GEOM_Object)& theShape,
225 const Standard_Integer theShapeType,
226 const Handle(GEOM_Object)& theAx1,
227 const Handle(GEOM_Object)& thePnt,
228 const GEOMAlgo_State theState);
230 Standard_EXPORT Handle(TColStd_HSequenceOfInteger)
231 GetShapesOnCylinderIDs (const Handle(GEOM_Object)& theShape,
232 const Standard_Integer theShapeType,
233 const Handle(GEOM_Object)& theAxis,
234 const Standard_Real theRadius,
235 const GEOMAlgo_State theState);
237 Standard_EXPORT Handle(TColStd_HSequenceOfInteger)
238 GetShapesOnCylinderWithLocationIDs (const Handle(GEOM_Object)& theShape,
239 const Standard_Integer theShapeType,
240 const Handle(GEOM_Object)& theAxis,
241 const Handle(GEOM_Object)& thePnt,
242 const Standard_Real theRadius,
243 const GEOMAlgo_State theState);
245 Standard_EXPORT Handle(TColStd_HSequenceOfInteger)
246 GetShapesOnSphereIDs (const Handle(GEOM_Object)& theShape,
247 const Standard_Integer theShapeType,
248 const Handle(GEOM_Object)& theCenter,
249 const Standard_Real theRadius,
250 const GEOMAlgo_State theState);
253 * \brief Find sub-shapes complying with given status about quadrangle
254 * \param theShape - the shape to explore
255 * \param theShapeType - type of sub-shape of theShape
256 * \param theTopLeftPoint - top left quadrangle corner
257 * \param theTopRigthPoint - top right quadrangle corner
258 * \param theBottomLeftPoint - bottom left quadrangle corner
259 * \param theBottomRigthPoint - bottom right quadrangle corner
260 * \param theState - required state
261 * \retval Handle(TColStd_HSequenceOfInteger) - IDs of found sub-shapes
263 Standard_EXPORT Handle(TColStd_HSequenceOfTransient)
264 GetShapesOnQuadrangle (const Handle(GEOM_Object)& theShape,
265 const Standard_Integer theShapeType,
266 const Handle(GEOM_Object)& theTopLeftPoint,
267 const Handle(GEOM_Object)& theTopRigthPoint,
268 const Handle(GEOM_Object)& theBottomLeftPoint,
269 const Handle(GEOM_Object)& theBottomRigthPoint,
270 const GEOMAlgo_State theState);
273 * \brief Find IDs of sub-shapes complying with given status about quadrangle
274 * \param theShape - the shape to explore
275 * \param theShapeType - type of sub-shape of theShape
276 * \param theTopLeftPoint - top left quadrangle corner
277 * \param theTopRigthPoint - top right quadrangle corner
278 * \param theBottomLeftPoint - bottom left quadrangle corner
279 * \param theBottomRigthPoint - bottom right quadrangle corner
280 * \param theState - required state
281 * \retval Handle(TColStd_HSequenceOfInteger) - IDs of found sub-shapes
283 Standard_EXPORT Handle(TColStd_HSequenceOfInteger)
284 GetShapesOnQuadrangleIDs (const Handle(GEOM_Object)& theShape,
285 const Standard_Integer theShapeType,
286 const Handle(GEOM_Object)& theTopLeftPoint,
287 const Handle(GEOM_Object)& theTopRigthPoint,
288 const Handle(GEOM_Object)& theBottomLeftPoint,
289 const Handle(GEOM_Object)& theBottomRigthPoint,
290 const GEOMAlgo_State theState);
292 Standard_EXPORT Handle(GEOM_Object) GetShapesOnCylinderOld (Handle(GEOM_Object) theShape,
293 const Standard_Integer theShapeType,
294 Handle(GEOM_Object) theAxis,
295 const Standard_Real theRadius);
297 Standard_EXPORT Handle(GEOM_Object) GetShapesOnSphereOld (Handle(GEOM_Object) theShape,
298 const Standard_Integer theShapeType,
299 Handle(GEOM_Object) theCenter,
300 const Standard_Real theRadius);
302 Standard_EXPORT Handle(GEOM_Object) GetInPlace (Handle(GEOM_Object) theShapeWhere,
303 Handle(GEOM_Object) theShapeWhat);
305 Standard_EXPORT Handle(GEOM_Object) GetInPlaceOld (Handle(GEOM_Object) theShapeWhere,
306 Handle(GEOM_Object) theShapeWhat);
308 Standard_EXPORT Handle(GEOM_Object) GetInPlaceByHistory (Handle(GEOM_Object) theShapeWhere,
309 Handle(GEOM_Object) theShapeWhat);
312 * \brief Searches a shape equal to theWhat in the context of theWhere
313 * \param theShapeWhere - a context shap
314 * \param theShapeWhat - a sample shape
315 * \retval Handle(GEOM_Object) - found shape
317 Standard_EXPORT Handle(GEOM_Object) GetSame(const Handle(GEOM_Object)& theShapeWhere,
318 const Handle(GEOM_Object)& theShapeWhat);
321 * \brief Searches a shape equal to theWhat in the context of theWhere
322 * \param theShapeWhere - a context shap
323 * \param theShapeWhat - a sample shape
324 * \retval Handle(TColStd_HSequenceOfInteger) - IDs of found sub-shapes
326 Standard_EXPORT Handle(TColStd_HSequenceOfInteger) GetSameIDs(const Handle(GEOM_Object)& theShapeWhere,
327 const Handle(GEOM_Object)& theShapeWhat);
330 * \brief Find IDs of sub-shapes complying with given status about surface
331 * \param theBox - the box to check state of sub-shapes against
332 * \param theShape - the shape to explore
333 * \param theShapeType - type of sub-shape of theShape
334 * \param theState - required state
335 * \retval Handle(TColStd_HSequenceOfInteger) - IDs of found sub-shapes
337 Standard_EXPORT Handle(TColStd_HSequenceOfInteger)
338 GetShapesOnBoxIDs(const Handle(GEOM_Object)& theBox,
339 const Handle(GEOM_Object)& theShape,
340 const Standard_Integer theShapeType,
341 GEOMAlgo_State theState);
344 * \brief Find sub-shapes complying with given status about surface
345 * \param theBox - the box to check state of sub-shapes against
346 * \param theShape - the shape to explore
347 * \param theShapeType - type of sub-shape of theShape
348 * \param theState - required state
349 * \retval Handle(TColStd_HSequenceOfTransient) - found shape objects
351 Standard_EXPORT Handle(TColStd_HSequenceOfTransient)
352 GetShapesOnBox(const Handle(GEOM_Object)& theBox,
353 const Handle(GEOM_Object)& theShape,
354 const Standard_Integer theShapeType,
355 GEOMAlgo_State theState);
358 * \brief Find IDs of sub-shapes complying with given status about surface
359 * \param theCheckShape - the shape to check state of sub-shapes against
360 * \param theShape - the shape to explore
361 * \param theShapeType - type of sub-shape of theShape
362 * \param theState - required state
363 * \retval Handle(TColStd_HSequenceOfInteger) - IDs of found sub-shapes
365 Standard_EXPORT Handle(TColStd_HSequenceOfInteger)
366 GetShapesOnShapeIDs(const Handle(GEOM_Object)& theCheckShape,
367 const Handle(GEOM_Object)& theShape,
368 const Standard_Integer theShapeType,
369 GEOMAlgo_State theState);
372 * \brief Find sub-shapes complying with given status about surface
373 * \param theCheckShape - the shape to check state of sub-shapes against
374 * \param theShape - the shape to explore
375 * \param theShapeType - type of sub-shape of theShape
376 * \param theState - required state
377 * \retval Handle(TColStd_HSequenceOfTransient) - found shape objects
379 Standard_EXPORT Handle(TColStd_HSequenceOfTransient)
380 GetShapesOnShape(const Handle(GEOM_Object)& theCheckShape,
381 const Handle(GEOM_Object)& theShape,
382 const Standard_Integer theShapeType,
383 GEOMAlgo_State theState);
384 Standard_EXPORT Handle(GEOM_Object)
385 GetShapesOnShapeAsCompound(const Handle(GEOM_Object)& theCheckShape,
386 const Handle(GEOM_Object)& theShape,
387 const Standard_Integer theShapeType,
388 GEOMAlgo_State theState);
390 Standard_EXPORT Handle(GEOM_Object)
391 ExtendEdge(const Handle(GEOM_Object) &theEdge,
392 const Standard_Real theMin,
393 const Standard_Real theMax);
395 Standard_EXPORT Handle(GEOM_Object)
396 ExtendFace(const Handle(GEOM_Object) &theFace,
397 const Standard_Real theUMin,
398 const Standard_Real theUMax,
399 const Standard_Real theVMin,
400 const Standard_Real theVMax);
402 Standard_EXPORT Handle(GEOM_Object)
403 MakeSurfaceFromFace(const Handle(GEOM_Object) &theFace);
406 Handle(GEOM_Object) MakeShape (std::list<Handle(GEOM_Object)> theShapes,
407 const Standard_Integer theObjectType,
408 const Standard_Integer theFunctionType,
409 const TCollection_AsciiString& theMethodName);
411 // ----------------------------------------------------
412 // methods common for all GetShapesOnXXX() functions
413 // ----------------------------------------------------
416 * \brief Checks if theShapeType parameter of GetShapesOnXXX() is OK
417 * \param theShapeType - the shape type to check
418 * \retval bool - result of the check
420 bool checkTypeShapesOn(const Standard_Integer theShapeType);
423 * \brief Creates Geom_Plane
424 * \param theAx1 - edge defining plane normal
425 * \retval Handle(Geom_Surface) - resulting surface
427 Handle(Geom_Surface) makePlane(const TopoDS_Shape& theAx1);
430 * \brief Creates Geom_CylindricalSurface
431 * \param theAx1 - edge defining cylinder axis
432 * \param theRadius - cylinder radius
433 * \retval Handle(Geom_Surface) - resulting surface
435 Handle(Geom_Surface) makeCylinder(const TopoDS_Shape& theAx1,
436 const Standard_Real theRadius);
439 * \brief Find IDs of sub-shapes complying with given status about surface
440 * \param theSurface - the surface to check state of sub-shapes against
441 * \param theShape - the shape to explore
442 * \param theShapeType - type of sub-shape of theShape
443 * \param theState - required state
444 * \retval Handle(TColStd_HSequenceOfInteger) - IDs of found sub-shapes
446 Handle(TColStd_HSequenceOfInteger)
447 getShapesOnSurfaceIDs(const Handle(Geom_Surface)& theSurface,
448 const TopoDS_Shape& theShape,
449 TopAbs_ShapeEnum theShapeType,
450 GEOMAlgo_State theState);
453 * \brief Find sub-shapes complying with given status about surface
454 * \param theSurface - the surface to check state of sub-shapes against
455 * \param theShape - the shape to explore
456 * \param theShapeType - type of sub-shape of theShape
457 * \param theState - required state
458 * \param theShapeEntries - outgoing entries like "entry1, entry2, ..."
459 * \retval Handle(TColStd_HSequenceOfTransient) - found shape objects
461 Handle(TColStd_HSequenceOfTransient)
462 getShapesOnSurface(const Handle(Geom_Surface)& theSurface,
463 const Handle(GEOM_Object)& theShape,
464 TopAbs_ShapeEnum theShapeType,
465 GEOMAlgo_State theState,
466 TCollection_AsciiString & theShapeEntries);
469 * \brief Find IDs of sub-shapes complying with given status about quadrangle
470 * \param theShape - the shape to explore
471 * \param theShapeType - type of sub-shape of theShape
472 * \param theTopLeftPoint - top left quadrangle corner
473 * \param theTopRigthPoint - top right quadrangle corner
474 * \param theBottomLeftPoint - bottom left quadrangle corner
475 * \param theBottomRigthPoint - bottom right quadrangle corner
476 * \param theState - required state
477 * \retval Handle(TColStd_HSequenceOfInteger) - IDs of found sub-shapes
479 Handle(TColStd_HSequenceOfInteger)
480 getShapesOnQuadrangleIDs (const Handle(GEOM_Object)& theShape,
481 const Standard_Integer theShapeType,
482 const Handle(GEOM_Object)& theTopLeftPoint,
483 const Handle(GEOM_Object)& theTopRigthPoint,
484 const Handle(GEOM_Object)& theBottomLeftPoint,
485 const Handle(GEOM_Object)& theBottomRigthPoint,
486 const GEOMAlgo_State theState);
489 * \brief Find IDs of sub-shapes complying with given status about surface
490 * \param theBox - the box to check state of sub-shapes against
491 * \param theShape - the shape to explore
492 * \param theShapeType - type of sub-shape of theShape
493 * \param theState - required state
494 * \retval Handle(TColStd_HSequenceOfInteger) - IDs of found sub-shapes
496 Handle(TColStd_HSequenceOfInteger) getShapesOnBoxIDs(const Handle(GEOM_Object)& theBox,
497 const Handle(GEOM_Object)& theShape,
498 const Standard_Integer theShapeType,
499 GEOMAlgo_State theState);
502 * \brief Find IDs of sub-shapes complying with given status about surface
503 * \param theCheckShape - the shape to check state of sub-shapes against
504 * \param theShape - the shape to explore
505 * \param theShapeType - type of sub-shape of theShape
506 * \param theState - required state
507 * \retval Handle(TColStd_HSequenceOfInteger) - IDs of found sub-shapes
509 Handle(TColStd_HSequenceOfInteger) getShapesOnShapeIDs
510 (const Handle(GEOM_Object)& theCheckShape,
511 const Handle(GEOM_Object)& theShape,
512 const Standard_Integer theShapeType,
513 GEOMAlgo_State theState);
516 * \brief Find shape objects and their entries by their ids
517 * \param theShape - the main shape
518 * \param theShapeIDs - theShapeIDs - incoming shape ids
519 * \param theShapeEntries - outgoing entries like "entry1, entry2, ..."
520 * \retval Handle(TColStd_HSequenceOfTransient) - found shape objects
522 Handle(TColStd_HSequenceOfTransient)
523 getObjectsShapesOn(const Handle(GEOM_Object)& theShape,
524 const Handle(TColStd_HSequenceOfInteger)& theShapeIDs,
525 TCollection_AsciiString & theShapeEntries);
528 * \brief Select the object created last
529 * \param theObj1 - Object 1
530 * \param theObj2 - Object 2
531 * \retval Handle(GEOM_Object) - selected object
533 static Handle(GEOM_Object) getCreatedLast(const Handle(GEOM_Object)& theObj1,
534 const Handle(GEOM_Object)& theObj2);