1// Copyright (c) 1999-2014 OPEN CASCADE SAS
2//
3// This file is part of Open CASCADE Technology software library.
4//
5// This library is free software; you can redistribute it and/or modify it under
6// the terms of the GNU Lesser General Public License 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.
10//
11// Alternatively, this file may be used under the terms of Open CASCADE
12// commercial license or contractual agreement.
13
14#include <ShapeExtend.hxx>
15
16//=======================================================================
17//function : StatusWireGaps
18//purpose  :
19//=======================================================================
20
21inline  Standard_Boolean ShapeFix_Wireframe::StatusWireGaps
22  (const ShapeExtend_Status status) const
23{
24  return ShapeExtend::DecodeStatus( myStatusWireGaps, status );
25}
26
27//=======================================================================
28//function : StatusSmallEdges
29//purpose  :
30//=======================================================================
31
32inline  Standard_Boolean ShapeFix_Wireframe::StatusSmallEdges
33  (const ShapeExtend_Status status) const
34{
35  return ShapeExtend::DecodeStatus( myStatusSmallEdges, status );
36}
37
38//=======================================================================
39//function : Shape
40//purpose  :
41//=======================================================================
42
43inline  TopoDS_Shape ShapeFix_Wireframe::Shape()
44{
45  return myShape;
46}
47//=======================================================================
48//function : ModeDropSmallEdges
49//purpose  :
50//=======================================================================
51
52inline Standard_Boolean& ShapeFix_Wireframe::ModeDropSmallEdges()
53{
54  return myModeDrop;
55}
56
57
58//=======================================================================
59//function : SetLimitAngle
60//purpose  :
61//=======================================================================
62
63inline void ShapeFix_Wireframe::SetLimitAngle(const Standard_Real theLimitAngle)
64{
65  myLimitAngle =  theLimitAngle;
66}
67//=======================================================================
68//function : LimitAngle
69//purpose  :
70//=======================================================================
71
72inline Standard_Real ShapeFix_Wireframe::LimitAngle() const
73{
74  return myLimitAngle;
75}
76