7fd59977 |
1 | #include <StepRepr_RepresentationMap.ixx> |
2 | |
3 | |
4 | StepRepr_RepresentationMap::StepRepr_RepresentationMap () {} |
5 | |
6 | void StepRepr_RepresentationMap::Init( |
7 | const Handle(StepRepr_RepresentationItem)& aMappingOrigin, |
8 | const Handle(StepRepr_Representation)& aMappedRepresentation) |
9 | { |
10 | // --- classe own fields --- |
11 | mappingOrigin = aMappingOrigin; |
12 | mappedRepresentation = aMappedRepresentation; |
13 | } |
14 | |
15 | |
16 | void StepRepr_RepresentationMap::SetMappingOrigin(const Handle(StepRepr_RepresentationItem)& aMappingOrigin) |
17 | { |
18 | mappingOrigin = aMappingOrigin; |
19 | } |
20 | |
21 | Handle(StepRepr_RepresentationItem) StepRepr_RepresentationMap::MappingOrigin() const |
22 | { |
23 | return mappingOrigin; |
24 | } |
25 | |
26 | void StepRepr_RepresentationMap::SetMappedRepresentation(const Handle(StepRepr_Representation)& aMappedRepresentation) |
27 | { |
28 | mappedRepresentation = aMappedRepresentation; |
29 | } |
30 | |
31 | Handle(StepRepr_Representation) StepRepr_RepresentationMap::MappedRepresentation() const |
32 | { |
33 | return mappedRepresentation; |
34 | } |