blob: 07a25018fd3c55f15b4359917f4ae349aa12b340 (
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
|
#include <TopoDS.hxx>
#include <TopTools_HSequenceOfShape.hxx>
inline Standard_Boolean BRepProj_Projection::IsDone() const
{
return myIsDone;
}
inline TopoDS_Compound BRepProj_Projection::Shape() const
{
return myShape;
}
inline void BRepProj_Projection::Init()
{
myItr = 1;
}
inline Standard_Boolean BRepProj_Projection::More() const
{
return myItr > 0 && ! mySection.IsNull() && myItr <= mySection->Length();
}
inline void BRepProj_Projection::Next()
{
myItr++;
}
inline TopoDS_Wire BRepProj_Projection::Current() const
{
return TopoDS::Wire (mySection->Value (myItr));
}
|