summaryrefslogtreecommitdiff
path: root/src/StepRepr/StepRepr_RepresentationRelationshipWithTransformation.cxx
blob: cd684abfd33c22272829060e844e406f90dbade8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include <StepRepr_RepresentationRelationshipWithTransformation.ixx>

StepRepr_RepresentationRelationshipWithTransformation::StepRepr_RepresentationRelationshipWithTransformation ()    {  }

void  StepRepr_RepresentationRelationshipWithTransformation::Init
  (const Handle(TCollection_HAsciiString)& aName,
   const Handle(TCollection_HAsciiString)& aDescription,
   const Handle(StepRepr_Representation)& aRep1,
   const Handle(StepRepr_Representation)& aRep2,
   const StepRepr_Transformation& aTrans)
{
  StepRepr_RepresentationRelationship::Init (aName,aDescription,aRep1,aRep2);
  theTrans = aTrans;
}

StepRepr_Transformation  StepRepr_RepresentationRelationshipWithTransformation::TransformationOperator () const
{  return theTrans;  }

void  StepRepr_RepresentationRelationshipWithTransformation::SetTransformationOperator (const StepRepr_Transformation& aTrans)
{  theTrans = aTrans;  }