|
|
|||
File indexing completed on 2026-09-25 09:21:44
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 //! Interference 0031 class TopOpeBRepDS_ShapeShapeInterference : public TopOpeBRepDS_Interference 0032 { 0033 0034 public: 0035 //! a shape interferes on shape <G> with shape <S>. 0036 //! examples : 0037 //! create a ShapeShapeInterference describing : 0038 //! vertex V of edge E1 found on edge E2 : 0039 //! ST,S,GT,G = TopOpeBRepDS_EDGE,E2,TopOpeBRepDS_VERTEX,V 0040 //! 0041 //! create a ShapeShapeInterference describing 0042 //! vertex V of edge E found on face F : 0043 //! ST,S,GT,G = TopOpeBRepDS_FACE,F,TopOpeBRepDS_VERTEX,V 0044 //! 0045 //! <GBound> indicates if shape <G> is a bound of shape <S>. 0046 //! 0047 //! <SCC> : 0048 //! UNSH_GEOMETRY : 0049 //! <S> and <Ancestor> have any types, 0050 //! <S> and <Ancestor> don't share the same geometry 0051 //! SAME_ORIENTED : 0052 //! <S> and <Ancestor> have identical types, 0053 //! <S> and <Ancestor> orientations are IDENTICAL. 0054 //! DIFF_ORIENTED : 0055 //! <S> and <Ancestor> have identical types, 0056 //! <S> and <Ancestor> orientations are DIFFERENT. 0057 Standard_EXPORT TopOpeBRepDS_ShapeShapeInterference(const TopOpeBRepDS_Transition& T, 0058 const TopOpeBRepDS_Kind ST, 0059 const int S, 0060 const TopOpeBRepDS_Kind GT, 0061 const int G, 0062 const bool GBound, 0063 const TopOpeBRepDS_Config C); 0064 0065 Standard_EXPORT TopOpeBRepDS_Config Config() const; 0066 0067 Standard_EXPORT bool GBound() const; 0068 0069 Standard_EXPORT void SetGBound(const bool b); 0070 0071 DEFINE_STANDARD_RTTIEXT(TopOpeBRepDS_ShapeShapeInterference, TopOpeBRepDS_Interference) 0072 0073 private: 0074 bool myGBound; 0075 TopOpeBRepDS_Config myC; 0076 }; 0077 0078 #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 |
|