]> OCCT Git - occt.git/commitdiff
0025101: Typo in code documentation of gp_Trsf::SetValues
authorabv <abv@opencascade.com>
Fri, 26 Sep 2014 09:57:15 +0000 (13:57 +0400)
committerbugmaster <bugmaster@opencascade.com>
Fri, 26 Sep 2014 13:29:04 +0000 (17:29 +0400)
Documentation of methods Multiply() and Multiplied() corrected in classes gp_(G)Trsf(2d)

src/gp/gp_GTrsf.cdl
src/gp/gp_GTrsf2d.cdl
src/gp/gp_Trsf.cdl
src/gp/gp_Trsf2d.cdl

index f747df70066e610459a251057381e22ef32b2d4c..55fdda164481c061c3caa39b4224b1b0d3806a15 100644 (file)
@@ -207,9 +207,8 @@ is
 
 
 
-  Multiply (me : in out; T : GTrsf)          is static;
-
-        --- Purpose :
+  Multiplied (me; T : GTrsf)  returns GTrsf  is static;
+         --- Purpose :
         --  Computes the transformation composed from T and <me>.
         --  In a C++ implementation you can also write Tcomposed = <me> * T.
         --- Example :
@@ -223,17 +222,15 @@ is
         --        XYZ P2(P);
         --        T1.Transforms(P2);                  //using T1 then T2
         --        T2.Transforms(P2);                  // P1 = P2 !!!
-        -- C++: alias operator *=
-
+       ---C++: inline
+        -- C++: alias operator *
 
 
-  Multiplied (me; T : GTrsf)  returns GTrsf  is static;
+  Multiply (me : in out; T : GTrsf)          is static;
         --- Purpose :
         --  Computes the transformation composed with <me> and T.
-        --  <me> = T * <me>
-       ---C++: inline
-        -- C++: alias operator *
+        --  <me> = <me> * T
+        -- C++: alias operator *=
 
   PreMultiply (me : in out; T : GTrsf)  is static;
 
index 29b2542e0e320203fd1034aad220925faa23e24d..e4ca670aad44ca24421a93169ce5d70e33528197 100644 (file)
@@ -184,13 +184,6 @@ is
         --  Raised an exception if the matrix of the transformation 
         --  is not inversible.
 
-
-
-
-
-  Multiply (me : in out; T : GTrsf2d)            is static;
-        ---C++: alias operator *=
-
   Multiplied (me; T : GTrsf2d)  returns GTrsf2d  is static;
        ---C++: inline
         ---C++: alias operator *
@@ -209,11 +202,13 @@ is
         --        T1.Transforms(P2);                  //using T1 then T2
         --        T2.Transforms(P2);                  // P1 = P2 !!!
 
+  Multiply (me : in out; T : GTrsf2d)            is static;
+        ---C++: alias operator *=
+        -- Computes the product of the transformation T and this
+        -- transformation, and assigns the result to this transformation:
+        -- this = this * T
 
   PreMultiply (me : in out; T : GTrsf2d)    is static;
-
-
         --- Purpose :
         -- Computes the product of the transformation T and this
         -- transformation, and assigns the result to this transformation:
index 763090a62603797e6e0f070376cf554820259a12..284a1e5b24095030b9964c2ae5304ff1193b9344 100644 (file)
@@ -317,11 +317,7 @@ is
   Multiplied (me; T : Trsf)   returns Trsf  is static;
         ---C++: inline
         ---C++: alias operator *
-
-  Multiply (me : in out; T : Trsf)          is static;
-        ---C++: alias operator *=
-        --- Purpose :
-        --  Computes the transformation composed with T and  <me>.
+        --  Computes the transformation composed from T and <me>.
         --  In a C++ implementation you can also write Tcomposed = <me> * T.
         --  Example :
         --      Trsf T1, T2, Tcomp; ...............
@@ -332,8 +328,12 @@ is
         --        Pnt P2 = P1.Transformed(Tcomp);    //using Tcomp
         --        Pnt P3 = P1.Transformed(T1);       //using T1 then T2
         --        P3.Transform(T2);                  // P3 = P2 !!!
+
+  Multiply (me : in out; T : Trsf)          is static;
+        ---C++: alias operator *=
+        --- Purpose :
         --  Computes the transformation composed with <me> and T.
-        --  <me> = T * <me>
+        --  <me> = <me> * T
 
   PreMultiply (me : in out; T : Trsf)  is static;
         --- Purpose :
index 8ca5e235bdcc9b108df3f071d9fc749030855eaf..32c5e2fdc2a0b18a3ef351b0dff651cda23f425f 100644 (file)
@@ -198,10 +198,6 @@ is
   Multiplied (me; T : Trsf2d)   returns Trsf2d   is static;
         ---C++: inline
         ---C++: alias operator *
-
-  Multiply (me : in out; T : Trsf2d)             is static;
-        ---C++: alias operator *=
-        --- Purpose :
         --  Computes the transformation composed from <T> and  <me>.
         --  In a C++ implementation you can also write Tcomposed = <me> * T.
         --  Example :
@@ -214,7 +210,11 @@ is
         --        Pnt2d P3 = P1.Transformed(T1);     //using T1 then T2
         --        P3.Transform(T2);                  // P3 = P2 !!!
 
-     
+  Multiply (me : in out; T : Trsf2d)             is static;
+        ---C++: alias operator *=
+        --- Purpose :
+        --  Computes the transformation composed from <me> and T.
+        --  <me> = <me> * T
 
   PreMultiply (me : in out; T : Trsf2d)   is static;