summaryrefslogtreecommitdiff
path: root/inc/TopoDS_Iterator.lxx
blob: bbcc676772b93389f40b8dd94a760f8d13b35abd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// File:	TopoDS_Iterator.lxx
// Created:	Thu Jan 21 09:09:14 1993
// Author:	Remi LEQUETTE
//		<rle@phylox>


#include <Standard_NoSuchObject.hxx>

//=======================================================================
//function : TopoDS_Iterator
//purpose  : 
//=======================================================================

inline TopoDS_Iterator::TopoDS_Iterator()
{}

//=======================================================================
//function : TopoDS_Iterator
//purpose  : 
//=======================================================================

inline TopoDS_Iterator::TopoDS_Iterator(const TopoDS_Shape& S,
                                        const Standard_Boolean cumOri,
                                        const Standard_Boolean cumLoc)
{
  Initialize(S,cumOri,cumLoc);
}

//=======================================================================
//function : More
//purpose  : 
//=======================================================================

inline Standard_Boolean TopoDS_Iterator::More() const
{
  return myShapes.More();
}

//=======================================================================
//function : Value
//purpose  : 
//=======================================================================

inline const TopoDS_Shape& TopoDS_Iterator::Value() const
{
  Standard_NoSuchObject_Raise_if(!More(),"TopoDS_Iterator::Value");  
  return myShape;
}