Back to home page

EIC code displayed by LXR

 
 

    


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

0001 // Created on: 1994-03-09
0002 // Created by: Isabelle GRIGNON
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 //=======================================================================
0018 // function : SetOfSurfData
0019 // purpose  :
0020 //=======================================================================
0021 
0022 inline const Handle(ChFiDS_HData)& ChFiDS_Stripe::SetOfSurfData() const
0023 {
0024   return myHdata;
0025 }
0026 
0027 //=======================================================================
0028 // function : Spine
0029 // purpose  :
0030 //=======================================================================
0031 
0032 inline const Handle(ChFiDS_Spine)& ChFiDS_Stripe::Spine() const
0033 {
0034   return mySpine;
0035 }
0036 
0037 //=======================================================================
0038 // function : OrientationOnFace1
0039 // purpose  :
0040 //=======================================================================
0041 
0042 inline TopAbs_Orientation ChFiDS_Stripe::OrientationOnFace1() const
0043 {
0044   return myOr1;
0045 }
0046 
0047 //=======================================================================
0048 // function : OrientationOnFace2
0049 // purpose  :
0050 //=======================================================================
0051 
0052 inline TopAbs_Orientation ChFiDS_Stripe::OrientationOnFace2() const
0053 {
0054   return myOr2;
0055 }
0056 
0057 //=======================================================================
0058 // function : Choix
0059 // purpose  :
0060 //=======================================================================
0061 
0062 inline Standard_Integer ChFiDS_Stripe::Choix() const
0063 {
0064   return myChoix;
0065 }
0066 
0067 //=======================================================================
0068 // function : ChangeSetOfSurfData
0069 // purpose  :
0070 //=======================================================================
0071 
0072 inline Handle(ChFiDS_HData)& ChFiDS_Stripe::ChangeSetOfSurfData()
0073 {
0074   return myHdata;
0075 }
0076 
0077 //=======================================================================
0078 // function : ChangeSpine
0079 // purpose  :
0080 //=======================================================================
0081 
0082 inline Handle(ChFiDS_Spine)& ChFiDS_Stripe::ChangeSpine()
0083 {
0084   return mySpine;
0085 }
0086 
0087 //=======================================================================
0088 // function : OrientationOnFace1
0089 // purpose  :
0090 //=======================================================================
0091 
0092 inline void ChFiDS_Stripe::OrientationOnFace1(const TopAbs_Orientation Or1)
0093 {
0094   myOr1 = Or1;
0095 }
0096 
0097 //=======================================================================
0098 // function : OrientationOnFace2
0099 // purpose  :
0100 //=======================================================================
0101 
0102 inline void ChFiDS_Stripe::OrientationOnFace2(const TopAbs_Orientation Or2)
0103 {
0104   myOr2 = Or2;
0105 }
0106 
0107 //=======================================================================
0108 // function : Choix
0109 // purpose  :
0110 //=======================================================================
0111 
0112 inline void ChFiDS_Stripe::Choix(const Standard_Integer C)
0113 {
0114   myChoix = C;
0115 }
0116 
0117 //=======================================================================
0118 // function : FirstParameters
0119 // purpose  :
0120 //=======================================================================
0121 
0122 inline void ChFiDS_Stripe::FirstParameters(Standard_Real& Pdeb, Standard_Real& Pfin) const
0123 {
0124   Pdeb = pardeb1;
0125   Pfin = parfin1;
0126 }
0127 
0128 //=======================================================================
0129 // function : lastParameters
0130 // purpose  :
0131 //=======================================================================
0132 
0133 inline void ChFiDS_Stripe::LastParameters(Standard_Real& Pdeb, Standard_Real& Pfin) const
0134 {
0135   Pdeb = pardeb2;
0136   Pfin = parfin2;
0137 }
0138 
0139 //=======================================================================
0140 // function : ChangeFirstParameters
0141 // purpose  :
0142 //=======================================================================
0143 
0144 inline void ChFiDS_Stripe::ChangeFirstParameters(const Standard_Real Pdeb, const Standard_Real Pfin)
0145 {
0146   pardeb1 = Pdeb;
0147   parfin1 = Pfin;
0148 }
0149 
0150 //=======================================================================
0151 // function : ChangeLastParameters
0152 // purpose  :
0153 //=======================================================================
0154 
0155 inline void ChFiDS_Stripe::ChangeLastParameters(const Standard_Real Pdeb, const Standard_Real Pfin)
0156 {
0157   pardeb2 = Pdeb;
0158   parfin2 = Pfin;
0159 }
0160 
0161 //=======================================================================
0162 // function : FirstCurve
0163 // purpose  :
0164 //=======================================================================
0165 
0166 inline Standard_Integer ChFiDS_Stripe::FirstCurve() const
0167 {
0168   return indexOfcurve1;
0169 }
0170 
0171 //=======================================================================
0172 // function : LastCurve
0173 // purpose  :
0174 //=======================================================================
0175 
0176 inline Standard_Integer ChFiDS_Stripe::LastCurve() const
0177 {
0178   return indexOfcurve2;
0179 }
0180 
0181 //=======================================================================
0182 // function : ChangeFirstCurve
0183 // purpose  :
0184 //=======================================================================
0185 
0186 inline void ChFiDS_Stripe::ChangeFirstCurve(const Standard_Integer Index)
0187 {
0188   indexOfcurve1 = Index;
0189 }
0190 
0191 //=======================================================================
0192 // function : ChangeLastCurve
0193 // purpose  :
0194 //=======================================================================
0195 
0196 inline void ChFiDS_Stripe::ChangeLastCurve(const Standard_Integer Index)
0197 {
0198   indexOfcurve2 = Index;
0199 }
0200 
0201 //=======================================================================
0202 // function : FirstPCurve
0203 // purpose  :
0204 //=======================================================================
0205 
0206 inline const Handle(Geom2d_Curve)& ChFiDS_Stripe::FirstPCurve() const
0207 {
0208   return pcrv1;
0209 }
0210 
0211 //=======================================================================
0212 // function : LastPCurve
0213 // purpose  :
0214 //=======================================================================
0215 
0216 inline const Handle(Geom2d_Curve)& ChFiDS_Stripe::LastPCurve() const
0217 {
0218   return pcrv2;
0219 }
0220 
0221 //=======================================================================
0222 // function : ChangeFirstPCurve
0223 // purpose  :
0224 //=======================================================================
0225 
0226 inline Handle(Geom2d_Curve)& ChFiDS_Stripe::ChangeFirstPCurve()
0227 {
0228   return pcrv1;
0229 }
0230 
0231 //=======================================================================
0232 // function : ChangeLastPCurve
0233 // purpose  :
0234 //=======================================================================
0235 
0236 inline Handle(Geom2d_Curve)& ChFiDS_Stripe::ChangeLastPCurve()
0237 {
0238   return pcrv2;
0239 }
0240 
0241 //=======================================================================
0242 // function : IndexFirstPointOnS1
0243 // purpose  :
0244 //=======================================================================
0245 
0246 inline Standard_Integer ChFiDS_Stripe::IndexFirstPointOnS1() const
0247 {
0248   return indexfirstPOnS1;
0249 }
0250 
0251 //=======================================================================
0252 // function : IndexLastPointOnS1
0253 // purpose  :
0254 //=======================================================================
0255 
0256 inline Standard_Integer ChFiDS_Stripe::IndexLastPointOnS1() const
0257 {
0258   return indexlastPOnS1;
0259 }
0260 
0261 //=======================================================================
0262 // function : IndexFirstPointOnS2
0263 // purpose  :
0264 //=======================================================================
0265 
0266 inline Standard_Integer ChFiDS_Stripe::IndexFirstPointOnS2() const
0267 {
0268   return indexfirstPOnS2;
0269 }
0270 
0271 //=======================================================================
0272 // function : IndexLastPointOnS2
0273 // purpose  :
0274 //=======================================================================
0275 
0276 inline Standard_Integer ChFiDS_Stripe::IndexLastPointOnS2() const
0277 {
0278   return indexlastPOnS2;
0279 }
0280 
0281 //=======================================================================
0282 // function : ChangeIndexFirstPointOnS1
0283 // purpose  :
0284 //=======================================================================
0285 
0286 inline void ChFiDS_Stripe::ChangeIndexFirstPointOnS1(const Standard_Integer Index)
0287 {
0288   indexfirstPOnS1 = Index;
0289 }
0290 
0291 //=======================================================================
0292 // function : ChangeIndexLastPointOnS1
0293 // purpose  :
0294 //=======================================================================
0295 
0296 inline void ChFiDS_Stripe::ChangeIndexLastPointOnS1(const Standard_Integer Index)
0297 {
0298   indexlastPOnS1 = Index;
0299 }
0300 
0301 //=======================================================================
0302 // function : ChangeIndexFirstPointOnS2
0303 // purpose  :
0304 //=======================================================================
0305 
0306 inline void ChFiDS_Stripe::ChangeIndexFirstPointOnS2(const Standard_Integer Index)
0307 {
0308   indexfirstPOnS2 = Index;
0309 }
0310 
0311 //=======================================================================
0312 // function : ChangeIndexLastPointOnS2
0313 // purpose  :
0314 //=======================================================================
0315 
0316 inline void ChFiDS_Stripe::ChangeIndexLastPointOnS2(const Standard_Integer Index)
0317 {
0318   indexlastPOnS2 = Index;
0319 }
0320 
0321 //=======================================================================
0322 // function : FirstPCurveOrientation
0323 // purpose  :
0324 //=======================================================================
0325 
0326 inline TopAbs_Orientation ChFiDS_Stripe::FirstPCurveOrientation() const
0327 {
0328   return orcurv1;
0329 }
0330 
0331 //=======================================================================
0332 // function : LastPCurveOrientation
0333 // purpose  :
0334 //=======================================================================
0335 
0336 inline TopAbs_Orientation ChFiDS_Stripe::LastPCurveOrientation() const
0337 {
0338   return orcurv2;
0339 }
0340 
0341 //=======================================================================
0342 // function : FirstPCurveOrientation
0343 // purpose  :
0344 //=======================================================================
0345 
0346 inline void ChFiDS_Stripe::FirstPCurveOrientation(const TopAbs_Orientation O)
0347 {
0348   orcurv1 = O;
0349 }
0350 
0351 //=======================================================================
0352 // function : LastPCurveOrientation
0353 // purpose  :
0354 //=======================================================================
0355 
0356 inline void ChFiDS_Stripe::LastPCurveOrientation(const TopAbs_Orientation O)
0357 {
0358   orcurv2 = O;
0359 }