Back to home page

EIC code displayed by LXR

 
 

    


Warning, /include/opencascade/STEPConstruct_Tool.lxx is written in an unsupported language. File is not indexed.

0001 // Created on: 2000-09-29
0002 // Created by: data exchange team
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 #include <Interface_InterfaceModel.hxx>
0017 #include <Interface_Graph.hxx>
0018 #include <Interface_HGraph.hxx>
0019 #include <Transfer_TransientProcess.hxx>
0020 #include <Transfer_FinderProcess.hxx>
0021 #include <XSControl_WorkSession.hxx>
0022 
0023 //=================================================================================================
0024 
0025 inline const occ::handle<XSControl_WorkSession>& STEPConstruct_Tool::WS() const
0026 {
0027   return myWS;
0028 }
0029 
0030 //=================================================================================================
0031 
0032 inline occ::handle<Interface_InterfaceModel> STEPConstruct_Tool::Model() const
0033 {
0034   return myWS->Model();
0035 }
0036 
0037 //=================================================================================================
0038 
0039 inline const Interface_Graph& STEPConstruct_Tool::Graph(const bool recompute) const
0040 {
0041   // Note: myWS->Graph() recomputes graph each time!
0042   return recompute ? myWS->Graph() : myHGraph->Graph();
0043 }
0044 
0045 //=================================================================================================
0046 
0047 inline const occ::handle<Transfer_TransientProcess>& STEPConstruct_Tool::TransientProcess() const
0048 {
0049   return myTransientProcess;
0050 }
0051 
0052 //=================================================================================================
0053 
0054 inline const occ::handle<Transfer_FinderProcess>& STEPConstruct_Tool::FinderProcess() const
0055 {
0056   return myFinderProcess;
0057 }