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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
|
#include <gp_Pnt.hxx>
#include <gp_Pnt2d.hxx>
#include <BRep_Tool.hxx>
#include <TopoDS.hxx>
#include <TopoDS_Vertex.hxx>
#include <TopoDS_Edge.hxx>
#include <TopoDS_Face.hxx>
inline void BRepMesh_ShapeTool::Init(const TopoDS_Shape& S)
{
theFIterator.Init(S, TopAbs_FACE);
}
inline Standard_Boolean BRepMesh_ShapeTool::MoreFace()
{
return theFIterator.More();
}
inline void BRepMesh_ShapeTool::NextFace()
{
theFIterator.Next();
}
inline const TopoDS_Face& BRepMesh_ShapeTool:: CurrentFace()
{
return TopoDS::Face(theFIterator.Current());
}
inline void BRepMesh_ShapeTool::Init(const TopoDS_Face& F)
{
theEIterator.Init(F,TopAbs_EDGE);
}
inline Standard_Boolean BRepMesh_ShapeTool::MoreEdge()
{
return theEIterator.More();
}
inline void BRepMesh_ShapeTool::NextEdge()
{
theEIterator.Next();
}
inline const TopoDS_Edge& BRepMesh_ShapeTool::CurrentEdge()
{
return TopoDS::Edge(theEIterator.Current());
}
inline void BRepMesh_ShapeTool::Init(const TopoDS_Edge& E)
{
theVIterator.Init(E,TopAbs_VERTEX);
}
inline void BRepMesh_ShapeTool::NextInternalVertex()
{
theVIterator.Next();
}
inline const TopoDS_Vertex& BRepMesh_ShapeTool::CurrentInternalVertex()
{
return TopoDS::Vertex(theVIterator.Current());
}
inline TopAbs_Orientation BRepMesh_ShapeTool::Orientation(
const TopoDS_Edge& E)
{
return E.Orientation();
}
inline TopAbs_Orientation BRepMesh_ShapeTool::Orientation(
const TopoDS_Face& F)
{
return F.Orientation();
}
inline void BRepMesh_ShapeTool::Range(const TopoDS_Edge& E,
const TopoDS_Face& F,
Standard_Real& wFirst,
Standard_Real& wLast)
{
BRep_Tool::Range(E, F, wFirst, wLast);
}
inline void BRepMesh_ShapeTool::UVPoints(const TopoDS_Edge& E,
const TopoDS_Face& F,
gp_Pnt2d& uvFirst,
gp_Pnt2d& uvLast)
{
BRep_Tool::UVPoints(E, F, uvFirst, uvLast);
}
inline Standard_Boolean BRepMesh_ShapeTool::Degenerated(const TopoDS_Edge& E)
{
return BRep_Tool::Degenerated(E);
}
inline Standard_Real BRepMesh_ShapeTool::Tolerance(const TopoDS_Vertex& V)
{
return BRep_Tool::Tolerance(V);
}
inline Standard_Real BRepMesh_ShapeTool::Parameter(const TopoDS_Vertex& V,
const TopoDS_Edge& E,
const TopoDS_Face& F)
{
return BRep_Tool::Parameter(V,E,F);
}
inline gp_Pnt BRepMesh_ShapeTool::Pnt(const TopoDS_Vertex& V)
{
return BRep_Tool::Pnt(V);
}
|