1 // Copyright (c) 1999-2014 OPEN CASCADE SAS
3 // This file is part of Open CASCADE Technology software library.
5 // This library is free software; you can redistribute it and/or modify it under
6 // the terms of the GNU Lesser General Public License version 2.1 as published
7 // by the Free Software Foundation, with special exception defined in the file
8 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
9 // distribution for complete text of the license and disclaimer of any warranty.
11 // Alternatively, this file may be used under the terms of Open CASCADE
12 // commercial license or contractual agreement.
14 #ifndef _XmlObjMgt_GP_HeaderFile
15 #define _XmlObjMgt_GP_HeaderFile
17 #include <Standard.hxx>
18 #include <Standard_DefineAlloc.hxx>
19 #include <Standard_Handle.hxx>
21 #include <XmlObjMgt_DOMString.hxx>
22 #include <Standard_Boolean.hxx>
28 //! Translation of gp (simple geometry) objects
36 Standard_EXPORT static XmlObjMgt_DOMString Translate (const gp_Trsf& aTrsf);
38 Standard_EXPORT static XmlObjMgt_DOMString Translate (const gp_Mat& aMat);
40 Standard_EXPORT static XmlObjMgt_DOMString Translate (const gp_XYZ& anXYZ);
42 Standard_EXPORT static Standard_Boolean Translate (const XmlObjMgt_DOMString& aStr, gp_Trsf& T);
44 Standard_EXPORT static Standard_Boolean Translate (const XmlObjMgt_DOMString& aStr, gp_Mat& T);
46 Standard_EXPORT static Standard_Boolean Translate (const XmlObjMgt_DOMString& aStr, gp_XYZ& T);
71 #endif // _XmlObjMgt_GP_HeaderFile