0023948: Wrong intersection between a surface of revolution and a plane.
[occt.git] / src / StepAP203 / StepAP203_PersonOrganizationItem.cxx
1 // Created on: 1999-11-26
2 // Created by: Andrey BETENEV
3 // Copyright (c) 1999 Matra Datavision
4 // Copyright (c) 1999-2014 OPEN CASCADE SAS
5 //
6 // This file is part of Open CASCADE Technology software library.
7 //
8 // This library is free software; you can redistribute it and/or modify it under
9 // the terms of the GNU Lesser General Public License version 2.1 as published
10 // by the Free Software Foundation, with special exception defined in the file
11 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12 // distribution for complete text of the license and disclaimer of any warranty.
13 //
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
16
17 // Generator:   ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
18
19 #include <StepAP203_PersonOrganizationItem.ixx>
20
21 //=======================================================================
22 //function : StepAP203_PersonOrganizationItem
23 //purpose  : 
24 //=======================================================================
25
26 StepAP203_PersonOrganizationItem::StepAP203_PersonOrganizationItem ()
27 {
28 }
29
30 //=======================================================================
31 //function : CaseNum
32 //purpose  : 
33 //=======================================================================
34
35 Standard_Integer StepAP203_PersonOrganizationItem::CaseNum (const Handle(Standard_Transient)& ent) const
36 {
37   if (ent.IsNull()) return 0;
38   if (ent->IsKind(STANDARD_TYPE(StepAP203_Change))) return 1;
39   if (ent->IsKind(STANDARD_TYPE(StepAP203_StartWork))) return 2;
40   if (ent->IsKind(STANDARD_TYPE(StepAP203_ChangeRequest))) return 3;
41   if (ent->IsKind(STANDARD_TYPE(StepAP203_StartRequest))) return 4;
42   if (ent->IsKind(STANDARD_TYPE(StepRepr_ConfigurationItem))) return 5;
43   if (ent->IsKind(STANDARD_TYPE(StepBasic_Product))) return 6;
44   if (ent->IsKind(STANDARD_TYPE(StepBasic_ProductDefinitionFormation))) return 7;
45   if (ent->IsKind(STANDARD_TYPE(StepBasic_ProductDefinition))) return 8;
46   if (ent->IsKind(STANDARD_TYPE(StepBasic_Contract))) return 9;
47   if (ent->IsKind(STANDARD_TYPE(StepBasic_SecurityClassification))) return 10;
48   return 0;
49 }
50
51 //=======================================================================
52 //function : Change
53 //purpose  : 
54 //=======================================================================
55
56 Handle(StepAP203_Change) StepAP203_PersonOrganizationItem::Change () const
57 {
58   return Handle(StepAP203_Change)::DownCast(Value());
59 }
60
61 //=======================================================================
62 //function : StartWork
63 //purpose  : 
64 //=======================================================================
65
66 Handle(StepAP203_StartWork) StepAP203_PersonOrganizationItem::StartWork () const
67 {
68   return Handle(StepAP203_StartWork)::DownCast(Value());
69 }
70
71 //=======================================================================
72 //function : ChangeRequest
73 //purpose  : 
74 //=======================================================================
75
76 Handle(StepAP203_ChangeRequest) StepAP203_PersonOrganizationItem::ChangeRequest () const
77 {
78   return Handle(StepAP203_ChangeRequest)::DownCast(Value());
79 }
80
81 //=======================================================================
82 //function : StartRequest
83 //purpose  : 
84 //=======================================================================
85
86 Handle(StepAP203_StartRequest) StepAP203_PersonOrganizationItem::StartRequest () const
87 {
88   return Handle(StepAP203_StartRequest)::DownCast(Value());
89 }
90
91 //=======================================================================
92 //function : ConfigurationItem
93 //purpose  : 
94 //=======================================================================
95
96 Handle(StepRepr_ConfigurationItem) StepAP203_PersonOrganizationItem::ConfigurationItem () const
97 {
98   return Handle(StepRepr_ConfigurationItem)::DownCast(Value());
99 }
100
101 //=======================================================================
102 //function : Product
103 //purpose  : 
104 //=======================================================================
105
106 Handle(StepBasic_Product) StepAP203_PersonOrganizationItem::Product () const
107 {
108   return Handle(StepBasic_Product)::DownCast(Value());
109 }
110
111 //=======================================================================
112 //function : ProductDefinitionFormation
113 //purpose  : 
114 //=======================================================================
115
116 Handle(StepBasic_ProductDefinitionFormation) StepAP203_PersonOrganizationItem::ProductDefinitionFormation () const
117 {
118   return Handle(StepBasic_ProductDefinitionFormation)::DownCast(Value());
119 }
120
121 //=======================================================================
122 //function : ProductDefinition
123 //purpose  : 
124 //=======================================================================
125
126 Handle(StepBasic_ProductDefinition) StepAP203_PersonOrganizationItem::ProductDefinition () const
127 {
128   return Handle(StepBasic_ProductDefinition)::DownCast(Value());
129 }
130
131 //=======================================================================
132 //function : Contract
133 //purpose  : 
134 //=======================================================================
135
136 Handle(StepBasic_Contract) StepAP203_PersonOrganizationItem::Contract () const
137 {
138   return Handle(StepBasic_Contract)::DownCast(Value());
139 }
140
141 //=======================================================================
142 //function : SecurityClassification
143 //purpose  : 
144 //=======================================================================
145
146 Handle(StepBasic_SecurityClassification) StepAP203_PersonOrganizationItem::SecurityClassification () const
147 {
148   return Handle(StepBasic_SecurityClassification)::DownCast(Value());
149 }