From 1fa8e37b83e78d38021e5a20e1fa660cea8eb624 Mon Sep 17 00:00:00 2001 From: vsr <vsr@opencascade.com> Date: Thu, 13 Aug 2015 16:16:31 +0300 Subject: [PATCH] 0026144: Missing operators in gp_GTrsf --- src/gp/gp_GTrsf.hxx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/gp/gp_GTrsf.hxx b/src/gp/gp_GTrsf.hxx index 56a48b6c48..9976dc1182 100644 --- a/src/gp/gp_GTrsf.hxx +++ b/src/gp/gp_GTrsf.hxx @@ -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