Files
OCCT/src/StepShape/StepShape_SweptAreaSolid.cxx
2012-03-05 19:23:40 +04:00

33 lines
751 B
C++
Executable File

#include <StepShape_SweptAreaSolid.ixx>
StepShape_SweptAreaSolid::StepShape_SweptAreaSolid () {}
void StepShape_SweptAreaSolid::Init(
const Handle(TCollection_HAsciiString)& aName)
{
StepRepr_RepresentationItem::Init(aName);
}
void StepShape_SweptAreaSolid::Init(
const Handle(TCollection_HAsciiString)& aName,
const Handle(StepGeom_CurveBoundedSurface)& aSweptArea)
{
// --- classe own fields ---
sweptArea = aSweptArea;
// --- classe inherited fields ---
StepRepr_RepresentationItem::Init(aName);
}
void StepShape_SweptAreaSolid::SetSweptArea(const Handle(StepGeom_CurveBoundedSurface)& aSweptArea)
{
sweptArea = aSweptArea;
}
Handle(StepGeom_CurveBoundedSurface) StepShape_SweptAreaSolid::SweptArea() const
{
return sweptArea;
}