7fd59977 |
1 | // File: PGeom_Line.cxx |
2 | // Created: Wed Mar 3 18:17:29 1993 |
3 | // Author: Philippe DAUTRY |
4 | // <fid@phylox> |
5 | // Copyright: Matra Datavision 1993 |
6 | |
7 | |
8 | #include <PGeom_Line.ixx> |
9 | |
10 | //======================================================================= |
11 | //function : PGeom_Line |
12 | //purpose : |
13 | //======================================================================= |
14 | |
15 | PGeom_Line::PGeom_Line() |
16 | {} |
17 | |
18 | |
19 | //======================================================================= |
20 | //function : PGeom_Line |
21 | //purpose : |
22 | //======================================================================= |
23 | |
24 | PGeom_Line::PGeom_Line(const gp_Ax1& aPosition) : |
25 | position(aPosition) |
26 | {} |
27 | |
28 | |
29 | //======================================================================= |
30 | //function : Position |
31 | //purpose : |
32 | //======================================================================= |
33 | |
34 | void PGeom_Line::Position(const gp_Ax1& aPosition) |
35 | { position = aPosition; } |
36 | |
37 | |
38 | //======================================================================= |
39 | //function : Position |
40 | //purpose : |
41 | //======================================================================= |
42 | |
43 | gp_Ax1 PGeom_Line::Position() const |
44 | { return position; } |