summaryrefslogtreecommitdiff
path: root/src/StepGeom/StepGeom_GeometricRepresentationContext.cxx
blob: 949bb6a3ab59515e4d85a6a29207b898725d73d3 (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
#include <StepGeom_GeometricRepresentationContext.ixx>


StepGeom_GeometricRepresentationContext::StepGeom_GeometricRepresentationContext ()  {}

void StepGeom_GeometricRepresentationContext::Init(
	const Handle(TCollection_HAsciiString)& aContextIdentifier,
	const Handle(TCollection_HAsciiString)& aContextType)
{

	StepRepr_RepresentationContext::Init(aContextIdentifier, aContextType);
}

void StepGeom_GeometricRepresentationContext::Init(
	const Handle(TCollection_HAsciiString)& aContextIdentifier,
	const Handle(TCollection_HAsciiString)& aContextType,
	const Standard_Integer aCoordinateSpaceDimension)
{
	// --- classe own fields ---
	coordinateSpaceDimension = aCoordinateSpaceDimension;
	// --- classe inherited fields ---
	StepRepr_RepresentationContext::Init(aContextIdentifier, aContextType);
}


void StepGeom_GeometricRepresentationContext::SetCoordinateSpaceDimension(const Standard_Integer aCoordinateSpaceDimension)
{
	coordinateSpaceDimension = aCoordinateSpaceDimension;
}

Standard_Integer StepGeom_GeometricRepresentationContext::CoordinateSpaceDimension() const
{
	return coordinateSpaceDimension;
}