0024530: TKMesh - remove unused package IntPoly
[occt.git] / src / Transfer / Transfer_ActorOfFinderProcess.cxx
CommitLineData
973c2be1 1// Copyright (c) 1999-2014 OPEN CASCADE SAS
b311480e 2//
973c2be1 3// This file is part of Open CASCADE Technology software library.
b311480e 4//
973c2be1 5// This library is free software; you can redistribute it and / or modify it
6// under the terms of the GNU Lesser General Public 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.
b311480e 10//
973c2be1 11// Alternatively, this file may be used under the terms of Open CASCADE
12// commercial license or contractual agreement.
b311480e 13
7fd59977 14#include <Transfer_ActorOfFinderProcess.ixx>
15#include <Transfer_TransientMapper.hxx>
16
17Transfer_ActorOfFinderProcess::Transfer_ActorOfFinderProcess () { themodetrans = 0; }
18
19Standard_Integer& Transfer_ActorOfFinderProcess::ModeTrans ()
20{ return themodetrans; }
21
22Handle(Transfer_Binder) Transfer_ActorOfFinderProcess::Transfer
23 (const Handle(Transfer_Finder)& fnd,
24 const Handle(Transfer_FinderProcess)& FP)
25{
26 Handle(Transfer_TransientMapper) tm = Handle(Transfer_TransientMapper)::DownCast (fnd);
27 if (tm.IsNull()) return NullResult();
28 Handle(Standard_Transient) res = TransferTransient (tm->Value(),FP);
29 if (res.IsNull()) return NullResult();
30 return TransientResult (res);
31}
32
33Handle(Transfer_Binder) Transfer_ActorOfFinderProcess::Transferring
34 (const Handle(Transfer_Finder)& ent,
35 const Handle(Transfer_ProcessForFinder)& TP)
36{
37 return Transfer(ent,Handle(Transfer_FinderProcess)::DownCast(TP));
38}
39
40Handle(Standard_Transient) Transfer_ActorOfFinderProcess::TransferTransient
41 (const Handle(Standard_Transient)& /*ent*/,
42 const Handle(Transfer_FinderProcess)& )
43{
44 Handle(Standard_Transient) nulres;
45 return nulres;
46}