]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Implement sweep mesh elements along a path (PAL7218).
authorvsr <vsr@opencascade.com>
Thu, 20 Jan 2005 14:41:50 +0000 (14:41 +0000)
committervsr <vsr@opencascade.com>
Thu, 20 Jan 2005 14:41:50 +0000 (14:41 +0000)
idl/SMESH_Mesh.idl

index 77d9d186e0bd30374e2f5e7c3c958637e2db57b4..094b66583a5aa2d9c0b5b92419eef7c356a2dd3b 100644 (file)
@@ -535,23 +535,33 @@ module SMESH
                              in DirStruct       StepVector,
                              in long            NbOfSteps);
 
-    void ExtrusionAlongPath(in long_array        IDsOfElements,
-                           in SMESH_Mesh        PathMesh,
-                           in GEOM::GEOM_Object PathShape,
-                           in long              NodeStart,
-                           in boolean           HasAngles,
-                           in double_array      Angles,
-                           in boolean           HasRefPoint,
-                           in PointStruct       RefPoint);
-
-    void ExtrusionAlongPathObject(in SMESH_IDSource    theObject,
-                                 in SMESH_Mesh        PathMesh,
-                                 in GEOM::GEOM_Object PathShape,
-                                 in long              NodeStart,
-                                 in boolean           HasAngles,
-                                 in double_array      Angles,
-                                 in boolean           HasRefPoint,
-                                 in PointStruct       RefPoint);
+    enum Extrusion_Error {
+      EXTR_OK,
+      EXTR_NO_ELEMENTS, 
+      EXTR_PATH_NOT_EDGE,
+      EXTR_BAD_PATH_SHAPE,
+      EXTR_BAD_STARTING_NODE,
+      EXTR_BAD_ANGLES_NUMBER,
+      EXTR_CANT_GET_TANGENT
+      };
+
+    Extrusion_Error ExtrusionAlongPath(in long_array        IDsOfElements,
+                                      in SMESH_Mesh        PathMesh,
+                                      in GEOM::GEOM_Object PathShape,
+                                      in long              NodeStart,
+                                      in boolean           HasAngles,
+                                      in double_array      Angles,
+                                      in boolean           HasRefPoint,
+                                      in PointStruct       RefPoint);
+
+    Extrusion_Error ExtrusionAlongPathObject(in SMESH_IDSource    theObject,
+                                            in SMESH_Mesh        PathMesh,
+                                            in GEOM::GEOM_Object PathShape,
+                                            in long              NodeStart,
+                                            in boolean           HasAngles,
+                                            in double_array      Angles,
+                                            in boolean           HasRefPoint,
+                                            in PointStruct       RefPoint);
 
     enum MirrorType { POINT, AXIS, PLANE };