1 // Copyright (c) 1999-2014 OPEN CASCADE SAS
3 // This file is part of Open CASCADE Technology software library.
5 // This library is free software; you can redistribute it and/or modify it under
6 // the terms of the GNU Lesser General Public License version 2.1 as published
7 // by the Free Software Foundation, with special exception defined in the file
8 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
9 // distribution for complete text of the license and disclaimer of any warranty.
11 // Alternatively, this file may be used under the terms of Open CASCADE
12 // commercial license or contractual agreement.
14 #include <StepShape_BooleanOperand.ixx>
15 #include <Interface_Macros.hxx>
17 StepShape_BooleanOperand::StepShape_BooleanOperand () { }
19 Handle(StepShape_SolidModel) StepShape_BooleanOperand::SolidModel () const
24 void StepShape_BooleanOperand::SetSolidModel
25 (const Handle(StepShape_SolidModel)& aSolidModel)
27 theSolidModel = aSolidModel;
30 Handle(StepShape_HalfSpaceSolid) StepShape_BooleanOperand::HalfSpaceSolid () const
32 return theHalfSpaceSolid;
35 void StepShape_BooleanOperand::SetHalfSpaceSolid
36 (const Handle(StepShape_HalfSpaceSolid)& aHalfSpaceSolid)
38 theHalfSpaceSolid = aHalfSpaceSolid;
41 StepShape_CsgPrimitive StepShape_BooleanOperand::CsgPrimitive () const
43 return theCsgPrimitive;
46 void StepShape_BooleanOperand::SetCsgPrimitive
47 (const StepShape_CsgPrimitive& aCsgPrimitive)
49 theCsgPrimitive = aCsgPrimitive;
52 Handle(StepShape_BooleanResult) StepShape_BooleanOperand::BooleanResult () const
54 return theBooleanResult;
57 void StepShape_BooleanOperand::SetBooleanResult
58 (const Handle(StepShape_BooleanResult)& aBooleanResult)
60 theBooleanResult = aBooleanResult;
63 void StepShape_BooleanOperand::SetTypeOfContent(const Standard_Integer aType)
65 theTypeOfContent = aType;
68 Standard_Integer StepShape_BooleanOperand::TypeOfContent() const
70 return theTypeOfContent;