7fd59977 |
1 | // File: AIS_Axis.lxx |
2 | // Created: Mon Mar 3 14:54:41 1997 |
3 | // Author: Jean-Pierre COMBE |
4 | // <jpr> |
5 | |
6 | //======================================================================= |
7 | //function : Component |
8 | //purpose : |
9 | //======================================================================= |
10 | |
11 | inline const Handle(Geom_Line)& AIS_Axis::Component() const |
12 | { |
13 | return myComponent; |
14 | } |
15 | |
16 | //======================================================================= |
17 | //function : Axis2Placement |
18 | //purpose : |
19 | //======================================================================= |
20 | |
21 | inline const Handle(Geom_Axis2Placement)& AIS_Axis::Axis2Placement() const |
22 | { |
23 | return myAx2; |
24 | } |
25 | |
26 | //======================================================================= |
27 | //function : TypeOfAxis: |
28 | //purpose : |
29 | //======================================================================= |
30 | inline AIS_TypeOfAxis AIS_Axis::TypeOfAxis() const |
31 | { |
32 | return myTypeOfAxis; |
33 | } |
34 | |
35 | //======================================================================= |
36 | //function : SetTypeOfAxis |
37 | //purpose : |
38 | //======================================================================= |
39 | |
40 | inline void AIS_Axis::SetTypeOfAxis(const AIS_TypeOfAxis aTypeAxis) |
41 | { |
42 | myTypeOfAxis = aTypeAxis; |
43 | } |
44 | |
45 | //======================================================================= |
46 | //function : IsXYZAxis |
47 | //purpose : |
48 | //======================================================================= |
49 | inline Standard_Boolean AIS_Axis::IsXYZAxis() const |
50 | { |
51 | return myIsXYZAxis; |
52 | } |
53 | inline AIS_KindOfInteractive AIS_Axis::Type() const |
54 | {return AIS_KOI_Datum;} |
55 | |
56 | |
57 | inline Standard_Integer AIS_Axis::Signature() const |
58 | {return 2;} |