Salome HOME
PAL8267: two new API methods added: ExtrusionSweepObject1(2)D()
[modules/smesh.git] / src / SMESH_I / SMESH_MeshEditor_i.hxx
index 3677d13425ceb11851af05aa2500a7028d3cfb14..941c519374b506681a39a6727c279e1e40e2b20e 100644 (file)
@@ -104,24 +104,32 @@ class SMESH_MeshEditor_i: public POA_SMESH::SMESH_MeshEditor
   void ExtrusionSweepObject(SMESH::SMESH_IDSource_ptr theObject,
                            const SMESH::DirStruct &  StepVector,
                            CORBA::Long               NbOfSteps);
+  void ExtrusionSweepObject1D(SMESH::SMESH_IDSource_ptr theObject,
+                              const SMESH::DirStruct &  StepVector,
+                              CORBA::Long               NbOfSteps);
+  void ExtrusionSweepObject2D(SMESH::SMESH_IDSource_ptr theObject,
+                              const SMESH::DirStruct &  StepVector,
+                              CORBA::Long               NbOfSteps);
   
-  void ExtrusionAlongPath(const SMESH::long_array &   IDsOfElements,
-                          SMESH::SMESH_Mesh_ptr       PathMesh,
-                          GEOM::GEOM_Object_ptr       PathShape,
-                          CORBA::Long                 NodeStart,
-                          CORBA::Boolean              HasAngles,
-                          const SMESH::double_array & Angles,
-                          CORBA::Boolean              HasRefPoint,
-                          const SMESH::PointStruct &  RefPoint);
-
-  void ExtrusionAlongPathObject(SMESH::SMESH_IDSource_ptr   theObject,
-                                SMESH::SMESH_Mesh_ptr       PathMesh,
-                                GEOM::GEOM_Object_ptr       PathShape,
-                                CORBA::Long                 NodeStart,
-                                CORBA::Boolean              HasAngles,
-                                const SMESH::double_array & Angles,
-                                CORBA::Boolean              HasRefPoint,
-                                const SMESH::PointStruct &  RefPoint);
+  SMESH::SMESH_MeshEditor::Extrusion_Error
+    ExtrusionAlongPath(const SMESH::long_array &   IDsOfElements,
+                       SMESH::SMESH_Mesh_ptr       PathMesh,
+                       GEOM::GEOM_Object_ptr       PathShape,
+                       CORBA::Long                 NodeStart,
+                       CORBA::Boolean              HasAngles,
+                       const SMESH::double_array & Angles,
+                       CORBA::Boolean              HasRefPoint,
+                       const SMESH::PointStruct &  RefPoint);
+  
+  SMESH::SMESH_MeshEditor::Extrusion_Error
+    ExtrusionAlongPathObject(SMESH::SMESH_IDSource_ptr   theObject,
+                             SMESH::SMESH_Mesh_ptr       PathMesh,
+                             GEOM::GEOM_Object_ptr       PathShape,
+                             CORBA::Long                 NodeStart,
+                             CORBA::Boolean              HasAngles,
+                             const SMESH::double_array & Angles,
+                             CORBA::Boolean              HasRefPoint,
+                             const SMESH::PointStruct &  RefPoint);
 
   void Mirror(const SMESH::long_array &           IDsOfElements,
               const SMESH::AxisStruct &           Axis,