7fd59977 |
1 | #include <StepGeom_Pcurve.ixx> |
2 | |
3 | |
4 | StepGeom_Pcurve::StepGeom_Pcurve () {} |
5 | |
6 | void StepGeom_Pcurve::Init( |
7 | const Handle(TCollection_HAsciiString)& aName) |
8 | { |
9 | |
10 | StepRepr_RepresentationItem::Init(aName); |
11 | } |
12 | |
13 | void StepGeom_Pcurve::Init( |
14 | const Handle(TCollection_HAsciiString)& aName, |
15 | const Handle(StepGeom_Surface)& aBasisSurface, |
16 | const Handle(StepRepr_DefinitionalRepresentation)& aReferenceToCurve) |
17 | { |
18 | // --- classe own fields --- |
19 | basisSurface = aBasisSurface; |
20 | referenceToCurve = aReferenceToCurve; |
21 | // --- classe inherited fields --- |
22 | StepRepr_RepresentationItem::Init(aName); |
23 | } |
24 | |
25 | |
26 | void StepGeom_Pcurve::SetBasisSurface(const Handle(StepGeom_Surface)& aBasisSurface) |
27 | { |
28 | basisSurface = aBasisSurface; |
29 | } |
30 | |
31 | Handle(StepGeom_Surface) StepGeom_Pcurve::BasisSurface() const |
32 | { |
33 | return basisSurface; |
34 | } |
35 | |
36 | void StepGeom_Pcurve::SetReferenceToCurve(const Handle(StepRepr_DefinitionalRepresentation)& aReferenceToCurve) |
37 | { |
38 | referenceToCurve = aReferenceToCurve; |
39 | } |
40 | |
41 | Handle(StepRepr_DefinitionalRepresentation) StepGeom_Pcurve::ReferenceToCurve() const |
42 | { |
43 | return referenceToCurve; |
44 | } |