Salome HOME
Mantis issue 0020853: EDF 1394 GEOM: Partition fails between 2 faces. A patch by...
[modules/geom.git] / src / GEOM_I / GEOM_IShapesOperations_i.hh
index 2b15239185a3f2651fb04461708ed25c726fc2c2..5ae1ed2f040a448c05042ef0c574eee939a5d7ba 100644 (file)
@@ -1,4 +1,4 @@
-//  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
+//  Copyright (C) 2007-2010  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 //  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 //  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -19,6 +19,7 @@
 //
 //  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
+
 #ifndef _GEOM_IShapesOperations_i_HeaderFile
 #define _GEOM_IShapesOperations_i_HeaderFile
 
@@ -45,7 +46,8 @@ class GEOM_I_EXPORT GEOM_IShapesOperations_i :
   GEOM::GEOM_Object_ptr MakeEdge (GEOM::GEOM_Object_ptr thePnt1,
                                  GEOM::GEOM_Object_ptr thePnt2);
 
-  GEOM::GEOM_Object_ptr MakeWire (const GEOM::ListOfGO& theEdgesAndWires);
+  GEOM::GEOM_Object_ptr MakeWire (const GEOM::ListOfGO& theEdgesAndWires,
+                                  const CORBA::Double   theTolerance);
 
   GEOM::GEOM_Object_ptr MakeFace (GEOM::GEOM_Object_ptr theWire,
                                  CORBA::Boolean  isPlanarWanted);
@@ -63,7 +65,7 @@ class GEOM_I_EXPORT GEOM_IShapesOperations_i :
 
   GEOM::GEOM_Object_ptr MakeGlueFaces (GEOM::GEOM_Object_ptr theShape,
                                       CORBA::Double         theTolerance,
-                                          CORBA::Boolean  doKeepNonSolids);
+                                       CORBA::Boolean        doKeepNonSolids);
 
   GEOM::ListOfGO* GetGlueFaces (GEOM::GEOM_Object_ptr theShape,
                                CORBA::Double         theTolerance);
@@ -95,6 +97,8 @@ class GEOM_I_EXPORT GEOM_IShapesOperations_i :
 
   CORBA::Long NumberOfFaces (GEOM::GEOM_Object_ptr theShape);
   CORBA::Long NumberOfEdges (GEOM::GEOM_Object_ptr theShape);
+  CORBA::Long NumberOfSubShapes (GEOM::GEOM_Object_ptr theShape,
+                                 const CORBA::Long     theShapeType);
 
   GEOM::GEOM_Object_ptr ChangeOrientation (GEOM::GEOM_Object_ptr theShape);
 
@@ -121,6 +125,13 @@ class GEOM_I_EXPORT GEOM_IShapesOperations_i :
                                       CORBA::Double         theRadius,
                                       GEOM::shape_state     theState);
 
+  GEOM::ListOfGO* GetShapesOnCylinderWithLocation (GEOM::GEOM_Object_ptr theShape,
+                                                   CORBA::Long           theShapeType,
+                                                   GEOM::GEOM_Object_ptr theAxis,
+                                                   GEOM::GEOM_Object_ptr thePnt,
+                                                   CORBA::Double         theRadius,
+                                                   GEOM::shape_state     theState);
+
   GEOM::ListOfGO* GetShapesOnSphere (GEOM::GEOM_Object_ptr theShape,
                                     CORBA::Long           theShapeType,
                                     GEOM::GEOM_Object_ptr theCenter,
@@ -152,6 +163,13 @@ class GEOM_I_EXPORT GEOM_IShapesOperations_i :
                                            CORBA::Double         theRadius,
                                            GEOM::shape_state     theState);
 
+  GEOM::ListOfLong* GetShapesOnCylinderWithLocationIDs (GEOM::GEOM_Object_ptr theShape,
+                                                        CORBA::Long           theShapeType,
+                                                        GEOM::GEOM_Object_ptr theAxis,
+                                                        GEOM::GEOM_Object_ptr thePnt,
+                                                        CORBA::Double         theRadius,
+                                                        GEOM::shape_state     theState);
+
   GEOM::ListOfLong* GetShapesOnSphereIDs (GEOM::GEOM_Object_ptr theShape,
                                          CORBA::Long           theShapeType,
                                          GEOM::GEOM_Object_ptr theCenter,