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


StepGeom_EvaluatedDegeneratePcurve::StepGeom_EvaluatedDegeneratePcurve ()  {}

void StepGeom_EvaluatedDegeneratePcurve::Init(
	const Handle(TCollection_HAsciiString)& aName,
	const Handle(StepGeom_Surface)& aBasisSurface,
	const Handle(StepRepr_DefinitionalRepresentation)& aReferenceToCurve)
{

	StepGeom_DegeneratePcurve::Init(aName, aBasisSurface, aReferenceToCurve);
}

void StepGeom_EvaluatedDegeneratePcurve::Init(
	const Handle(TCollection_HAsciiString)& aName,
	const Handle(StepGeom_Surface)& aBasisSurface,
	const Handle(StepRepr_DefinitionalRepresentation)& aReferenceToCurve,
	const Handle(StepGeom_CartesianPoint)& aEquivalentPoint)
{
	// --- classe own fields ---
	equivalentPoint = aEquivalentPoint;
	// --- classe inherited fields ---
	StepGeom_DegeneratePcurve::Init(aName, aBasisSurface, aReferenceToCurve);
}


void StepGeom_EvaluatedDegeneratePcurve::SetEquivalentPoint(const Handle(StepGeom_CartesianPoint)& aEquivalentPoint)
{
	equivalentPoint = aEquivalentPoint;
}

Handle(StepGeom_CartesianPoint) StepGeom_EvaluatedDegeneratePcurve::EquivalentPoint() const
{
	return equivalentPoint;
}