Integration of OCCT 6.5.0 from SVN
[occt.git] / src / StepGeom / StepGeom_Pcurve.cxx
CommitLineData
7fd59977 1#include <StepGeom_Pcurve.ixx>
2
3
4StepGeom_Pcurve::StepGeom_Pcurve () {}
5
6void StepGeom_Pcurve::Init(
7 const Handle(TCollection_HAsciiString)& aName)
8{
9
10 StepRepr_RepresentationItem::Init(aName);
11}
12
13void 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
26void StepGeom_Pcurve::SetBasisSurface(const Handle(StepGeom_Surface)& aBasisSurface)
27{
28 basisSurface = aBasisSurface;
29}
30
31Handle(StepGeom_Surface) StepGeom_Pcurve::BasisSurface() const
32{
33 return basisSurface;
34}
35
36void StepGeom_Pcurve::SetReferenceToCurve(const Handle(StepRepr_DefinitionalRepresentation)& aReferenceToCurve)
37{
38 referenceToCurve = aReferenceToCurve;
39}
40
41Handle(StepRepr_DefinitionalRepresentation) StepGeom_Pcurve::ReferenceToCurve() const
42{
43 return referenceToCurve;
44}