Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-07 08:44:47

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 class BRepCheck_Solid;
0026 DEFINE_STANDARD_HANDLE(BRepCheck_Solid, BRepCheck_Result)
0027 
0028 //! The class is to check a solid.
0029 class BRepCheck_Solid : public BRepCheck_Result
0030 {
0031 
0032 public:
0033   //! Constructor
0034   //! <theS> is the solid to check
0035   Standard_EXPORT BRepCheck_Solid(const TopoDS_Solid& theS);
0036 
0037   //! Checks the solid in context of
0038   //! the shape <theContextShape>
0039   Standard_EXPORT virtual void InContext(const TopoDS_Shape& theContextShape) Standard_OVERRIDE;
0040 
0041   //! Checks the solid per se.
0042   //!
0043   //! The scan area is:
0044   //! 1.  Shells that overlaps each other
0045   //! Status:  BRepCheck_InvalidImbricationOfShells
0046   //!
0047   //! 2.  Detached parts of the solid (vertices, edges)
0048   //! that have non-internal orientation
0049   //! Status:  BRepCheck_BadOrientationOfSubshape
0050   //!
0051   //! 3.  For closed, non-internal shells:
0052   //! 3.1 Shells containing entities  of the solid that
0053   //! are outside towards the shells
0054   //! Status:  BRepCheck_SubshapeNotInShape
0055   //!
0056   //! 3.2 Shells that encloses other Shells
0057   //! (for non-holes)
0058   //! Status:  BRepCheck_EnclosedRegion
0059   Standard_EXPORT virtual void Minimum() Standard_OVERRIDE;
0060 
0061   //! see the parent class for more details
0062   Standard_EXPORT virtual void Blind() Standard_OVERRIDE;
0063 
0064   DEFINE_STANDARD_RTTIEXT(BRepCheck_Solid, BRepCheck_Result)
0065 
0066 protected:
0067 private:
0068 };
0069 
0070 #endif // _BRepCheck_Solid_HeaderFile