0027336: Update STEP entities, according to AP242
[occt.git] / src / StepRepr / StepRepr_ReprItemAndPlaneAngleMeasureWithUnit.cxx
CommitLineData
28a73c1f 1// Created on: 2015-07-22
2// Created by: Irina KRYLOVA
3// Copyright (c) 2015 OPEN CASCADE SAS
4//
5// This file is part of Open CASCADE Technology software library.
6//
7// This library is free software; you can redistribute it and/or modify it under
8// the terms of the GNU Lesser General Public License version 2.1 as published
9// by the Free Software Foundation, with special exception defined in the file
10// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11// distribution for complete text of the license and disclaimer of any warranty.
12//
13// Alternatively, this file may be used under the terms of Open CASCADE
14// commercial license or contractual agreement.
15
16
17#include <Standard_Type.hxx>
18#include <StepBasic_PlaneAngleMeasureWithUnit.hxx>
19#include <StepRepr_ReprItemAndPlaneAngleMeasureWithUnit.hxx>
20
92efcf78 21IMPLEMENT_STANDARD_RTTIEXT(StepRepr_ReprItemAndPlaneAngleMeasureWithUnit,StepRepr_ReprItemAndMeasureWithUnit)
22
28a73c1f 23//=======================================================================
24//function : StepRepr_ReprItemAndPlaneAngleMeasureWithUnit
25//purpose :
26//=======================================================================
27StepRepr_ReprItemAndPlaneAngleMeasureWithUnit::StepRepr_ReprItemAndPlaneAngleMeasureWithUnit() : StepRepr_ReprItemAndMeasureWithUnit()
28{
29 myPlaneAngleMeasureWithUnit = new StepBasic_PlaneAngleMeasureWithUnit();
30}
31
32//=======================================================================
33//function : SetPlaneAngleMeasureWithUnit
34//purpose :
35//=======================================================================
36
37void StepRepr_ReprItemAndPlaneAngleMeasureWithUnit::SetPlaneAngleMeasureWithUnit
38 (const Handle(StepBasic_PlaneAngleMeasureWithUnit)& aLMWU)
39{
40 myPlaneAngleMeasureWithUnit = aLMWU;
41}
42
43
44//=======================================================================
45//function : GetPlaneAngleMeasureWithUnit
46//purpose :
47//=======================================================================
48
49Handle(StepBasic_PlaneAngleMeasureWithUnit) StepRepr_ReprItemAndPlaneAngleMeasureWithUnit::
50 GetPlaneAngleMeasureWithUnit() const
51{
52 return myPlaneAngleMeasureWithUnit;
53}