Back to home page

EIC code displayed by LXR

 
 

    


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

0001 // Created on: 1993-11-10
0002 // Created by: Jean Yves LEBEY
0003 // Copyright (c) 1993-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 #include <IntPatch_Point.hxx>
0018 
0019 //=================================================================================================
0020 
0021 inline TopOpeBRep_VPointInter::TopOpeBRep_VPointInter()
0022     : myPPOI(nullptr),
0023       myShapeIndex(0),
0024       myState1(TopAbs_UNKNOWN),
0025       myState2(TopAbs_UNKNOWN),
0026       myKeep(false),
0027       myEdgeONPar1(0.),
0028       myEdgeONPar2(0.),
0029       myIndex(0),
0030       myS1(0),
0031       myS2(0)
0032 {
0033 }
0034 
0035 //=================================================================================================
0036 
0037 inline void TopOpeBRep_VPointInter::SetShapes(const int I1, const int I2)
0038 {
0039   myS1 = I1;
0040   myS2 = I2;
0041 }
0042 
0043 //=================================================================================================
0044 
0045 inline void TopOpeBRep_VPointInter::GetShapes(int& I1, int& I2) const
0046 {
0047   I1 = myS1;
0048   I2 = myS2;
0049 }
0050 
0051 //=================================================================================================
0052 
0053 inline IntSurf_Transition TopOpeBRep_VPointInter::TransitionOnS1() const
0054 {
0055   return myPPOI->TransitionOnS1();
0056 }
0057 
0058 //=================================================================================================
0059 
0060 inline IntSurf_Transition TopOpeBRep_VPointInter::TransitionOnS2() const
0061 {
0062   return myPPOI->TransitionOnS2();
0063 }
0064 
0065 //=================================================================================================
0066 
0067 inline IntSurf_Transition TopOpeBRep_VPointInter::TransitionLineArc1() const
0068 {
0069   return myPPOI->TransitionLineArc1();
0070 }
0071 
0072 //=================================================================================================
0073 
0074 inline IntSurf_Transition TopOpeBRep_VPointInter::TransitionLineArc2() const
0075 {
0076   return myPPOI->TransitionLineArc2();
0077 }
0078 
0079 //=================================================================================================
0080 
0081 inline bool TopOpeBRep_VPointInter::IsOnDomS1() const
0082 {
0083   return myPPOI->IsOnDomS1();
0084 }
0085 
0086 //=================================================================================================
0087 
0088 inline bool TopOpeBRep_VPointInter::IsOnDomS2() const
0089 {
0090   return myPPOI->IsOnDomS2();
0091 }
0092 
0093 //=================================================================================================
0094 
0095 inline void TopOpeBRep_VPointInter::ParametersOnS1(double& u, double& v) const
0096 {
0097   myPPOI->ParametersOnS1(u, v);
0098 }
0099 
0100 //=================================================================================================
0101 
0102 inline void TopOpeBRep_VPointInter::ParametersOnS2(double& u, double& v) const
0103 {
0104   myPPOI->ParametersOnS2(u, v);
0105 }
0106 
0107 //=================================================================================================
0108 
0109 inline const gp_Pnt& TopOpeBRep_VPointInter::Value() const
0110 {
0111   return myPPOI->Value();
0112 }
0113 
0114 //=================================================================================================
0115 
0116 inline double TopOpeBRep_VPointInter::Tolerance() const
0117 {
0118   return myPPOI->Tolerance();
0119 }
0120 
0121 //=================================================================================================
0122 
0123 inline double TopOpeBRep_VPointInter::ParameterOnLine() const
0124 {
0125   return myPPOI->ParameterOnLine();
0126 }
0127 
0128 //=================================================================================================
0129 
0130 inline double TopOpeBRep_VPointInter::ParameterOnArc1() const
0131 {
0132   return myPPOI->ParameterOnArc1();
0133 }
0134 
0135 //=================================================================================================
0136 
0137 inline double TopOpeBRep_VPointInter::ParameterOnArc2() const
0138 {
0139   return myPPOI->ParameterOnArc2();
0140 }
0141 
0142 //=================================================================================================
0143 
0144 inline bool TopOpeBRep_VPointInter::IsVertexOnS1() const
0145 {
0146   return myPPOI->IsVertexOnS1();
0147 }
0148 
0149 //=================================================================================================
0150 
0151 inline bool TopOpeBRep_VPointInter::IsVertexOnS2() const
0152 {
0153   return myPPOI->IsVertexOnS2();
0154 }
0155 
0156 //=================================================================================================
0157 
0158 inline bool TopOpeBRep_VPointInter::IsMultiple() const
0159 {
0160   return myPPOI->IsMultiple();
0161 }
0162 
0163 //=================================================================================================
0164 
0165 inline bool TopOpeBRep_VPointInter::IsInternal() const
0166 {
0167   return false;
0168 }
0169 
0170 //=================================================================================================
0171 
0172 inline int TopOpeBRep_VPointInter::ShapeIndex() const
0173 {
0174   return myShapeIndex;
0175 }
0176 
0177 //=================================================================================================
0178 
0179 inline void TopOpeBRep_VPointInter::ShapeIndex(const int I)
0180 {
0181   myShapeIndex = I;
0182 }
0183 
0184 //=================================================================================================
0185 
0186 inline bool TopOpeBRep_VPointInter::Keep() const
0187 {
0188   return myKeep;
0189 }
0190 
0191 //=================================================================================================
0192 
0193 inline void TopOpeBRep_VPointInter::ChangeKeep(const bool keep)
0194 {
0195   myKeep = keep;
0196 }
0197 
0198 //=================================================================================================
0199 
0200 inline void TopOpeBRep_VPointInter::Index(const int I)
0201 {
0202   myIndex = I;
0203 }
0204 
0205 //=================================================================================================
0206 
0207 inline int TopOpeBRep_VPointInter::Index() const
0208 {
0209   return myIndex;
0210 }