Back to home page

EIC code displayed by LXR

 
 

    


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 inline  Standard_Boolean ShapeAnalysis_CheckSmallFace::Status(const ShapeExtend_Status status) const
0016 {
0017    return ShapeExtend::DecodeStatus ( myStatus, status );
0018 }
0019 
0020  
0021 inline  void ShapeAnalysis_CheckSmallFace::SetTolerance(const Standard_Real tol) 
0022 {
0023  myPrecision = tol;
0024 
0025 }
0026 
0027  
0028 inline  Standard_Real ShapeAnalysis_CheckSmallFace::Tolerance() const
0029 {
0030  return myPrecision;
0031 }
0032 
0033  
0034 inline  Standard_Boolean ShapeAnalysis_CheckSmallFace::StatusSpot(const ShapeExtend_Status status) const
0035 {
0036   return ShapeExtend::DecodeStatus ( myStatusSpot, status );
0037 }
0038 
0039  
0040 inline  Standard_Boolean ShapeAnalysis_CheckSmallFace::StatusStrip(const ShapeExtend_Status status) const
0041 {
0042   return ShapeExtend::DecodeStatus ( myStatusStrip, status );
0043 }
0044 
0045  
0046 inline  Standard_Boolean ShapeAnalysis_CheckSmallFace::StatusPin(const ShapeExtend_Status status) const
0047 {
0048   return ShapeExtend::DecodeStatus ( myStatusPin, status );
0049 
0050 }
0051 
0052  
0053 inline  Standard_Boolean ShapeAnalysis_CheckSmallFace::StatusTwisted(const ShapeExtend_Status status) const
0054 {
0055   return ShapeExtend::DecodeStatus ( myStatusTwisted, status );
0056 
0057 }
0058 inline  Standard_Boolean ShapeAnalysis_CheckSmallFace::StatusPinFace(const ShapeExtend_Status status) const
0059 {
0060   return ShapeExtend::DecodeStatus ( myStatusPinFace, status );
0061 
0062 }
0063 inline  Standard_Boolean ShapeAnalysis_CheckSmallFace::StatusPinEdges(const ShapeExtend_Status status) const
0064 {
0065   return ShapeExtend::DecodeStatus ( myStatusPinEdges, status );
0066 
0067 } 
0068 inline  Standard_Boolean ShapeAnalysis_CheckSmallFace::StatusSplitVert(const ShapeExtend_Status status) const
0069 {
0070   return ShapeExtend::DecodeStatus ( myStatusSplitVert, status );
0071 
0072 }
0073 
0074