summaryrefslogtreecommitdiff
path: root/src/StepRepr/StepRepr_RepresentationMap.cxx
blob: 3ed046115eac679179a9d015b0ad9b57652d1c98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#include <StepRepr_RepresentationMap.ixx>


StepRepr_RepresentationMap::StepRepr_RepresentationMap ()  {}

void StepRepr_RepresentationMap::Init(
	const Handle(StepRepr_RepresentationItem)& aMappingOrigin,
	const Handle(StepRepr_Representation)& aMappedRepresentation)
{
	// --- classe own fields ---
	mappingOrigin = aMappingOrigin;
	mappedRepresentation = aMappedRepresentation;
}


void StepRepr_RepresentationMap::SetMappingOrigin(const Handle(StepRepr_RepresentationItem)& aMappingOrigin)
{
	mappingOrigin = aMappingOrigin;
}

Handle(StepRepr_RepresentationItem) StepRepr_RepresentationMap::MappingOrigin() const
{
	return mappingOrigin;
}

void StepRepr_RepresentationMap::SetMappedRepresentation(const Handle(StepRepr_Representation)& aMappedRepresentation)
{
	mappedRepresentation = aMappedRepresentation;
}

Handle(StepRepr_Representation) StepRepr_RepresentationMap::MappedRepresentation() const
{
	return mappedRepresentation;
}