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 //function : WS
0025 //purpose  : 
0026 //=======================================================================
0027 
0028 inline const Handle(XSControl_WorkSession) &STEPConstruct_Tool::WS() const
0029 {
0030   return myWS;
0031 }
0032 
0033 //=======================================================================
0034 //function : Model
0035 //purpose  : 
0036 //=======================================================================
0037 
0038 inline Handle(Interface_InterfaceModel) STEPConstruct_Tool::Model() const
0039 {
0040   return myWS->Model();
0041 }
0042 
0043 //=======================================================================
0044 //function : Graph
0045 //purpose  : 
0046 //=======================================================================
0047 
0048 inline const Interface_Graph &STEPConstruct_Tool::Graph (const Standard_Boolean recompute) const
0049 {
0050   // Note: myWS->Graph() recomputes graph each time!
0051   return recompute ? myWS->Graph() : myHGraph->Graph();
0052 }
0053 
0054 //=======================================================================
0055 //function : TransientProcess
0056 //purpose  : 
0057 //=======================================================================
0058 
0059 inline const Handle(Transfer_TransientProcess) &STEPConstruct_Tool::TransientProcess() const
0060 {
0061   return myTransientProcess;
0062 }
0063 
0064 //=======================================================================
0065 //function : FinderProcess
0066 //purpose  : 
0067 //=======================================================================
0068 
0069 inline const Handle(Transfer_FinderProcess) &STEPConstruct_Tool::FinderProcess() const
0070 {
0071   return myFinderProcess;
0072 }