blob: 6ff876936a77d77e75f34afa5a115997ec9acd7d (
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
|
inline void Contap_ArcFunction::Set(const gp_Dir& Direction,
const Standard_Real Angle)
{
myType = Contap_DraftStd;
myDir = Direction;
myCosAng = Cos(PI/2.+Angle);
}
inline void Contap_ArcFunction::Set(const gp_Pnt& Eye,
const Standard_Real Angle)
{
myType = Contap_DraftPrs;
myEye = Eye;
myCosAng = Cos(PI/2.+Angle);
}
inline void Contap_ArcFunction::Set(const gp_Dir& Direction)
{
myType = Contap_ContourStd;
myDir = Direction;
}
inline void Contap_ArcFunction::Set(const gp_Pnt& Eye)
{
myType = Contap_ContourPrs;
myEye = Eye;
}
inline void Contap_ArcFunction::Set(const TheArc& A)
{
myArc = A;
seqpt.Clear();
}
inline const gp_Pnt& Contap_ArcFunction::Valpoint
(const Standard_Integer Index) const
{
return seqpt(Index);
}
|