Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:05:21

0001 // Created on: 2000-02-14
0002 // Created by: Denis PASCAL
0003 // Copyright (c) 2000-2014 OPEN CASCADE SAS
0004 //
0005 // This file is part of Open CASCADE Technology software library.
0006 //
0007 // This library is free software; you can redistribute it and/or modify it under
0008 // the terms of the GNU Lesser General Public License version 2.1 as published
0009 // by the Free Software Foundation, with special exception defined in the file
0010 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0011 // distribution for complete text of the license and disclaimer of any warranty.
0012 //
0013 // Alternatively, this file may be used under the terms of Open CASCADE
0014 // commercial license or contractual agreement.
0015 
0016 #ifndef _TNaming_CopyShape_HeaderFile
0017 #define _TNaming_CopyShape_HeaderFile
0018 
0019 #include <Standard.hxx>
0020 #include <Standard_DefineAlloc.hxx>
0021 #include <Standard_Handle.hxx>
0022 
0023 #include <TColStd_IndexedDataMapOfTransientTransient.hxx>
0024 class TopoDS_Shape;
0025 class TNaming_TranslateTool;
0026 class TopLoc_Location;
0027 
0028 
0029 
0030 class TNaming_CopyShape 
0031 {
0032 public:
0033 
0034   DEFINE_STANDARD_ALLOC
0035 
0036   
0037   //! Makes  copy  a  set  of  shape(s),  using the  aMap
0038   Standard_EXPORT static void CopyTool (const TopoDS_Shape& aShape, TColStd_IndexedDataMapOfTransientTransient& aMap, TopoDS_Shape& aResult);
0039   
0040   //! Translates  a  Transient  shape(s)  to  Transient
0041   Standard_EXPORT static void Translate (const TopoDS_Shape& aShape, TColStd_IndexedDataMapOfTransientTransient& aMap, TopoDS_Shape& aResult, const Handle(TNaming_TranslateTool)& TrTool);
0042   
0043   //! Translates a Topological  Location  to an  other  Top.
0044   //! Location
0045   Standard_EXPORT static TopLoc_Location Translate (const TopLoc_Location& L, TColStd_IndexedDataMapOfTransientTransient& aMap);
0046 
0047 
0048 
0049 
0050 protected:
0051 
0052 
0053 
0054 
0055 
0056 private:
0057 
0058 
0059 
0060 
0061 
0062 };
0063 
0064 
0065 
0066 
0067 
0068 
0069 
0070 #endif // _TNaming_CopyShape_HeaderFile