1 // Created on: 2005-10-05
2 // Created by: Mikhail KLOKOV
3 // Copyright (c) 2005-2014 OPEN CASCADE SAS
5 // This file is part of Open CASCADE Technology software library.
7 // This library is free software; you can redistribute it and/or modify it under
8 // the terms of the GNU Lesser General Public License version 2.1 as published
9 // by the Free Software Foundation, with special exception defined in the file
10 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11 // distribution for complete text of the license and disclaimer of any warranty.
13 // Alternatively, this file may be used under the terms of Open CASCADE
14 // commercial license or contractual agreement.
16 inline void IntTools_SurfaceRangeSample::SetRanges(const IntTools_CurveRangeSample& theRangeU,
17 const IntTools_CurveRangeSample& theRangeV)
24 inline void IntTools_SurfaceRangeSample::GetRanges(IntTools_CurveRangeSample& theRangeU,
25 IntTools_CurveRangeSample& theRangeV) const
32 inline void IntTools_SurfaceRangeSample::SetIndexes(const Standard_Integer theIndexU,
33 const Standard_Integer theIndexV)
35 myRangeU.SetRangeIndex(theIndexU);
36 myRangeV.SetRangeIndex(theIndexV);
40 inline void IntTools_SurfaceRangeSample::GetIndexes(Standard_Integer& theIndexU,Standard_Integer& theIndexV) const
42 theIndexU = myRangeU.GetRangeIndex();
43 theIndexV = myRangeV.GetRangeIndex();
47 inline void IntTools_SurfaceRangeSample::GetDepths(Standard_Integer& theDepthU,Standard_Integer& theDepthV) const
49 theDepthU = myRangeU.GetDepth();
50 theDepthV = myRangeV.GetDepth();
54 inline void IntTools_SurfaceRangeSample::SetSampleRangeU(const IntTools_CurveRangeSample& theRangeSampleU)
56 myRangeU = theRangeSampleU;
60 inline const IntTools_CurveRangeSample& IntTools_SurfaceRangeSample::GetSampleRangeU() const
66 inline void IntTools_SurfaceRangeSample::SetSampleRangeV(const IntTools_CurveRangeSample& theRangeSampleV)
68 myRangeV = theRangeSampleV;
72 inline const IntTools_CurveRangeSample& IntTools_SurfaceRangeSample::GetSampleRangeV() const
78 inline void IntTools_SurfaceRangeSample::SetIndexU(const Standard_Integer theIndexU)
80 myRangeU.SetRangeIndex(theIndexU);
84 inline Standard_Integer IntTools_SurfaceRangeSample::GetIndexU() const
86 return myRangeU.GetRangeIndex();
90 inline void IntTools_SurfaceRangeSample::SetIndexV(const Standard_Integer theIndexV)
92 myRangeV.SetRangeIndex(theIndexV);
96 inline Standard_Integer IntTools_SurfaceRangeSample::GetIndexV() const
98 return myRangeV.GetRangeIndex();
102 inline void IntTools_SurfaceRangeSample::SetDepthU(const Standard_Integer theDepthU)
104 myRangeU.SetDepth(theDepthU);
108 inline Standard_Integer IntTools_SurfaceRangeSample::GetDepthU() const
110 return myRangeU.GetDepth();
114 inline void IntTools_SurfaceRangeSample::SetDepthV(const Standard_Integer theDepthV)
116 myRangeV.SetDepth(theDepthV);
120 inline Standard_Integer IntTools_SurfaceRangeSample::GetDepthV() const
122 return myRangeV.GetDepth();
125 inline Standard_Boolean IntTools_SurfaceRangeSample::IsEqual(const IntTools_SurfaceRangeSample& Other) const
127 return (myRangeU.IsEqual(Other.myRangeU) && myRangeV.IsEqual(Other.myRangeV));
131 inline Standard_Integer IntTools_SurfaceRangeSample::GetRangeIndexUDeeper(const Standard_Integer theNbSampleU) const
133 return myRangeU.GetRangeIndexDeeper(theNbSampleU);
137 inline Standard_Integer IntTools_SurfaceRangeSample::GetRangeIndexVDeeper(const Standard_Integer theNbSampleV) const
139 return myRangeV.GetRangeIndexDeeper(theNbSampleV);