summaryrefslogtreecommitdiff
path: root/src/StepShape/StepShape_CsgSelect.cxx
blob: bdbca1a195a16111e2f076270197b2229fa1b86b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37

#include <StepShape_CsgSelect.ixx>
#include <Interface_Macros.hxx>

StepShape_CsgSelect::StepShape_CsgSelect () {  }

void StepShape_CsgSelect::SetTypeOfContent(const Standard_Integer aType) 
{
  theTypeOfContent = aType;
}

Standard_Integer StepShape_CsgSelect::TypeOfContent() const 
{
  return theTypeOfContent;
}

Handle(StepShape_BooleanResult) StepShape_CsgSelect::BooleanResult () const
{
	return theBooleanResult;
}

void StepShape_CsgSelect::SetBooleanResult(const Handle(StepShape_BooleanResult)& aBooleanResult)
{
  theBooleanResult = aBooleanResult;
  theTypeOfContent = 1;
}

StepShape_CsgPrimitive StepShape_CsgSelect::CsgPrimitive () const
{
	return theCsgPrimitive;
}

void StepShape_CsgSelect::SetCsgPrimitive (const StepShape_CsgPrimitive& aCsgPrimitive)
{
  theCsgPrimitive  = aCsgPrimitive;
  theTypeOfContent = 2;
}