Integration of OCCT 6.5.0 from SVN
[occt.git] / src / Contap / Contap_ArcFunction.lxx
CommitLineData
7fd59977 1inline void Contap_ArcFunction::Set(const gp_Dir& Direction,
2 const Standard_Real Angle)
3{
4 myType = Contap_DraftStd;
5 myDir = Direction;
6 myCosAng = Cos(PI/2.+Angle);
7}
8
9inline void Contap_ArcFunction::Set(const gp_Pnt& Eye,
10 const Standard_Real Angle)
11{
12 myType = Contap_DraftPrs;
13 myEye = Eye;
14 myCosAng = Cos(PI/2.+Angle);
15}
16
17inline void Contap_ArcFunction::Set(const gp_Dir& Direction)
18{
19 myType = Contap_ContourStd;
20 myDir = Direction;
21}
22
23inline void Contap_ArcFunction::Set(const gp_Pnt& Eye)
24{
25 myType = Contap_ContourPrs;
26 myEye = Eye;
27}
28
29inline void Contap_ArcFunction::Set(const TheArc& A)
30{
31 myArc = A;
32 seqpt.Clear();
33}
34
35inline const gp_Pnt& Contap_ArcFunction::Valpoint
36 (const Standard_Integer Index) const
37{
38 return seqpt(Index);
39}
40