0026371: Implementation of new entities for GD&T
[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
21//=======================================================================
22//function : StepRepr_ReprItemAndPlaneAngleMeasureWithUnit
23//purpose :
24//=======================================================================
25StepRepr_ReprItemAndPlaneAngleMeasureWithUnit::StepRepr_ReprItemAndPlaneAngleMeasureWithUnit() : StepRepr_ReprItemAndMeasureWithUnit()
26{
27 myPlaneAngleMeasureWithUnit = new StepBasic_PlaneAngleMeasureWithUnit();
28}
29
30//=======================================================================
31//function : SetPlaneAngleMeasureWithUnit
32//purpose :
33//=======================================================================
34
35void StepRepr_ReprItemAndPlaneAngleMeasureWithUnit::SetPlaneAngleMeasureWithUnit
36 (const Handle(StepBasic_PlaneAngleMeasureWithUnit)& aLMWU)
37{
38 myPlaneAngleMeasureWithUnit = aLMWU;
39}
40
41
42//=======================================================================
43//function : GetPlaneAngleMeasureWithUnit
44//purpose :
45//=======================================================================
46
47Handle(StepBasic_PlaneAngleMeasureWithUnit) StepRepr_ReprItemAndPlaneAngleMeasureWithUnit::
48 GetPlaneAngleMeasureWithUnit() const
49{
50 return myPlaneAngleMeasureWithUnit;
51}