|
||||
File indexing completed on 2025-01-18 10:05:27
0001 // Created on: 1994-08-30 0002 // Created by: Jean Yves LEBEY 0003 // Copyright (c) 1994-1999 Matra Datavision 0004 // Copyright (c) 1999-2014 OPEN CASCADE SAS 0005 // 0006 // This file is part of Open CASCADE Technology software library. 0007 // 0008 // This library is free software; you can redistribute it and/or modify it under 0009 // the terms of the GNU Lesser General Public License version 2.1 as published 0010 // by the Free Software Foundation, with special exception defined in the file 0011 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT 0012 // distribution for complete text of the license and disclaimer of any warranty. 0013 // 0014 // Alternatively, this file may be used under the terms of Open CASCADE 0015 // commercial license or contractual agreement. 0016 0017 #ifndef _TopOpeBRepDS_ShapeShapeInterference_HeaderFile 0018 #define _TopOpeBRepDS_ShapeShapeInterference_HeaderFile 0019 0020 #include <Standard.hxx> 0021 #include <Standard_Type.hxx> 0022 0023 #include <TopOpeBRepDS_Config.hxx> 0024 #include <TopOpeBRepDS_Interference.hxx> 0025 #include <TopOpeBRepDS_Kind.hxx> 0026 #include <Standard_Integer.hxx> 0027 #include <Standard_OStream.hxx> 0028 class TopOpeBRepDS_Transition; 0029 0030 0031 class TopOpeBRepDS_ShapeShapeInterference; 0032 DEFINE_STANDARD_HANDLE(TopOpeBRepDS_ShapeShapeInterference, TopOpeBRepDS_Interference) 0033 0034 //! Interference 0035 class TopOpeBRepDS_ShapeShapeInterference : public TopOpeBRepDS_Interference 0036 { 0037 0038 public: 0039 0040 0041 //! a shape interfers on shape <G> with shape <S>. 0042 //! examples : 0043 //! create a ShapeShapeInterference describing : 0044 //! vertex V of edge E1 found on edge E2 : 0045 //! ST,S,GT,G = TopOpeBRepDS_EDGE,E2,TopOpeBRepDS_VERTEX,V 0046 //! 0047 //! create a ShapeShapeInterference describing 0048 //! vertex V of edge E found on face F : 0049 //! ST,S,GT,G = TopOpeBRepDS_FACE,F,TopOpeBRepDS_VERTEX,V 0050 //! 0051 //! <GBound> indicates if shape <G> is a bound of shape <S>. 0052 //! 0053 //! <SCC> : 0054 //! UNSH_GEOMETRY : 0055 //! <S> and <Ancestor> have any types, 0056 //! <S> and <Ancestor> don't share the same geometry 0057 //! SAME_ORIENTED : 0058 //! <S> and <Ancestor> have identical types, 0059 //! <S> and <Ancestor> orientations are IDENTICAL. 0060 //! DIFF_ORIENTED : 0061 //! <S> and <Ancestor> have identical types, 0062 //! <S> and <Ancestor> orientations are DIFFERENT. 0063 Standard_EXPORT TopOpeBRepDS_ShapeShapeInterference(const TopOpeBRepDS_Transition& T, const TopOpeBRepDS_Kind ST, const Standard_Integer S, const TopOpeBRepDS_Kind GT, const Standard_Integer G, const Standard_Boolean GBound, const TopOpeBRepDS_Config C); 0064 0065 Standard_EXPORT TopOpeBRepDS_Config Config() const; 0066 0067 Standard_EXPORT Standard_Boolean GBound() const; 0068 0069 Standard_EXPORT void SetGBound (const Standard_Boolean b); 0070 0071 0072 0073 0074 DEFINE_STANDARD_RTTIEXT(TopOpeBRepDS_ShapeShapeInterference,TopOpeBRepDS_Interference) 0075 0076 protected: 0077 0078 0079 0080 0081 private: 0082 0083 0084 Standard_Boolean myGBound; 0085 TopOpeBRepDS_Config myC; 0086 0087 0088 }; 0089 0090 0091 0092 0093 0094 0095 0096 #endif // _TopOpeBRepDS_ShapeShapeInterference_HeaderFile
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |