0024002: Overall code and build procedure refactoring -- automatic
[occt.git] / src / StepGeom / StepGeom_CurveBoundedSurface.cxx
CommitLineData
b311480e 1// Created on: 1999-11-26
2// Created by: Andrey BETENEV
3// Copyright (c) 1999 Matra Datavision
973c2be1 4// Copyright (c) 1999-2014 OPEN CASCADE SAS
b311480e 5//
973c2be1 6// This file is part of Open CASCADE Technology software library.
b311480e 7//
d5f74e42 8// This library is free software; you can redistribute it and/or modify it under
9// the terms of the GNU Lesser General Public License version 2.1 as published
973c2be1 10// by the Free Software Foundation, with special exception defined in the file
11// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12// distribution for complete text of the license and disclaimer of any warranty.
b311480e 13//
973c2be1 14// Alternatively, this file may be used under the terms of Open CASCADE
15// commercial license or contractual agreement.
b311480e 16
7fd59977 17// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
7fd59977 18
42cf5bc1 19#include <Standard_Type.hxx>
20#include <StepGeom_CurveBoundedSurface.hxx>
21#include <StepGeom_Surface.hxx>
22#include <TCollection_HAsciiString.hxx>
7fd59977 23
24//=======================================================================
25//function : StepGeom_CurveBoundedSurface
26//purpose :
27//=======================================================================
7fd59977 28StepGeom_CurveBoundedSurface::StepGeom_CurveBoundedSurface ()
29{
30}
31
32//=======================================================================
33//function : Init
34//purpose :
35//=======================================================================
36
37void StepGeom_CurveBoundedSurface::Init (const Handle(TCollection_HAsciiString) &aRepresentationItem_Name,
38 const Handle(StepGeom_Surface) &aBasisSurface,
39 const Handle(StepGeom_HArray1OfSurfaceBoundary) &aBoundaries,
40 const Standard_Boolean aImplicitOuter)
41{
42 StepGeom_BoundedSurface::Init(aRepresentationItem_Name);
43
44 theBasisSurface = aBasisSurface;
45
46 theBoundaries = aBoundaries;
47
48 theImplicitOuter = aImplicitOuter;
49}
50
51//=======================================================================
52//function : BasisSurface
53//purpose :
54//=======================================================================
55
56Handle(StepGeom_Surface) StepGeom_CurveBoundedSurface::BasisSurface () const
57{
58 return theBasisSurface;
59}
60
61//=======================================================================
62//function : SetBasisSurface
63//purpose :
64//=======================================================================
65
66void StepGeom_CurveBoundedSurface::SetBasisSurface (const Handle(StepGeom_Surface) &aBasisSurface)
67{
68 theBasisSurface = aBasisSurface;
69}
70
71//=======================================================================
72//function : Boundaries
73//purpose :
74//=======================================================================
75
76Handle(StepGeom_HArray1OfSurfaceBoundary) StepGeom_CurveBoundedSurface::Boundaries () const
77{
78 return theBoundaries;
79}
80
81//=======================================================================
82//function : SetBoundaries
83//purpose :
84//=======================================================================
85
86void StepGeom_CurveBoundedSurface::SetBoundaries (const Handle(StepGeom_HArray1OfSurfaceBoundary) &aBoundaries)
87{
88 theBoundaries = aBoundaries;
89}
90
91//=======================================================================
92//function : ImplicitOuter
93//purpose :
94//=======================================================================
95
96Standard_Boolean StepGeom_CurveBoundedSurface::ImplicitOuter () const
97{
98 return theImplicitOuter;
99}
100
101//=======================================================================
102//function : SetImplicitOuter
103//purpose :
104//=======================================================================
105
106void StepGeom_CurveBoundedSurface::SetImplicitOuter (const Standard_Boolean aImplicitOuter)
107{
108 theImplicitOuter = aImplicitOuter;
109}