Back to home page

EIC code displayed by LXR

 
 

    


Warning, /include/opencascade/TopBas_Interference.lxx is written in an unsupported language. File is not indexed.

0001 // Copyright (c) 1995-1999 Matra Datavision
0002 // Copyright (c) 1999-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 //=======================================================================
0016 //function : Intersection
0017 //purpose  : 
0018 //=======================================================================
0019 
0020 inline void TopBas_Interference::Intersection(const TheSubShape& I)
0021 {
0022   myIntersection = I;
0023 }
0024 
0025 //=======================================================================
0026 //function : Boundary
0027 //purpose  : 
0028 //=======================================================================
0029 
0030 inline void TopBas_Interference::Boundary(const TheShape& B)
0031 {
0032   myBoundary = B;
0033 }
0034 
0035 //=======================================================================
0036 //function : Orientation
0037 //purpose  : 
0038 //=======================================================================
0039 
0040 inline void TopBas_Interference::Orientation(const TopAbs_Orientation Or)
0041 {
0042   myOrientation = Or;
0043 }
0044 
0045 //=======================================================================
0046 //function : Transition
0047 //purpose  : 
0048 //=======================================================================
0049 
0050 inline void TopBas_Interference::Transition(const TopAbs_Orientation Or)
0051 {
0052   myTransition = Or;
0053 }
0054 
0055 //=======================================================================
0056 //function : BoundaryTransition
0057 //purpose  : 
0058 //=======================================================================
0059 
0060 inline void TopBas_Interference::BoundaryTransition
0061   (const TopAbs_Orientation Or)
0062 {
0063   myBTransition = Or;
0064 }
0065 
0066 //=======================================================================
0067 //function : Intersection
0068 //purpose  : 
0069 //=======================================================================
0070 
0071 inline const TheSubShape& TopBas_Interference::Intersection() const
0072 {
0073   return myIntersection;
0074 }
0075 
0076 //=======================================================================
0077 //function : ChangeIntersection
0078 //purpose  : 
0079 //=======================================================================
0080 
0081 inline TheSubShape& TopBas_Interference::ChangeIntersection()
0082 {
0083   return myIntersection;
0084 }
0085 
0086 //=======================================================================
0087 //function : Boundary
0088 //purpose  : 
0089 //=======================================================================
0090 
0091 inline const TheShape& TopBas_Interference::Boundary() const 
0092 {
0093   return myBoundary;
0094 }
0095 
0096 //=======================================================================
0097 //function : ChangeBoundary
0098 //purpose  : 
0099 //=======================================================================
0100 
0101 inline TheShape& TopBas_Interference::ChangeBoundary() 
0102 {
0103   return myBoundary;
0104 }
0105 
0106 //=======================================================================
0107 //function : Orientation
0108 //purpose  : 
0109 //=======================================================================
0110 
0111 inline TopAbs_Orientation TopBas_Interference::Orientation() const
0112 {
0113   return myOrientation;
0114 }
0115 
0116 //=======================================================================
0117 //function : Transition
0118 //purpose  : 
0119 //=======================================================================
0120 
0121 inline TopAbs_Orientation TopBas_Interference::Transition() const
0122 {
0123   return myTransition;
0124 }
0125 
0126 //=======================================================================
0127 //function : BoundaryTransition
0128 //purpose  : 
0129 //=======================================================================
0130 
0131 inline TopAbs_Orientation TopBas_Interference::BoundaryTransition() const
0132 {
0133   return myBTransition;
0134 }