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 | // |
d5f74e42 |
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 |
973c2be1 |
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 <ShapeExtend.hxx> |
15 | inline Standard_Boolean ShapeAnalysis_CheckSmallFace::Status(const ShapeExtend_Status status) const |
16 | { |
17 | return ShapeExtend::DecodeStatus ( myStatus, status ); |
18 | } |
19 | |
20 | |
21 | inline void ShapeAnalysis_CheckSmallFace::SetTolerance(const Standard_Real tol) |
22 | { |
23 | myPrecision = tol; |
24 | |
25 | } |
26 | |
27 | |
28 | inline Standard_Real ShapeAnalysis_CheckSmallFace::Tolerance() const |
29 | { |
30 | return myPrecision; |
31 | } |
32 | |
33 | |
34 | inline Standard_Boolean ShapeAnalysis_CheckSmallFace::StatusSpot(const ShapeExtend_Status status) const |
35 | { |
36 | return ShapeExtend::DecodeStatus ( myStatusSpot, status ); |
37 | } |
38 | |
39 | |
40 | inline Standard_Boolean ShapeAnalysis_CheckSmallFace::StatusStrip(const ShapeExtend_Status status) const |
41 | { |
42 | return ShapeExtend::DecodeStatus ( myStatusStrip, status ); |
43 | } |
44 | |
45 | |
46 | inline Standard_Boolean ShapeAnalysis_CheckSmallFace::StatusPin(const ShapeExtend_Status status) const |
47 | { |
48 | return ShapeExtend::DecodeStatus ( myStatusPin, status ); |
49 | |
50 | } |
51 | |
52 | |
53 | inline Standard_Boolean ShapeAnalysis_CheckSmallFace::StatusTwisted(const ShapeExtend_Status status) const |
54 | { |
55 | return ShapeExtend::DecodeStatus ( myStatusTwisted, status ); |
56 | |
57 | } |
58 | inline Standard_Boolean ShapeAnalysis_CheckSmallFace::StatusPinFace(const ShapeExtend_Status status) const |
59 | { |
60 | return ShapeExtend::DecodeStatus ( myStatusPinFace, status ); |
61 | |
62 | } |
63 | inline Standard_Boolean ShapeAnalysis_CheckSmallFace::StatusPinEdges(const ShapeExtend_Status status) const |
64 | { |
65 | return ShapeExtend::DecodeStatus ( myStatusPinEdges, status ); |
66 | |
67 | } |
68 | inline Standard_Boolean ShapeAnalysis_CheckSmallFace::StatusSplitVert(const ShapeExtend_Status status) const |
69 | { |
70 | return ShapeExtend::DecodeStatus ( myStatusSplitVert, status ); |
71 | |
72 | } |
73 | |
74 | |