mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
Integration of OCCT 6.5.0 from SVN
This commit is contained in:
42
src/StepShape/StepShape_GeometricSet.cxx
Executable file
42
src/StepShape/StepShape_GeometricSet.cxx
Executable file
@@ -0,0 +1,42 @@
|
||||
#include <StepShape_GeometricSet.ixx>
|
||||
|
||||
|
||||
StepShape_GeometricSet::StepShape_GeometricSet () {}
|
||||
|
||||
void StepShape_GeometricSet::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName)
|
||||
{
|
||||
|
||||
StepRepr_RepresentationItem::Init(aName);
|
||||
}
|
||||
|
||||
void StepShape_GeometricSet::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName,
|
||||
const Handle(StepShape_HArray1OfGeometricSetSelect)& aElements)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
elements = aElements;
|
||||
// --- classe inherited fields ---
|
||||
StepRepr_RepresentationItem::Init(aName);
|
||||
}
|
||||
|
||||
|
||||
void StepShape_GeometricSet::SetElements(const Handle(StepShape_HArray1OfGeometricSetSelect)& aElements)
|
||||
{
|
||||
elements = aElements;
|
||||
}
|
||||
|
||||
Handle(StepShape_HArray1OfGeometricSetSelect) StepShape_GeometricSet::Elements() const
|
||||
{
|
||||
return elements;
|
||||
}
|
||||
|
||||
StepShape_GeometricSetSelect StepShape_GeometricSet::ElementsValue(const Standard_Integer num) const
|
||||
{
|
||||
return elements->Value(num);
|
||||
}
|
||||
|
||||
Standard_Integer StepShape_GeometricSet::NbElements () const
|
||||
{
|
||||
return elements->Length();
|
||||
}
|
Reference in New Issue
Block a user