1 // Created on: 2005-10-05
2 // Created by: Mikhail KLOKOV
3 // Copyright (c) 2005-2012 OPEN CASCADE SAS
5 // The content of this file is subject to the Open CASCADE Technology Public
6 // License Version 6.5 (the "License"). You may not use the content of this file
7 // except in compliance with the License. Please obtain a copy of the License
8 // at http://www.opencascade.org and read it completely before using this file.
10 // The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
11 // main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
13 // The Original Code and all software distributed under the License is
14 // distributed on an "AS IS" basis, without warranty of any kind, and the
15 // Initial Developer hereby disclaims all such warranties, including without
16 // limitation, any warranties of merchantability, fitness for a particular
17 // purpose or non-infringement. Please see the License for the specific terms
18 // and conditions governing the rights and limitations under the License.
22 inline void IntTools_SurfaceRangeSample::SetRanges(const IntTools_CurveRangeSample& theRangeU,
23 const IntTools_CurveRangeSample& theRangeV)
30 inline void IntTools_SurfaceRangeSample::GetRanges(IntTools_CurveRangeSample& theRangeU,
31 IntTools_CurveRangeSample& theRangeV) const
38 inline void IntTools_SurfaceRangeSample::SetIndexes(const Standard_Integer theIndexU,
39 const Standard_Integer theIndexV)
41 myRangeU.SetRangeIndex(theIndexU);
42 myRangeV.SetRangeIndex(theIndexV);
46 inline void IntTools_SurfaceRangeSample::GetIndexes(Standard_Integer& theIndexU,Standard_Integer& theIndexV) const
48 theIndexU = myRangeU.GetRangeIndex();
49 theIndexV = myRangeV.GetRangeIndex();
53 inline void IntTools_SurfaceRangeSample::GetDepths(Standard_Integer& theDepthU,Standard_Integer& theDepthV) const
55 theDepthU = myRangeU.GetDepth();
56 theDepthV = myRangeV.GetDepth();
60 inline void IntTools_SurfaceRangeSample::SetSampleRangeU(const IntTools_CurveRangeSample& theRangeSampleU)
62 myRangeU = theRangeSampleU;
66 inline const IntTools_CurveRangeSample& IntTools_SurfaceRangeSample::GetSampleRangeU() const
72 inline void IntTools_SurfaceRangeSample::SetSampleRangeV(const IntTools_CurveRangeSample& theRangeSampleV)
74 myRangeV = theRangeSampleV;
78 inline const IntTools_CurveRangeSample& IntTools_SurfaceRangeSample::GetSampleRangeV() const
84 inline void IntTools_SurfaceRangeSample::SetIndexU(const Standard_Integer theIndexU)
86 myRangeU.SetRangeIndex(theIndexU);
90 inline Standard_Integer IntTools_SurfaceRangeSample::GetIndexU() const
92 return myRangeU.GetRangeIndex();
96 inline void IntTools_SurfaceRangeSample::SetIndexV(const Standard_Integer theIndexV)
98 myRangeV.SetRangeIndex(theIndexV);
102 inline Standard_Integer IntTools_SurfaceRangeSample::GetIndexV() const
104 return myRangeV.GetRangeIndex();
108 inline void IntTools_SurfaceRangeSample::SetDepthU(const Standard_Integer theDepthU)
110 myRangeU.SetDepth(theDepthU);
114 inline Standard_Integer IntTools_SurfaceRangeSample::GetDepthU() const
116 return myRangeU.GetDepth();
120 inline void IntTools_SurfaceRangeSample::SetDepthV(const Standard_Integer theDepthV)
122 myRangeV.SetDepth(theDepthV);
126 inline Standard_Integer IntTools_SurfaceRangeSample::GetDepthV() const
128 return myRangeV.GetDepth();
131 inline Standard_Boolean IntTools_SurfaceRangeSample::IsEqual(const IntTools_SurfaceRangeSample& Other) const
133 return (myRangeU.IsEqual(Other.myRangeU) && myRangeV.IsEqual(Other.myRangeV));
137 inline Standard_Integer IntTools_SurfaceRangeSample::GetRangeIndexUDeeper(const Standard_Integer theNbSampleU) const
139 return myRangeU.GetRangeIndexDeeper(theNbSampleU);
143 inline Standard_Integer IntTools_SurfaceRangeSample::GetRangeIndexVDeeper(const Standard_Integer theNbSampleV) const
145 return myRangeV.GetRangeIndexDeeper(theNbSampleV);