summaryrefslogtreecommitdiff
path: root/src/StepDimTol/StepDimTol_DatumTarget.cxx
blob: ac73051cb8d5c6aa7e61de4035e75bedc34ab273 (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
45
46
47
48
49
50
51
52
53
54
// File:	StepDimTol_DatumTarget.cxx
// Created:	Wed Jun  4 11:17:02 2003 
// Author:	Galina KULIKOVA
// Generator:	ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.2
// Copyright:	Open CASCADE 2002

#include <StepDimTol_DatumTarget.ixx>

//=======================================================================
//function : StepDimTol_DatumTarget
//purpose  : 
//=======================================================================

StepDimTol_DatumTarget::StepDimTol_DatumTarget ()
{
}

//=======================================================================
//function : Init
//purpose  : 
//=======================================================================

void StepDimTol_DatumTarget::Init (const Handle(TCollection_HAsciiString) &aShapeAspect_Name,
                                   const Handle(TCollection_HAsciiString) &aShapeAspect_Description,
                                   const Handle(StepRepr_ProductDefinitionShape) &aShapeAspect_OfShape,
                                   const StepData_Logical aShapeAspect_ProductDefinitional,
                                   const Handle(TCollection_HAsciiString) &aTargetId)
{
  StepRepr_ShapeAspect::Init(aShapeAspect_Name,
                             aShapeAspect_Description,
                             aShapeAspect_OfShape,
                             aShapeAspect_ProductDefinitional);
  theTargetId = aTargetId;
}

//=======================================================================
//function : TargetId
//purpose  : 
//=======================================================================

Handle(TCollection_HAsciiString) StepDimTol_DatumTarget::TargetId () const
{
  return theTargetId;
}

//=======================================================================
//function : SetTargetId
//purpose  : 
//=======================================================================

void StepDimTol_DatumTarget::SetTargetId (const Handle(TCollection_HAsciiString) &aTargetId)
{
  theTargetId = aTargetId;
}