summaryrefslogtreecommitdiff
path: root/src/StepGeom/StepGeom_PointReplica.cxx
blob: 7901e1f2f47356c99b8e7888d4011c9a885f0f8d (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
35
36
37
38
39
40
41
42
43
44
#include <StepGeom_PointReplica.ixx>


StepGeom_PointReplica::StepGeom_PointReplica ()  {}

void StepGeom_PointReplica::Init(
	const Handle(TCollection_HAsciiString)& aName)
{

	StepRepr_RepresentationItem::Init(aName);
}

void StepGeom_PointReplica::Init(
	const Handle(TCollection_HAsciiString)& aName,
	const Handle(StepGeom_Point)& aParentPt,
	const Handle(StepGeom_CartesianTransformationOperator)& aTransformation)
{
	// --- classe own fields ---
	parentPt = aParentPt;
	transformation = aTransformation;
	// --- classe inherited fields ---
	StepRepr_RepresentationItem::Init(aName);
}


void StepGeom_PointReplica::SetParentPt(const Handle(StepGeom_Point)& aParentPt)
{
	parentPt = aParentPt;
}

Handle(StepGeom_Point) StepGeom_PointReplica::ParentPt() const
{
	return parentPt;
}

void StepGeom_PointReplica::SetTransformation(const Handle(StepGeom_CartesianTransformationOperator)& aTransformation)
{
	transformation = aTransformation;
}

Handle(StepGeom_CartesianTransformationOperator) StepGeom_PointReplica::Transformation() const
{
	return transformation;
}