Warning, /include/opencascade/ShapeAnalysis_CheckSmallFace.lxx is written in an unsupported language. File is not indexed.
0001 // Copyright (c) 1999-2014 OPEN CASCADE SAS
0002 //
0003 // This file is part of Open CASCADE Technology software library.
0004 //
0005 // This library is free software; you can redistribute it and/or modify it under
0006 // the terms of the GNU Lesser General Public License version 2.1 as published
0007 // by the Free Software Foundation, with special exception defined in the file
0008 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0009 // distribution for complete text of the license and disclaimer of any warranty.
0010 //
0011 // Alternatively, this file may be used under the terms of Open CASCADE
0012 // commercial license or contractual agreement.
0013
0014 #include <ShapeExtend.hxx>
0015
0016 inline Standard_Boolean ShapeAnalysis_CheckSmallFace::Status(const ShapeExtend_Status status) const
0017 {
0018 return ShapeExtend::DecodeStatus(myStatus, status);
0019 }
0020
0021 inline void ShapeAnalysis_CheckSmallFace::SetTolerance(const Standard_Real tol)
0022 {
0023 myPrecision = tol;
0024 }
0025
0026 inline Standard_Real ShapeAnalysis_CheckSmallFace::Tolerance() const
0027 {
0028 return myPrecision;
0029 }
0030
0031 inline Standard_Boolean ShapeAnalysis_CheckSmallFace::StatusSpot(
0032 const ShapeExtend_Status status) const
0033 {
0034 return ShapeExtend::DecodeStatus(myStatusSpot, status);
0035 }
0036
0037 inline Standard_Boolean ShapeAnalysis_CheckSmallFace::StatusStrip(
0038 const ShapeExtend_Status status) const
0039 {
0040 return ShapeExtend::DecodeStatus(myStatusStrip, status);
0041 }
0042
0043 inline Standard_Boolean ShapeAnalysis_CheckSmallFace::StatusPin(
0044 const ShapeExtend_Status status) const
0045 {
0046 return ShapeExtend::DecodeStatus(myStatusPin, status);
0047 }
0048
0049 inline Standard_Boolean ShapeAnalysis_CheckSmallFace::StatusTwisted(
0050 const ShapeExtend_Status status) const
0051 {
0052 return ShapeExtend::DecodeStatus(myStatusTwisted, status);
0053 }
0054
0055 inline Standard_Boolean ShapeAnalysis_CheckSmallFace::StatusPinFace(
0056 const ShapeExtend_Status status) const
0057 {
0058 return ShapeExtend::DecodeStatus(myStatusPinFace, status);
0059 }
0060
0061 inline Standard_Boolean ShapeAnalysis_CheckSmallFace::StatusPinEdges(
0062 const ShapeExtend_Status status) const
0063 {
0064 return ShapeExtend::DecodeStatus(myStatusPinEdges, status);
0065 }
0066
0067 inline Standard_Boolean ShapeAnalysis_CheckSmallFace::StatusSplitVert(
0068 const ShapeExtend_Status status) const
0069 {
0070 return ShapeExtend::DecodeStatus(myStatusSplitVert, status);
0071 }