1 // Created on: 2004-09-02
2 // Created by: Oleg FEDYAEV
3 // Copyright (c) 2004-2014 OPEN CASCADE SAS
5 // This file is part of Open CASCADE Technology software library.
7 // This library is free software; you can redistribute it and/or modify it under
8 // the terms of the GNU Lesser General Public License version 2.1 as published
9 // by the Free Software Foundation, with special exception defined in the file
10 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11 // distribution for complete text of the license and disclaimer of any warranty.
13 // Alternatively, this file may be used under the terms of Open CASCADE
14 // commercial license or contractual agreement.
17 #include <BOPAlgo_CheckResult.hxx>
18 #include <TopoDS_Shape.hxx>
20 //=======================================================================
21 // function: BOPAlgo_CheckResult()
23 //=======================================================================
24 BOPAlgo_CheckResult::BOPAlgo_CheckResult()
26 myStatus(BOPAlgo_CheckUnknown),
34 void BOPAlgo_CheckResult::SetShape1(const TopoDS_Shape& TheShape)
39 void BOPAlgo_CheckResult::AddFaultyShape1(const TopoDS_Shape& TheShape)
41 myFaulty1.Append(TheShape);
44 void BOPAlgo_CheckResult::SetShape2(const TopoDS_Shape& TheShape)
49 void BOPAlgo_CheckResult::AddFaultyShape2(const TopoDS_Shape& TheShape)
51 myFaulty2.Append(TheShape);
54 const TopoDS_Shape& BOPAlgo_CheckResult::GetShape1() const
59 const TopoDS_Shape & BOPAlgo_CheckResult::GetShape2() const
64 const BOPCol_ListOfShape& BOPAlgo_CheckResult::GetFaultyShapes1() const
69 const BOPCol_ListOfShape& BOPAlgo_CheckResult::GetFaultyShapes2() const
74 void BOPAlgo_CheckResult::SetCheckStatus(const BOPAlgo_CheckStatus TheStatus)
79 BOPAlgo_CheckStatus BOPAlgo_CheckResult::GetCheckStatus() const
84 void BOPAlgo_CheckResult::SetMaxDistance1(const Standard_Real theDist)
89 void BOPAlgo_CheckResult::SetMaxDistance2(const Standard_Real theDist)
94 void BOPAlgo_CheckResult::SetMaxParameter1(const Standard_Real thePar)
99 void BOPAlgo_CheckResult::SetMaxParameter2(const Standard_Real thePar)
104 Standard_Real BOPAlgo_CheckResult::GetMaxDistance1() const
109 Standard_Real BOPAlgo_CheckResult::GetMaxDistance2() const
114 Standard_Real BOPAlgo_CheckResult::GetMaxParameter1() const
119 Standard_Real BOPAlgo_CheckResult::GetMaxParameter2() const