]> OCCT Git - occt.git/commitdiff
0026144: Missing operators in gp_GTrsf
authorvsr <vsr@opencascade.com>
Thu, 13 Aug 2015 13:16:31 +0000 (16:16 +0300)
committerski <ski@opencascade.com>
Thu, 20 Aug 2015 13:41:08 +0000 (16:41 +0300)
src/gp/gp_GTrsf.hxx

index 56a48b6c48357a70c5a2011c87807ccdfe054274..9976dc1182d658c5daea1727ccc751fec5e2f10b 100644 (file)
@@ -196,12 +196,19 @@ public:
   //! T1.Transforms(P2);                  //using T1 then T2
   //! T2.Transforms(P2);                  // P1 = P2 !!!
     gp_GTrsf Multiplied (const gp_GTrsf& T) const;
+  gp_GTrsf operator * (const gp_GTrsf& T)  const
+  {
+    return Multiplied(T);
+  }
   
 
   //! Computes the transformation composed with <me> and T.
   //! <me> = <me> * T
-  //! C++: alias operator *=
   Standard_EXPORT void Multiply (const gp_GTrsf& T);
+  void operator *= (const gp_GTrsf& T) 
+  {
+    Multiply(T);
+  }
   
 
   //! Computes the product of the transformation T and this