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
0019 inline const occ::handle<NCollection_HSequence<occ::handle<ChFiDS_SurfData>>>& ChFiDS_Stripe::
0020 SetOfSurfData() const
0021 {
0022 return myHdata;
0023 }
0024
0025 //=================================================================================================
0026
0027 inline const occ::handle<ChFiDS_Spine>& ChFiDS_Stripe::Spine() const
0028 {
0029 return mySpine;
0030 }
0031
0032 //=================================================================================================
0033
0034 inline TopAbs_Orientation ChFiDS_Stripe::OrientationOnFace1() const
0035 {
0036 return myOr1;
0037 }
0038
0039 //=================================================================================================
0040
0041 inline TopAbs_Orientation ChFiDS_Stripe::OrientationOnFace2() const
0042 {
0043 return myOr2;
0044 }
0045
0046 //=================================================================================================
0047
0048 inline int ChFiDS_Stripe::Choix() const
0049 {
0050 return myChoix;
0051 }
0052
0053 //=================================================================================================
0054
0055 inline occ::handle<NCollection_HSequence<occ::handle<ChFiDS_SurfData>>>& ChFiDS_Stripe::
0056 ChangeSetOfSurfData()
0057 {
0058 return myHdata;
0059 }
0060
0061 //=================================================================================================
0062
0063 inline occ::handle<ChFiDS_Spine>& ChFiDS_Stripe::ChangeSpine()
0064 {
0065 return mySpine;
0066 }
0067
0068 //=================================================================================================
0069
0070 inline void ChFiDS_Stripe::OrientationOnFace1(const TopAbs_Orientation Or1)
0071 {
0072 myOr1 = Or1;
0073 }
0074
0075 //=================================================================================================
0076
0077 inline void ChFiDS_Stripe::OrientationOnFace2(const TopAbs_Orientation Or2)
0078 {
0079 myOr2 = Or2;
0080 }
0081
0082 //=================================================================================================
0083
0084 inline void ChFiDS_Stripe::Choix(const int C)
0085 {
0086 myChoix = C;
0087 }
0088
0089 //=================================================================================================
0090
0091 inline void ChFiDS_Stripe::FirstParameters(double& Pdeb, double& Pfin) const
0092 {
0093 Pdeb = pardeb1;
0094 Pfin = parfin1;
0095 }
0096
0097 //=================================================================================================
0098
0099 inline void ChFiDS_Stripe::LastParameters(double& Pdeb, double& Pfin) const
0100 {
0101 Pdeb = pardeb2;
0102 Pfin = parfin2;
0103 }
0104
0105 //=================================================================================================
0106
0107 inline void ChFiDS_Stripe::ChangeFirstParameters(const double Pdeb, const double Pfin)
0108 {
0109 pardeb1 = Pdeb;
0110 parfin1 = Pfin;
0111 }
0112
0113 //=================================================================================================
0114
0115 inline void ChFiDS_Stripe::ChangeLastParameters(const double Pdeb, const double Pfin)
0116 {
0117 pardeb2 = Pdeb;
0118 parfin2 = Pfin;
0119 }
0120
0121 //=================================================================================================
0122
0123 inline int ChFiDS_Stripe::FirstCurve() const
0124 {
0125 return indexOfcurve1;
0126 }
0127
0128 //=================================================================================================
0129
0130 inline int ChFiDS_Stripe::LastCurve() const
0131 {
0132 return indexOfcurve2;
0133 }
0134
0135 //=================================================================================================
0136
0137 inline void ChFiDS_Stripe::ChangeFirstCurve(const int Index)
0138 {
0139 indexOfcurve1 = Index;
0140 }
0141
0142 //=================================================================================================
0143
0144 inline void ChFiDS_Stripe::ChangeLastCurve(const int Index)
0145 {
0146 indexOfcurve2 = Index;
0147 }
0148
0149 //=================================================================================================
0150
0151 inline const occ::handle<Geom2d_Curve>& ChFiDS_Stripe::FirstPCurve() const
0152 {
0153 return pcrv1;
0154 }
0155
0156 //=================================================================================================
0157
0158 inline const occ::handle<Geom2d_Curve>& ChFiDS_Stripe::LastPCurve() const
0159 {
0160 return pcrv2;
0161 }
0162
0163 //=================================================================================================
0164
0165 inline occ::handle<Geom2d_Curve>& ChFiDS_Stripe::ChangeFirstPCurve()
0166 {
0167 return pcrv1;
0168 }
0169
0170 //=================================================================================================
0171
0172 inline occ::handle<Geom2d_Curve>& ChFiDS_Stripe::ChangeLastPCurve()
0173 {
0174 return pcrv2;
0175 }
0176
0177 //=================================================================================================
0178
0179 inline int ChFiDS_Stripe::IndexFirstPointOnS1() const
0180 {
0181 return indexfirstPOnS1;
0182 }
0183
0184 //=================================================================================================
0185
0186 inline int ChFiDS_Stripe::IndexLastPointOnS1() const
0187 {
0188 return indexlastPOnS1;
0189 }
0190
0191 //=================================================================================================
0192
0193 inline int ChFiDS_Stripe::IndexFirstPointOnS2() const
0194 {
0195 return indexfirstPOnS2;
0196 }
0197
0198 //=================================================================================================
0199
0200 inline int ChFiDS_Stripe::IndexLastPointOnS2() const
0201 {
0202 return indexlastPOnS2;
0203 }
0204
0205 //=================================================================================================
0206
0207 inline void ChFiDS_Stripe::ChangeIndexFirstPointOnS1(const int Index)
0208 {
0209 indexfirstPOnS1 = Index;
0210 }
0211
0212 //=================================================================================================
0213
0214 inline void ChFiDS_Stripe::ChangeIndexLastPointOnS1(const int Index)
0215 {
0216 indexlastPOnS1 = Index;
0217 }
0218
0219 //=================================================================================================
0220
0221 inline void ChFiDS_Stripe::ChangeIndexFirstPointOnS2(const int Index)
0222 {
0223 indexfirstPOnS2 = Index;
0224 }
0225
0226 //=================================================================================================
0227
0228 inline void ChFiDS_Stripe::ChangeIndexLastPointOnS2(const int Index)
0229 {
0230 indexlastPOnS2 = Index;
0231 }
0232
0233 //=================================================================================================
0234
0235 inline TopAbs_Orientation ChFiDS_Stripe::FirstPCurveOrientation() const
0236 {
0237 return orcurv1;
0238 }
0239
0240 //=================================================================================================
0241
0242 inline TopAbs_Orientation ChFiDS_Stripe::LastPCurveOrientation() const
0243 {
0244 return orcurv2;
0245 }
0246
0247 //=================================================================================================
0248
0249 inline void ChFiDS_Stripe::FirstPCurveOrientation(const TopAbs_Orientation O)
0250 {
0251 orcurv1 = O;
0252 }
0253
0254 //=================================================================================================
0255
0256 inline void ChFiDS_Stripe::LastPCurveOrientation(const TopAbs_Orientation O)
0257 {
0258 orcurv2 = O;
0259 }