mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-07 18:30:55 +03:00
45 lines
1.0 KiB
C++
Executable File
45 lines
1.0 KiB
C++
Executable File
#include <StepGeom_Pcurve.ixx>
|
|
|
|
|
|
StepGeom_Pcurve::StepGeom_Pcurve () {}
|
|
|
|
void StepGeom_Pcurve::Init(
|
|
const Handle(TCollection_HAsciiString)& aName)
|
|
{
|
|
|
|
StepRepr_RepresentationItem::Init(aName);
|
|
}
|
|
|
|
void StepGeom_Pcurve::Init(
|
|
const Handle(TCollection_HAsciiString)& aName,
|
|
const Handle(StepGeom_Surface)& aBasisSurface,
|
|
const Handle(StepRepr_DefinitionalRepresentation)& aReferenceToCurve)
|
|
{
|
|
// --- classe own fields ---
|
|
basisSurface = aBasisSurface;
|
|
referenceToCurve = aReferenceToCurve;
|
|
// --- classe inherited fields ---
|
|
StepRepr_RepresentationItem::Init(aName);
|
|
}
|
|
|
|
|
|
void StepGeom_Pcurve::SetBasisSurface(const Handle(StepGeom_Surface)& aBasisSurface)
|
|
{
|
|
basisSurface = aBasisSurface;
|
|
}
|
|
|
|
Handle(StepGeom_Surface) StepGeom_Pcurve::BasisSurface() const
|
|
{
|
|
return basisSurface;
|
|
}
|
|
|
|
void StepGeom_Pcurve::SetReferenceToCurve(const Handle(StepRepr_DefinitionalRepresentation)& aReferenceToCurve)
|
|
{
|
|
referenceToCurve = aReferenceToCurve;
|
|
}
|
|
|
|
Handle(StepRepr_DefinitionalRepresentation) StepGeom_Pcurve::ReferenceToCurve() const
|
|
{
|
|
return referenceToCurve;
|
|
}
|