1 // Created by: Peter KURNEV
2 // Copyright (c) 1999-2014 OPEN CASCADE SAS
4 // This file is part of Open CASCADE Technology software library.
6 // This library is free software; you can redistribute it and/or modify it under
7 // the terms of the GNU Lesser General Public License version 2.1 as published
8 // by the Free Software Foundation, with special exception defined in the file
9 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
10 // distribution for complete text of the license and disclaimer of any warranty.
12 // Alternatively, this file may be used under the terms of Open CASCADE
13 // commercial license or contractual agreement.
15 //=======================================================================
18 //=======================================================================
19 inline BOPDS_IndexRange::BOPDS_IndexRange()
25 //=======================================================================
28 //=======================================================================
29 inline void BOPDS_IndexRange::SetFirst(const Standard_Integer aFirst)
33 //=======================================================================
36 //=======================================================================
37 inline Standard_Integer BOPDS_IndexRange::First()const
41 //=======================================================================
44 //=======================================================================
45 inline void BOPDS_IndexRange::SetLast(const Standard_Integer aLast)
49 //=======================================================================
52 //=======================================================================
53 inline Standard_Integer BOPDS_IndexRange::Last()const
57 //=======================================================================
58 //function : SetIndices
60 //=======================================================================
61 inline void BOPDS_IndexRange::SetIndices(const Standard_Integer theI1,
62 const Standard_Integer theI2)
67 //=======================================================================
70 //=======================================================================
71 inline void BOPDS_IndexRange::Indices(Standard_Integer& theI1,
72 Standard_Integer& theI2)const
78 //=======================================================================
81 //=======================================================================
82 inline Standard_Boolean BOPDS_IndexRange::Contains(const Standard_Integer aIndex)const
84 return aIndex >= myFirst