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

StepShape_ContextDependentShapeRepresentation::StepShape_ContextDependentShapeRepresentation ()    {  }

void  StepShape_ContextDependentShapeRepresentation::Init
  (const Handle(StepRepr_ShapeRepresentationRelationship)& aRepRel,
   const Handle(StepRepr_ProductDefinitionShape)& aProRel)
{
  theRepRel = aRepRel;
  theProRel = aProRel;
}

Handle(StepRepr_ShapeRepresentationRelationship)  StepShape_ContextDependentShapeRepresentation::RepresentationRelation () const
{  return theRepRel;  }

void  StepShape_ContextDependentShapeRepresentation::SetRepresentationRelation (const Handle(StepRepr_ShapeRepresentationRelationship)& aRepRel)
{  theRepRel = aRepRel;  }

Handle(StepRepr_ProductDefinitionShape)  StepShape_ContextDependentShapeRepresentation::RepresentedProductRelation () const
{  return theProRel;  }

void  StepShape_ContextDependentShapeRepresentation::SetRepresentedProductRelation (const Handle(StepRepr_ProductDefinitionShape)& aProRel)
{  theProRel = aProRel;  }