|
||||
File indexing completed on 2025-01-18 10:03:09
0001 // Created by: Peter KURNEV 0002 // Copyright (c) 2014 OPEN CASCADE SAS 0003 // 0004 // This file is part of Open CASCADE Technology software library. 0005 // 0006 // This library is free software; you can redistribute it and/or modify it under 0007 // the terms of the GNU Lesser General Public License version 2.1 as published 0008 // by the Free Software Foundation, with special exception defined in the file 0009 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT 0010 // distribution for complete text of the license and disclaimer of any warranty. 0011 // 0012 // Alternatively, this file may be used under the terms of Open CASCADE 0013 // commercial license or contractual agreement. 0014 0015 #ifndef _BRepCheck_Solid_HeaderFile 0016 #define _BRepCheck_Solid_HeaderFile 0017 0018 #include <Standard.hxx> 0019 #include <Standard_Type.hxx> 0020 0021 #include <BRepCheck_Result.hxx> 0022 class TopoDS_Solid; 0023 class TopoDS_Shape; 0024 0025 0026 class BRepCheck_Solid; 0027 DEFINE_STANDARD_HANDLE(BRepCheck_Solid, BRepCheck_Result) 0028 0029 //! The class is to check a solid. 0030 class BRepCheck_Solid : public BRepCheck_Result 0031 { 0032 0033 public: 0034 0035 0036 0037 //! Constructor 0038 //! <theS> is the solid to check 0039 Standard_EXPORT BRepCheck_Solid(const TopoDS_Solid& theS); 0040 0041 0042 //! Checks the solid in context of 0043 //! the shape <theContextShape> 0044 Standard_EXPORT virtual void InContext (const TopoDS_Shape& theContextShape) Standard_OVERRIDE; 0045 0046 0047 //! Checks the solid per se. 0048 //! 0049 //! The scan area is: 0050 //! 1. Shells that overlaps each other 0051 //! Status: BRepCheck_InvalidImbricationOfShells 0052 //! 0053 //! 2. Detached parts of the solid (vertices, edges) 0054 //! that have non-internal orientation 0055 //! Status: BRepCheck_BadOrientationOfSubshape 0056 //! 0057 //! 3. For closed, non-internal shells: 0058 //! 3.1 Shells containing entities of the solid that 0059 //! are outside towards the shells 0060 //! Status: BRepCheck_SubshapeNotInShape 0061 //! 0062 //! 3.2 Shells that encloses other Shells 0063 //! (for non-holes) 0064 //! Status: BRepCheck_EnclosedRegion 0065 Standard_EXPORT virtual void Minimum() Standard_OVERRIDE; 0066 0067 0068 //! see the parent class for more details 0069 Standard_EXPORT virtual void Blind() Standard_OVERRIDE; 0070 0071 0072 0073 0074 DEFINE_STANDARD_RTTIEXT(BRepCheck_Solid,BRepCheck_Result) 0075 0076 protected: 0077 0078 0079 0080 0081 private: 0082 0083 0084 0085 0086 }; 0087 0088 0089 0090 0091 0092 0093 0094 #endif // _BRepCheck_Solid_HeaderFile
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |