summaryrefslogtreecommitdiff
path: root/inc/HLRBRep_FaceIterator.lxx
blob: 0856a386b5ec8f360ed68585a0c946c53d8adf09 (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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
// File:	HLRBRep_FaceIterator.lxx
// Created:	Thu Apr 17 16:03:06 1997
// Author:	Christophe MARION
//		<cma@partox.paris1.matra-dtv.fr>

#include <HLRAlgo_WiresBlock.hxx>
#include <HLRAlgo_EdgesBlock.hxx>

//=======================================================================
//function : MoreEdge
//purpose  : 
//=======================================================================

inline Standard_Boolean HLRBRep_FaceIterator::MoreEdge () const
{ return iWire <= nbWires;}

//=======================================================================
//function : BeginningOfWire
//purpose  : 
//=======================================================================

inline Standard_Boolean HLRBRep_FaceIterator::BeginningOfWire () const
{ return iEdge == 1;}

//=======================================================================
//function : EndOfWire
//purpose  : 
//=======================================================================

inline Standard_Boolean HLRBRep_FaceIterator::EndOfWire () const
{ return iEdge == nbEdges;}

//=======================================================================
//function : SkipWire
//purpose  : 
//=======================================================================

inline void HLRBRep_FaceIterator::SkipWire ()
{ 
  iEdge = nbEdges;
  NextEdge();
}

//=======================================================================
//function : Wire
//purpose  : 
//=======================================================================

inline Handle(HLRAlgo_EdgesBlock) HLRBRep_FaceIterator::Wire() const
{ return myWires->Wire(iWire); }

//=======================================================================
//function : Edge
//purpose  : 
//=======================================================================

inline Standard_Integer HLRBRep_FaceIterator::Edge () const
{ return myEdges->Edge(iEdge); }

//=======================================================================
//function : Orientation
//purpose  : 
//=======================================================================

inline TopAbs_Orientation HLRBRep_FaceIterator::Orientation() const
{ return myEdges->Orientation(iEdge); }

//=======================================================================
//function : OutLine
//purpose  : 
//=======================================================================

inline Standard_Boolean HLRBRep_FaceIterator::OutLine() const
{ return myEdges->OutLine(iEdge); }

//=======================================================================
//function : Internal
//purpose  : 
//=======================================================================

inline Standard_Boolean HLRBRep_FaceIterator::Internal() const
{ return myEdges->Internal(iEdge); }

//=======================================================================
//function : Double
//purpose  : 
//=======================================================================

inline Standard_Boolean HLRBRep_FaceIterator::Double() const
{ return myEdges->Double(iEdge); }

//=======================================================================
//function : IsoLine
//purpose  : 
//=======================================================================

inline Standard_Boolean HLRBRep_FaceIterator::IsoLine() const
{ return myEdges->IsoLine(iEdge); }