Salome HOME
0022776: [CEA 1269] Project a wire or a face on a cylinder: add rotation angle
[modules/geom.git] / src / GEOM_I / GEOM_ITransformOperations_i.cc
index c18c87b6c1588c31e85e18229ad5847b07cf0960..fbfe591f11d6f21f3a96c2bb0a93c95901977937 100644 (file)
@@ -1402,7 +1402,8 @@ GEOM::GEOM_Object_ptr GEOM_ITransformOperations_i::MakeProjectionOnCylinder
                                    (GEOM::GEOM_Object_ptr theObject,
                                     CORBA::Double         theRadius,
                                     CORBA::Double         theStartAngle,
-                                    CORBA::Double         theAngleLength)
+                                    CORBA::Double         theAngleLength,
+                                    CORBA::Double         theAngleRotation)
 {
   GEOM::GEOM_Object_var aGEOMObject;
 
@@ -1418,7 +1419,7 @@ GEOM::GEOM_Object_ptr GEOM_ITransformOperations_i::MakeProjectionOnCylinder
 
   //Perform the transformation
   Handle(GEOM_Object) aResObject = GetOperations()->MakeProjectionOnCylinder
-    (anObject, theRadius, theStartAngle, theAngleLength);
+    (anObject, theRadius, theStartAngle, theAngleLength, theAngleRotation);
 
   if (!GetOperations()->IsDone() || aResObject.IsNull()) {
     return aGEOMObject._retn();