7fd59977 |
1 | // File: StepShape_DimensionalLocationWithPath.cxx |
2 | // Created: Tue Apr 18 16:42:58 2000 |
3 | // Author: Andrey BETENEV |
4 | // Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0 |
5 | // Copyright: Matra Datavision 1999 |
6 | |
7 | #include <StepShape_DimensionalLocationWithPath.ixx> |
8 | |
9 | //======================================================================= |
10 | //function : StepShape_DimensionalLocationWithPath |
11 | //purpose : |
12 | //======================================================================= |
13 | |
14 | StepShape_DimensionalLocationWithPath::StepShape_DimensionalLocationWithPath () |
15 | { |
16 | } |
17 | |
18 | //======================================================================= |
19 | //function : Init |
20 | //purpose : |
21 | //======================================================================= |
22 | |
23 | void StepShape_DimensionalLocationWithPath::Init (const Handle(TCollection_HAsciiString) &aShapeAspectRelationship_Name, |
24 | const Standard_Boolean hasShapeAspectRelationship_Description, |
25 | const Handle(TCollection_HAsciiString) &aShapeAspectRelationship_Description, |
26 | const Handle(StepRepr_ShapeAspect) &aShapeAspectRelationship_RelatingShapeAspect, |
27 | const Handle(StepRepr_ShapeAspect) &aShapeAspectRelationship_RelatedShapeAspect, |
28 | const Handle(StepRepr_ShapeAspect) &aPath) |
29 | { |
30 | StepShape_DimensionalLocation::Init(aShapeAspectRelationship_Name, |
31 | hasShapeAspectRelationship_Description, |
32 | aShapeAspectRelationship_Description, |
33 | aShapeAspectRelationship_RelatingShapeAspect, |
34 | aShapeAspectRelationship_RelatedShapeAspect); |
35 | |
36 | thePath = aPath; |
37 | } |
38 | |
39 | //======================================================================= |
40 | //function : Path |
41 | //purpose : |
42 | //======================================================================= |
43 | |
44 | Handle(StepRepr_ShapeAspect) StepShape_DimensionalLocationWithPath::Path () const |
45 | { |
46 | return thePath; |
47 | } |
48 | |
49 | //======================================================================= |
50 | //function : SetPath |
51 | //purpose : |
52 | //======================================================================= |
53 | |
54 | void StepShape_DimensionalLocationWithPath::SetPath (const Handle(StepRepr_ShapeAspect) &aPath) |
55 | { |
56 | thePath = aPath; |
57 | } |