mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-18 07:57:31 +08:00
Integration of OCCT 6.5.0 from SVN
This commit is contained in:
26
src/IntTools/IntTools_CurveRangeSample.lxx
Executable file
26
src/IntTools/IntTools_CurveRangeSample.lxx
Executable file
@@ -0,0 +1,26 @@
|
||||
// File: IntTools_CurveRangeSample.lxx
|
||||
// Created: Wed Oct 5 17:05:28 2005
|
||||
// Author: Mikhail KLOKOV
|
||||
// <mkk@kurox>
|
||||
|
||||
inline void IntTools_CurveRangeSample::SetRangeIndex(const Standard_Integer theIndex)
|
||||
{
|
||||
myIndex = theIndex;
|
||||
}
|
||||
|
||||
|
||||
inline Standard_Integer IntTools_CurveRangeSample::GetRangeIndex() const
|
||||
{
|
||||
return myIndex;
|
||||
}
|
||||
|
||||
inline Standard_Boolean IntTools_CurveRangeSample::IsEqual(const IntTools_CurveRangeSample& Other) const
|
||||
{
|
||||
return ((myIndex == Other.myIndex) && (GetDepth() == Other.GetDepth()));
|
||||
}
|
||||
|
||||
|
||||
inline Standard_Integer IntTools_CurveRangeSample::GetRangeIndexDeeper(const Standard_Integer theNbSample) const
|
||||
{
|
||||
return myIndex * theNbSample;
|
||||
}
|
||||
Reference in New Issue
Block a user