1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

Coding - Apply .clang-format formatting #286

Update empty method guards to new style with regex (see PR).
Used clang-format 18.1.8.
New actions to validate code formatting is added.
Update .clang-format with disabling of include sorting.
  It is temporary changes, then include will be sorted.
Apply formatting for /src and /tools folder.
The files with .hxx,.cxx,.lxx,.h,.pxx,.hpp,*.cpp extensions.
This commit is contained in:
dpasukhi
2025-01-25 20:15:22 +00:00
parent dbba6f1289
commit a5a7b3185b
14005 changed files with 1273539 additions and 1195567 deletions

View File

@@ -19,45 +19,36 @@
#include <StepFEA_FeaAxis2Placement3d.hxx>
#include <TCollection_HAsciiString.hxx>
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_AlignedCurve3dElementCoordinateSystem,StepFEA_FeaRepresentationItem)
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_AlignedCurve3dElementCoordinateSystem,
StepFEA_FeaRepresentationItem)
//=======================================================================
//function : StepFEA_AlignedCurve3dElementCoordinateSystem
//purpose :
//=======================================================================
StepFEA_AlignedCurve3dElementCoordinateSystem::StepFEA_AlignedCurve3dElementCoordinateSystem ()
{
}
//=================================================================================================
//=======================================================================
//function : Init
//purpose :
//=======================================================================
StepFEA_AlignedCurve3dElementCoordinateSystem::StepFEA_AlignedCurve3dElementCoordinateSystem() {}
void StepFEA_AlignedCurve3dElementCoordinateSystem::Init (const Handle(TCollection_HAsciiString) &aRepresentationItem_Name,
const Handle(StepFEA_FeaAxis2Placement3d) &aCoordinateSystem)
//=================================================================================================
void StepFEA_AlignedCurve3dElementCoordinateSystem::Init(
const Handle(TCollection_HAsciiString)& aRepresentationItem_Name,
const Handle(StepFEA_FeaAxis2Placement3d)& aCoordinateSystem)
{
StepFEA_FeaRepresentationItem::Init(aRepresentationItem_Name);
theCoordinateSystem = aCoordinateSystem;
}
//=======================================================================
//function : CoordinateSystem
//purpose :
//=======================================================================
//=================================================================================================
Handle(StepFEA_FeaAxis2Placement3d) StepFEA_AlignedCurve3dElementCoordinateSystem::CoordinateSystem () const
Handle(StepFEA_FeaAxis2Placement3d) StepFEA_AlignedCurve3dElementCoordinateSystem::
CoordinateSystem() const
{
return theCoordinateSystem;
}
//=======================================================================
//function : SetCoordinateSystem
//purpose :
//=======================================================================
//=================================================================================================
void StepFEA_AlignedCurve3dElementCoordinateSystem::SetCoordinateSystem (const Handle(StepFEA_FeaAxis2Placement3d) &aCoordinateSystem)
void StepFEA_AlignedCurve3dElementCoordinateSystem::SetCoordinateSystem(
const Handle(StepFEA_FeaAxis2Placement3d)& aCoordinateSystem)
{
theCoordinateSystem = aCoordinateSystem;
}

View File

@@ -23,7 +23,6 @@
class StepFEA_FeaAxis2Placement3d;
class TCollection_HAsciiString;
class StepFEA_AlignedCurve3dElementCoordinateSystem;
DEFINE_STANDARD_HANDLE(StepFEA_AlignedCurve3dElementCoordinateSystem, StepFEA_FeaRepresentationItem)
@@ -32,42 +31,26 @@ class StepFEA_AlignedCurve3dElementCoordinateSystem : public StepFEA_FeaRepresen
{
public:
//! Empty constructor
Standard_EXPORT StepFEA_AlignedCurve3dElementCoordinateSystem();
//! Initialize all fields (own and inherited)
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aRepresentationItem_Name, const Handle(StepFEA_FeaAxis2Placement3d)& aCoordinateSystem);
Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& aRepresentationItem_Name,
const Handle(StepFEA_FeaAxis2Placement3d)& aCoordinateSystem);
//! Returns field CoordinateSystem
Standard_EXPORT Handle(StepFEA_FeaAxis2Placement3d) CoordinateSystem() const;
//! Set field CoordinateSystem
Standard_EXPORT void SetCoordinateSystem (const Handle(StepFEA_FeaAxis2Placement3d)& CoordinateSystem);
Standard_EXPORT void SetCoordinateSystem(
const Handle(StepFEA_FeaAxis2Placement3d)& CoordinateSystem);
DEFINE_STANDARD_RTTIEXT(StepFEA_AlignedCurve3dElementCoordinateSystem,StepFEA_FeaRepresentationItem)
DEFINE_STANDARD_RTTIEXT(StepFEA_AlignedCurve3dElementCoordinateSystem,
StepFEA_FeaRepresentationItem)
protected:
private:
Handle(StepFEA_FeaAxis2Placement3d) theCoordinateSystem;
};
#endif // _StepFEA_AlignedCurve3dElementCoordinateSystem_HeaderFile

View File

@@ -19,45 +19,38 @@
#include <StepFEA_FeaAxis2Placement3d.hxx>
#include <TCollection_HAsciiString.hxx>
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_AlignedSurface3dElementCoordinateSystem,StepFEA_FeaRepresentationItem)
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_AlignedSurface3dElementCoordinateSystem,
StepFEA_FeaRepresentationItem)
//=======================================================================
//function : StepFEA_AlignedSurface3dElementCoordinateSystem
//purpose :
//=======================================================================
StepFEA_AlignedSurface3dElementCoordinateSystem::StepFEA_AlignedSurface3dElementCoordinateSystem ()
//=================================================================================================
StepFEA_AlignedSurface3dElementCoordinateSystem::StepFEA_AlignedSurface3dElementCoordinateSystem()
{
}
//=======================================================================
//function : Init
//purpose :
//=======================================================================
//=================================================================================================
void StepFEA_AlignedSurface3dElementCoordinateSystem::Init (const Handle(TCollection_HAsciiString) &aRepresentationItem_Name,
const Handle(StepFEA_FeaAxis2Placement3d) &aCoordinateSystem)
void StepFEA_AlignedSurface3dElementCoordinateSystem::Init(
const Handle(TCollection_HAsciiString)& aRepresentationItem_Name,
const Handle(StepFEA_FeaAxis2Placement3d)& aCoordinateSystem)
{
StepFEA_FeaRepresentationItem::Init(aRepresentationItem_Name);
theCoordinateSystem = aCoordinateSystem;
}
//=======================================================================
//function : CoordinateSystem
//purpose :
//=======================================================================
//=================================================================================================
Handle(StepFEA_FeaAxis2Placement3d) StepFEA_AlignedSurface3dElementCoordinateSystem::CoordinateSystem () const
Handle(StepFEA_FeaAxis2Placement3d) StepFEA_AlignedSurface3dElementCoordinateSystem::
CoordinateSystem() const
{
return theCoordinateSystem;
}
//=======================================================================
//function : SetCoordinateSystem
//purpose :
//=======================================================================
//=================================================================================================
void StepFEA_AlignedSurface3dElementCoordinateSystem::SetCoordinateSystem (const Handle(StepFEA_FeaAxis2Placement3d) &aCoordinateSystem)
void StepFEA_AlignedSurface3dElementCoordinateSystem::SetCoordinateSystem(
const Handle(StepFEA_FeaAxis2Placement3d)& aCoordinateSystem)
{
theCoordinateSystem = aCoordinateSystem;
}

View File

@@ -23,51 +23,35 @@
class StepFEA_FeaAxis2Placement3d;
class TCollection_HAsciiString;
class StepFEA_AlignedSurface3dElementCoordinateSystem;
DEFINE_STANDARD_HANDLE(StepFEA_AlignedSurface3dElementCoordinateSystem, StepFEA_FeaRepresentationItem)
DEFINE_STANDARD_HANDLE(StepFEA_AlignedSurface3dElementCoordinateSystem,
StepFEA_FeaRepresentationItem)
//! Representation of STEP entity AlignedSurface3dElementCoordinateSystem
class StepFEA_AlignedSurface3dElementCoordinateSystem : public StepFEA_FeaRepresentationItem
{
public:
//! Empty constructor
Standard_EXPORT StepFEA_AlignedSurface3dElementCoordinateSystem();
//! Initialize all fields (own and inherited)
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aRepresentationItem_Name, const Handle(StepFEA_FeaAxis2Placement3d)& aCoordinateSystem);
Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& aRepresentationItem_Name,
const Handle(StepFEA_FeaAxis2Placement3d)& aCoordinateSystem);
//! Returns field CoordinateSystem
Standard_EXPORT Handle(StepFEA_FeaAxis2Placement3d) CoordinateSystem() const;
//! Set field CoordinateSystem
Standard_EXPORT void SetCoordinateSystem (const Handle(StepFEA_FeaAxis2Placement3d)& CoordinateSystem);
Standard_EXPORT void SetCoordinateSystem(
const Handle(StepFEA_FeaAxis2Placement3d)& CoordinateSystem);
DEFINE_STANDARD_RTTIEXT(StepFEA_AlignedSurface3dElementCoordinateSystem,StepFEA_FeaRepresentationItem)
DEFINE_STANDARD_RTTIEXT(StepFEA_AlignedSurface3dElementCoordinateSystem,
StepFEA_FeaRepresentationItem)
protected:
private:
Handle(StepFEA_FeaAxis2Placement3d) theCoordinateSystem;
};
#endif // _StepFEA_AlignedSurface3dElementCoordinateSystem_HeaderFile

View File

@@ -19,45 +19,38 @@
#include <StepFEA_FeaAxis2Placement3d.hxx>
#include <TCollection_HAsciiString.hxx>
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_ArbitraryVolume3dElementCoordinateSystem,StepFEA_FeaRepresentationItem)
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_ArbitraryVolume3dElementCoordinateSystem,
StepFEA_FeaRepresentationItem)
//=======================================================================
//function : StepFEA_ArbitraryVolume3dElementCoordinateSystem
//purpose :
//=======================================================================
StepFEA_ArbitraryVolume3dElementCoordinateSystem::StepFEA_ArbitraryVolume3dElementCoordinateSystem ()
//=================================================================================================
StepFEA_ArbitraryVolume3dElementCoordinateSystem::StepFEA_ArbitraryVolume3dElementCoordinateSystem()
{
}
//=======================================================================
//function : Init
//purpose :
//=======================================================================
//=================================================================================================
void StepFEA_ArbitraryVolume3dElementCoordinateSystem::Init (const Handle(TCollection_HAsciiString) &aRepresentationItem_Name,
const Handle(StepFEA_FeaAxis2Placement3d) &aCoordinateSystem)
void StepFEA_ArbitraryVolume3dElementCoordinateSystem::Init(
const Handle(TCollection_HAsciiString)& aRepresentationItem_Name,
const Handle(StepFEA_FeaAxis2Placement3d)& aCoordinateSystem)
{
StepFEA_FeaRepresentationItem::Init(aRepresentationItem_Name);
theCoordinateSystem = aCoordinateSystem;
}
//=======================================================================
//function : CoordinateSystem
//purpose :
//=======================================================================
//=================================================================================================
Handle(StepFEA_FeaAxis2Placement3d) StepFEA_ArbitraryVolume3dElementCoordinateSystem::CoordinateSystem () const
Handle(StepFEA_FeaAxis2Placement3d) StepFEA_ArbitraryVolume3dElementCoordinateSystem::
CoordinateSystem() const
{
return theCoordinateSystem;
}
//=======================================================================
//function : SetCoordinateSystem
//purpose :
//=======================================================================
//=================================================================================================
void StepFEA_ArbitraryVolume3dElementCoordinateSystem::SetCoordinateSystem (const Handle(StepFEA_FeaAxis2Placement3d) &aCoordinateSystem)
void StepFEA_ArbitraryVolume3dElementCoordinateSystem::SetCoordinateSystem(
const Handle(StepFEA_FeaAxis2Placement3d)& aCoordinateSystem)
{
theCoordinateSystem = aCoordinateSystem;
}

View File

@@ -23,51 +23,35 @@
class StepFEA_FeaAxis2Placement3d;
class TCollection_HAsciiString;
class StepFEA_ArbitraryVolume3dElementCoordinateSystem;
DEFINE_STANDARD_HANDLE(StepFEA_ArbitraryVolume3dElementCoordinateSystem, StepFEA_FeaRepresentationItem)
DEFINE_STANDARD_HANDLE(StepFEA_ArbitraryVolume3dElementCoordinateSystem,
StepFEA_FeaRepresentationItem)
//! Representation of STEP entity ArbitraryVolume3dElementCoordinateSystem
class StepFEA_ArbitraryVolume3dElementCoordinateSystem : public StepFEA_FeaRepresentationItem
{
public:
//! Empty constructor
Standard_EXPORT StepFEA_ArbitraryVolume3dElementCoordinateSystem();
//! Initialize all fields (own and inherited)
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aRepresentationItem_Name, const Handle(StepFEA_FeaAxis2Placement3d)& aCoordinateSystem);
Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& aRepresentationItem_Name,
const Handle(StepFEA_FeaAxis2Placement3d)& aCoordinateSystem);
//! Returns field CoordinateSystem
Standard_EXPORT Handle(StepFEA_FeaAxis2Placement3d) CoordinateSystem() const;
//! Set field CoordinateSystem
Standard_EXPORT void SetCoordinateSystem (const Handle(StepFEA_FeaAxis2Placement3d)& CoordinateSystem);
Standard_EXPORT void SetCoordinateSystem(
const Handle(StepFEA_FeaAxis2Placement3d)& CoordinateSystem);
DEFINE_STANDARD_RTTIEXT(StepFEA_ArbitraryVolume3dElementCoordinateSystem,StepFEA_FeaRepresentationItem)
DEFINE_STANDARD_RTTIEXT(StepFEA_ArbitraryVolume3dElementCoordinateSystem,
StepFEA_FeaRepresentationItem)
protected:
private:
Handle(StepFEA_FeaAxis2Placement3d) theCoordinateSystem;
};
#endif // _StepFEA_ArbitraryVolume3dElementCoordinateSystem_HeaderFile

View File

@@ -17,7 +17,7 @@
#include <StepFEA_CurveElementEndOffset.hxx>
#include <NCollection_Array1.hxx>
typedef NCollection_Array1<Handle(StepFEA_CurveElementEndOffset)> StepFEA_Array1OfCurveElementEndOffset;
typedef NCollection_Array1<Handle(StepFEA_CurveElementEndOffset)>
StepFEA_Array1OfCurveElementEndOffset;
#endif

View File

@@ -17,7 +17,7 @@
#include <StepFEA_CurveElementEndRelease.hxx>
#include <NCollection_Array1.hxx>
typedef NCollection_Array1<Handle(StepFEA_CurveElementEndRelease)> StepFEA_Array1OfCurveElementEndRelease;
typedef NCollection_Array1<Handle(StepFEA_CurveElementEndRelease)>
StepFEA_Array1OfCurveElementEndRelease;
#endif

View File

@@ -17,7 +17,7 @@
#include <StepFEA_CurveElementInterval.hxx>
#include <NCollection_Array1.hxx>
typedef NCollection_Array1<Handle(StepFEA_CurveElementInterval)> StepFEA_Array1OfCurveElementInterval;
typedef NCollection_Array1<Handle(StepFEA_CurveElementInterval)>
StepFEA_Array1OfCurveElementInterval;
#endif

View File

@@ -19,5 +19,4 @@
typedef NCollection_Array1<StepFEA_DegreeOfFreedom> StepFEA_Array1OfDegreeOfFreedom;
#endif

View File

@@ -17,7 +17,7 @@
#include <StepFEA_ElementRepresentation.hxx>
#include <NCollection_Array1.hxx>
typedef NCollection_Array1<Handle(StepFEA_ElementRepresentation)> StepFEA_Array1OfElementRepresentation;
typedef NCollection_Array1<Handle(StepFEA_ElementRepresentation)>
StepFEA_Array1OfElementRepresentation;
#endif

View File

@@ -19,5 +19,4 @@
typedef NCollection_Array1<Handle(StepFEA_NodeRepresentation)> StepFEA_Array1OfNodeRepresentation;
#endif

View File

@@ -18,24 +18,21 @@
#include <StepFEA_ConstantSurface3dElementCoordinateSystem.hxx>
#include <TCollection_HAsciiString.hxx>
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_ConstantSurface3dElementCoordinateSystem,StepFEA_FeaRepresentationItem)
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_ConstantSurface3dElementCoordinateSystem,
StepFEA_FeaRepresentationItem)
//=======================================================================
//function : StepFEA_ConstantSurface3dElementCoordinateSystem
//purpose :
//=======================================================================
StepFEA_ConstantSurface3dElementCoordinateSystem::StepFEA_ConstantSurface3dElementCoordinateSystem ()
//=================================================================================================
StepFEA_ConstantSurface3dElementCoordinateSystem::StepFEA_ConstantSurface3dElementCoordinateSystem()
{
}
//=======================================================================
//function : Init
//purpose :
//=======================================================================
//=================================================================================================
void StepFEA_ConstantSurface3dElementCoordinateSystem::Init (const Handle(TCollection_HAsciiString) &aRepresentationItem_Name,
const Standard_Integer aAxis,
const Standard_Real aAngle)
void StepFEA_ConstantSurface3dElementCoordinateSystem::Init(
const Handle(TCollection_HAsciiString)& aRepresentationItem_Name,
const Standard_Integer aAxis,
const Standard_Real aAngle)
{
StepFEA_FeaRepresentationItem::Init(aRepresentationItem_Name);
@@ -44,42 +41,30 @@ void StepFEA_ConstantSurface3dElementCoordinateSystem::Init (const Handle(TColle
theAngle = aAngle;
}
//=======================================================================
//function : Axis
//purpose :
//=======================================================================
//=================================================================================================
Standard_Integer StepFEA_ConstantSurface3dElementCoordinateSystem::Axis () const
Standard_Integer StepFEA_ConstantSurface3dElementCoordinateSystem::Axis() const
{
return theAxis;
}
//=======================================================================
//function : SetAxis
//purpose :
//=======================================================================
//=================================================================================================
void StepFEA_ConstantSurface3dElementCoordinateSystem::SetAxis (const Standard_Integer aAxis)
void StepFEA_ConstantSurface3dElementCoordinateSystem::SetAxis(const Standard_Integer aAxis)
{
theAxis = aAxis;
}
//=======================================================================
//function : Angle
//purpose :
//=======================================================================
//=================================================================================================
Standard_Real StepFEA_ConstantSurface3dElementCoordinateSystem::Angle () const
Standard_Real StepFEA_ConstantSurface3dElementCoordinateSystem::Angle() const
{
return theAngle;
}
//=======================================================================
//function : SetAngle
//purpose :
//=======================================================================
//=================================================================================================
void StepFEA_ConstantSurface3dElementCoordinateSystem::SetAngle (const Standard_Real aAngle)
void StepFEA_ConstantSurface3dElementCoordinateSystem::SetAngle(const Standard_Real aAngle)
{
theAngle = aAngle;
}

View File

@@ -24,58 +24,42 @@
#include <StepFEA_FeaRepresentationItem.hxx>
class TCollection_HAsciiString;
class StepFEA_ConstantSurface3dElementCoordinateSystem;
DEFINE_STANDARD_HANDLE(StepFEA_ConstantSurface3dElementCoordinateSystem, StepFEA_FeaRepresentationItem)
DEFINE_STANDARD_HANDLE(StepFEA_ConstantSurface3dElementCoordinateSystem,
StepFEA_FeaRepresentationItem)
//! Representation of STEP entity ConstantSurface3dElementCoordinateSystem
class StepFEA_ConstantSurface3dElementCoordinateSystem : public StepFEA_FeaRepresentationItem
{
public:
//! Empty constructor
Standard_EXPORT StepFEA_ConstantSurface3dElementCoordinateSystem();
//! Initialize all fields (own and inherited)
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aRepresentationItem_Name, const Standard_Integer aAxis, const Standard_Real aAngle);
Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& aRepresentationItem_Name,
const Standard_Integer aAxis,
const Standard_Real aAngle);
//! Returns field Axis
Standard_EXPORT Standard_Integer Axis() const;
//! Set field Axis
Standard_EXPORT void SetAxis (const Standard_Integer Axis);
Standard_EXPORT void SetAxis(const Standard_Integer Axis);
//! Returns field Angle
Standard_EXPORT Standard_Real Angle() const;
//! Set field Angle
Standard_EXPORT void SetAngle (const Standard_Real Angle);
Standard_EXPORT void SetAngle(const Standard_Real Angle);
DEFINE_STANDARD_RTTIEXT(StepFEA_ConstantSurface3dElementCoordinateSystem,StepFEA_FeaRepresentationItem)
DEFINE_STANDARD_RTTIEXT(StepFEA_ConstantSurface3dElementCoordinateSystem,
StepFEA_FeaRepresentationItem)
protected:
private:
Standard_Integer theAxis;
Standard_Real theAngle;
Standard_Real theAngle;
};
#endif // _StepFEA_ConstantSurface3dElementCoordinateSystem_HeaderFile

View File

@@ -14,12 +14,11 @@
#ifndef _StepFEA_CoordinateSystemType_HeaderFile
#define _StepFEA_CoordinateSystemType_HeaderFile
enum StepFEA_CoordinateSystemType
{
StepFEA_Cartesian,
StepFEA_Cylindrical,
StepFEA_Spherical
StepFEA_Cartesian,
StepFEA_Cylindrical,
StepFEA_Spherical
};
#endif // _StepFEA_CoordinateSystemType_HeaderFile

View File

@@ -18,26 +18,20 @@
#include <StepFEA_Curve3dElementProperty.hxx>
#include <TCollection_HAsciiString.hxx>
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_Curve3dElementProperty,Standard_Transient)
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_Curve3dElementProperty, Standard_Transient)
//=======================================================================
//function : StepFEA_Curve3dElementProperty
//purpose :
//=======================================================================
StepFEA_Curve3dElementProperty::StepFEA_Curve3dElementProperty ()
{
}
//=================================================================================================
//=======================================================================
//function : Init
//purpose :
//=======================================================================
StepFEA_Curve3dElementProperty::StepFEA_Curve3dElementProperty() {}
void StepFEA_Curve3dElementProperty::Init (const Handle(TCollection_HAsciiString) &aPropertyId,
const Handle(TCollection_HAsciiString) &aDescription,
const Handle(StepFEA_HArray1OfCurveElementInterval) &aIntervalDefinitions,
const Handle(StepFEA_HArray1OfCurveElementEndOffset) &aEndOffsets,
const Handle(StepFEA_HArray1OfCurveElementEndRelease) &aEndReleases)
//=================================================================================================
void StepFEA_Curve3dElementProperty::Init(
const Handle(TCollection_HAsciiString)& aPropertyId,
const Handle(TCollection_HAsciiString)& aDescription,
const Handle(StepFEA_HArray1OfCurveElementInterval)& aIntervalDefinitions,
const Handle(StepFEA_HArray1OfCurveElementEndOffset)& aEndOffsets,
const Handle(StepFEA_HArray1OfCurveElementEndRelease)& aEndReleases)
{
thePropertyId = aPropertyId;
@@ -51,102 +45,78 @@ void StepFEA_Curve3dElementProperty::Init (const Handle(TCollection_HAsciiString
theEndReleases = aEndReleases;
}
//=======================================================================
//function : PropertyId
//purpose :
//=======================================================================
//=================================================================================================
Handle(TCollection_HAsciiString) StepFEA_Curve3dElementProperty::PropertyId () const
Handle(TCollection_HAsciiString) StepFEA_Curve3dElementProperty::PropertyId() const
{
return thePropertyId;
}
//=======================================================================
//function : SetPropertyId
//purpose :
//=======================================================================
//=================================================================================================
void StepFEA_Curve3dElementProperty::SetPropertyId (const Handle(TCollection_HAsciiString) &aPropertyId)
void StepFEA_Curve3dElementProperty::SetPropertyId(
const Handle(TCollection_HAsciiString)& aPropertyId)
{
thePropertyId = aPropertyId;
}
//=======================================================================
//function : Description
//purpose :
//=======================================================================
//=================================================================================================
Handle(TCollection_HAsciiString) StepFEA_Curve3dElementProperty::Description () const
Handle(TCollection_HAsciiString) StepFEA_Curve3dElementProperty::Description() const
{
return theDescription;
}
//=======================================================================
//function : SetDescription
//purpose :
//=======================================================================
//=================================================================================================
void StepFEA_Curve3dElementProperty::SetDescription (const Handle(TCollection_HAsciiString) &aDescription)
void StepFEA_Curve3dElementProperty::SetDescription(
const Handle(TCollection_HAsciiString)& aDescription)
{
theDescription = aDescription;
}
//=======================================================================
//function : IntervalDefinitions
//purpose :
//=======================================================================
//=================================================================================================
Handle(StepFEA_HArray1OfCurveElementInterval) StepFEA_Curve3dElementProperty::IntervalDefinitions () const
Handle(StepFEA_HArray1OfCurveElementInterval) StepFEA_Curve3dElementProperty::IntervalDefinitions()
const
{
return theIntervalDefinitions;
}
//=======================================================================
//function : SetIntervalDefinitions
//purpose :
//=======================================================================
//=================================================================================================
void StepFEA_Curve3dElementProperty::SetIntervalDefinitions (const Handle(StepFEA_HArray1OfCurveElementInterval) &aIntervalDefinitions)
void StepFEA_Curve3dElementProperty::SetIntervalDefinitions(
const Handle(StepFEA_HArray1OfCurveElementInterval)& aIntervalDefinitions)
{
theIntervalDefinitions = aIntervalDefinitions;
}
//=======================================================================
//function : EndOffsets
//purpose :
//=======================================================================
//=================================================================================================
Handle(StepFEA_HArray1OfCurveElementEndOffset) StepFEA_Curve3dElementProperty::EndOffsets () const
Handle(StepFEA_HArray1OfCurveElementEndOffset) StepFEA_Curve3dElementProperty::EndOffsets() const
{
return theEndOffsets;
}
//=======================================================================
//function : SetEndOffsets
//purpose :
//=======================================================================
//=================================================================================================
void StepFEA_Curve3dElementProperty::SetEndOffsets (const Handle(StepFEA_HArray1OfCurveElementEndOffset) &aEndOffsets)
void StepFEA_Curve3dElementProperty::SetEndOffsets(
const Handle(StepFEA_HArray1OfCurveElementEndOffset)& aEndOffsets)
{
theEndOffsets = aEndOffsets;
}
//=======================================================================
//function : EndReleases
//purpose :
//=======================================================================
//=================================================================================================
Handle(StepFEA_HArray1OfCurveElementEndRelease) StepFEA_Curve3dElementProperty::EndReleases () const
Handle(StepFEA_HArray1OfCurveElementEndRelease) StepFEA_Curve3dElementProperty::EndReleases() const
{
return theEndReleases;
}
//=======================================================================
//function : SetEndReleases
//purpose :
//=======================================================================
//=================================================================================================
void StepFEA_Curve3dElementProperty::SetEndReleases (const Handle(StepFEA_HArray1OfCurveElementEndRelease) &aEndReleases)
void StepFEA_Curve3dElementProperty::SetEndReleases(
const Handle(StepFEA_HArray1OfCurveElementEndRelease)& aEndReleases)
{
theEndReleases = aEndReleases;
}

View File

@@ -24,7 +24,6 @@
#include <Standard_Transient.hxx>
class TCollection_HAsciiString;
class StepFEA_Curve3dElementProperty;
DEFINE_STANDARD_HANDLE(StepFEA_Curve3dElementProperty, Standard_Transient)
@@ -33,70 +32,59 @@ class StepFEA_Curve3dElementProperty : public Standard_Transient
{
public:
//! Empty constructor
Standard_EXPORT StepFEA_Curve3dElementProperty();
//! Initialize all fields (own and inherited)
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aPropertyId, const Handle(TCollection_HAsciiString)& aDescription, const Handle(StepFEA_HArray1OfCurveElementInterval)& aIntervalDefinitions, const Handle(StepFEA_HArray1OfCurveElementEndOffset)& aEndOffsets, const Handle(StepFEA_HArray1OfCurveElementEndRelease)& aEndReleases);
Standard_EXPORT void Init(
const Handle(TCollection_HAsciiString)& aPropertyId,
const Handle(TCollection_HAsciiString)& aDescription,
const Handle(StepFEA_HArray1OfCurveElementInterval)& aIntervalDefinitions,
const Handle(StepFEA_HArray1OfCurveElementEndOffset)& aEndOffsets,
const Handle(StepFEA_HArray1OfCurveElementEndRelease)& aEndReleases);
//! Returns field PropertyId
Standard_EXPORT Handle(TCollection_HAsciiString) PropertyId() const;
//! Set field PropertyId
Standard_EXPORT void SetPropertyId (const Handle(TCollection_HAsciiString)& PropertyId);
Standard_EXPORT void SetPropertyId(const Handle(TCollection_HAsciiString)& PropertyId);
//! Returns field Description
Standard_EXPORT Handle(TCollection_HAsciiString) Description() const;
//! Set field Description
Standard_EXPORT void SetDescription (const Handle(TCollection_HAsciiString)& Description);
Standard_EXPORT void SetDescription(const Handle(TCollection_HAsciiString)& Description);
//! Returns field IntervalDefinitions
Standard_EXPORT Handle(StepFEA_HArray1OfCurveElementInterval) IntervalDefinitions() const;
//! Set field IntervalDefinitions
Standard_EXPORT void SetIntervalDefinitions (const Handle(StepFEA_HArray1OfCurveElementInterval)& IntervalDefinitions);
Standard_EXPORT void SetIntervalDefinitions(
const Handle(StepFEA_HArray1OfCurveElementInterval)& IntervalDefinitions);
//! Returns field EndOffsets
Standard_EXPORT Handle(StepFEA_HArray1OfCurveElementEndOffset) EndOffsets() const;
//! Set field EndOffsets
Standard_EXPORT void SetEndOffsets (const Handle(StepFEA_HArray1OfCurveElementEndOffset)& EndOffsets);
Standard_EXPORT void SetEndOffsets(
const Handle(StepFEA_HArray1OfCurveElementEndOffset)& EndOffsets);
//! Returns field EndReleases
Standard_EXPORT Handle(StepFEA_HArray1OfCurveElementEndRelease) EndReleases() const;
//! Set field EndReleases
Standard_EXPORT void SetEndReleases (const Handle(StepFEA_HArray1OfCurveElementEndRelease)& EndReleases);
Standard_EXPORT void SetEndReleases(
const Handle(StepFEA_HArray1OfCurveElementEndRelease)& EndReleases);
DEFINE_STANDARD_RTTIEXT(StepFEA_Curve3dElementProperty,Standard_Transient)
DEFINE_STANDARD_RTTIEXT(StepFEA_Curve3dElementProperty, Standard_Transient)
protected:
private:
Handle(TCollection_HAsciiString) thePropertyId;
Handle(TCollection_HAsciiString) theDescription;
Handle(StepFEA_HArray1OfCurveElementInterval) theIntervalDefinitions;
Handle(StepFEA_HArray1OfCurveElementEndOffset) theEndOffsets;
Handle(TCollection_HAsciiString) thePropertyId;
Handle(TCollection_HAsciiString) theDescription;
Handle(StepFEA_HArray1OfCurveElementInterval) theIntervalDefinitions;
Handle(StepFEA_HArray1OfCurveElementEndOffset) theEndOffsets;
Handle(StepFEA_HArray1OfCurveElementEndRelease) theEndReleases;
};
#endif // _StepFEA_Curve3dElementProperty_HeaderFile

View File

@@ -23,29 +23,23 @@
#include <StepRepr_RepresentationContext.hxx>
#include <TCollection_HAsciiString.hxx>
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_Curve3dElementRepresentation,StepFEA_ElementRepresentation)
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_Curve3dElementRepresentation, StepFEA_ElementRepresentation)
//=======================================================================
//function : StepFEA_Curve3dElementRepresentation
//purpose :
//=======================================================================
StepFEA_Curve3dElementRepresentation::StepFEA_Curve3dElementRepresentation ()
{
}
//=================================================================================================
//=======================================================================
//function : Init
//purpose :
//=======================================================================
StepFEA_Curve3dElementRepresentation::StepFEA_Curve3dElementRepresentation() {}
void StepFEA_Curve3dElementRepresentation::Init (const Handle(TCollection_HAsciiString) &aRepresentation_Name,
const Handle(StepRepr_HArray1OfRepresentationItem) &aRepresentation_Items,
const Handle(StepRepr_RepresentationContext) &aRepresentation_ContextOfItems,
const Handle(StepFEA_HArray1OfNodeRepresentation) &aElementRepresentation_NodeList,
const Handle(StepFEA_FeaModel3d) &aModelRef,
const Handle(StepElement_Curve3dElementDescriptor) &aElementDescriptor,
const Handle(StepFEA_Curve3dElementProperty) &aProperty,
const Handle(StepElement_ElementMaterial) &aMaterial)
//=================================================================================================
void StepFEA_Curve3dElementRepresentation::Init(
const Handle(TCollection_HAsciiString)& aRepresentation_Name,
const Handle(StepRepr_HArray1OfRepresentationItem)& aRepresentation_Items,
const Handle(StepRepr_RepresentationContext)& aRepresentation_ContextOfItems,
const Handle(StepFEA_HArray1OfNodeRepresentation)& aElementRepresentation_NodeList,
const Handle(StepFEA_FeaModel3d)& aModelRef,
const Handle(StepElement_Curve3dElementDescriptor)& aElementDescriptor,
const Handle(StepFEA_Curve3dElementProperty)& aProperty,
const Handle(StepElement_ElementMaterial)& aMaterial)
{
StepFEA_ElementRepresentation::Init(aRepresentation_Name,
aRepresentation_Items,
@@ -61,82 +55,62 @@ void StepFEA_Curve3dElementRepresentation::Init (const Handle(TCollection_HAscii
theMaterial = aMaterial;
}
//=======================================================================
//function : ModelRef
//purpose :
//=======================================================================
//=================================================================================================
Handle(StepFEA_FeaModel3d) StepFEA_Curve3dElementRepresentation::ModelRef () const
Handle(StepFEA_FeaModel3d) StepFEA_Curve3dElementRepresentation::ModelRef() const
{
return theModelRef;
}
//=======================================================================
//function : SetModelRef
//purpose :
//=======================================================================
//=================================================================================================
void StepFEA_Curve3dElementRepresentation::SetModelRef (const Handle(StepFEA_FeaModel3d) &aModelRef)
void StepFEA_Curve3dElementRepresentation::SetModelRef(const Handle(StepFEA_FeaModel3d)& aModelRef)
{
theModelRef = aModelRef;
}
//=======================================================================
//function : ElementDescriptor
//purpose :
//=======================================================================
//=================================================================================================
Handle(StepElement_Curve3dElementDescriptor) StepFEA_Curve3dElementRepresentation::ElementDescriptor () const
Handle(StepElement_Curve3dElementDescriptor) StepFEA_Curve3dElementRepresentation::
ElementDescriptor() const
{
return theElementDescriptor;
}
//=======================================================================
//function : SetElementDescriptor
//purpose :
//=======================================================================
//=================================================================================================
void StepFEA_Curve3dElementRepresentation::SetElementDescriptor (const Handle(StepElement_Curve3dElementDescriptor) &aElementDescriptor)
void StepFEA_Curve3dElementRepresentation::SetElementDescriptor(
const Handle(StepElement_Curve3dElementDescriptor)& aElementDescriptor)
{
theElementDescriptor = aElementDescriptor;
}
//=======================================================================
//function : Property
//purpose :
//=======================================================================
//=================================================================================================
Handle(StepFEA_Curve3dElementProperty) StepFEA_Curve3dElementRepresentation::Property () const
Handle(StepFEA_Curve3dElementProperty) StepFEA_Curve3dElementRepresentation::Property() const
{
return theProperty;
}
//=======================================================================
//function : SetProperty
//purpose :
//=======================================================================
//=================================================================================================
void StepFEA_Curve3dElementRepresentation::SetProperty (const Handle(StepFEA_Curve3dElementProperty) &aProperty)
void StepFEA_Curve3dElementRepresentation::SetProperty(
const Handle(StepFEA_Curve3dElementProperty)& aProperty)
{
theProperty = aProperty;
}
//=======================================================================
//function : Material
//purpose :
//=======================================================================
//=================================================================================================
Handle(StepElement_ElementMaterial) StepFEA_Curve3dElementRepresentation::Material () const
Handle(StepElement_ElementMaterial) StepFEA_Curve3dElementRepresentation::Material() const
{
return theMaterial;
}
//=======================================================================
//function : SetMaterial
//purpose :
//=======================================================================
//=================================================================================================
void StepFEA_Curve3dElementRepresentation::SetMaterial (const Handle(StepElement_ElementMaterial) &aMaterial)
void StepFEA_Curve3dElementRepresentation::SetMaterial(
const Handle(StepElement_ElementMaterial)& aMaterial)
{
theMaterial = aMaterial;
}

View File

@@ -29,7 +29,6 @@ class StepElement_ElementMaterial;
class TCollection_HAsciiString;
class StepRepr_RepresentationContext;
class StepFEA_Curve3dElementRepresentation;
DEFINE_STANDARD_HANDLE(StepFEA_Curve3dElementRepresentation, StepFEA_ElementRepresentation)
@@ -38,63 +37,53 @@ class StepFEA_Curve3dElementRepresentation : public StepFEA_ElementRepresentatio
{
public:
//! Empty constructor
Standard_EXPORT StepFEA_Curve3dElementRepresentation();
//! Initialize all fields (own and inherited)
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aRepresentation_Name, const Handle(StepRepr_HArray1OfRepresentationItem)& aRepresentation_Items, const Handle(StepRepr_RepresentationContext)& aRepresentation_ContextOfItems, const Handle(StepFEA_HArray1OfNodeRepresentation)& aElementRepresentation_NodeList, const Handle(StepFEA_FeaModel3d)& aModelRef, const Handle(StepElement_Curve3dElementDescriptor)& aElementDescriptor, const Handle(StepFEA_Curve3dElementProperty)& aProperty, const Handle(StepElement_ElementMaterial)& aMaterial);
Standard_EXPORT void Init(
const Handle(TCollection_HAsciiString)& aRepresentation_Name,
const Handle(StepRepr_HArray1OfRepresentationItem)& aRepresentation_Items,
const Handle(StepRepr_RepresentationContext)& aRepresentation_ContextOfItems,
const Handle(StepFEA_HArray1OfNodeRepresentation)& aElementRepresentation_NodeList,
const Handle(StepFEA_FeaModel3d)& aModelRef,
const Handle(StepElement_Curve3dElementDescriptor)& aElementDescriptor,
const Handle(StepFEA_Curve3dElementProperty)& aProperty,
const Handle(StepElement_ElementMaterial)& aMaterial);
//! Returns field ModelRef
Standard_EXPORT Handle(StepFEA_FeaModel3d) ModelRef() const;
//! Set field ModelRef
Standard_EXPORT void SetModelRef (const Handle(StepFEA_FeaModel3d)& ModelRef);
Standard_EXPORT void SetModelRef(const Handle(StepFEA_FeaModel3d)& ModelRef);
//! Returns field ElementDescriptor
Standard_EXPORT Handle(StepElement_Curve3dElementDescriptor) ElementDescriptor() const;
//! Set field ElementDescriptor
Standard_EXPORT void SetElementDescriptor (const Handle(StepElement_Curve3dElementDescriptor)& ElementDescriptor);
Standard_EXPORT void SetElementDescriptor(
const Handle(StepElement_Curve3dElementDescriptor)& ElementDescriptor);
//! Returns field Property
Standard_EXPORT Handle(StepFEA_Curve3dElementProperty) Property() const;
//! Set field Property
Standard_EXPORT void SetProperty (const Handle(StepFEA_Curve3dElementProperty)& Property);
Standard_EXPORT void SetProperty(const Handle(StepFEA_Curve3dElementProperty)& Property);
//! Returns field Material
Standard_EXPORT Handle(StepElement_ElementMaterial) Material() const;
//! Set field Material
Standard_EXPORT void SetMaterial (const Handle(StepElement_ElementMaterial)& Material);
Standard_EXPORT void SetMaterial(const Handle(StepElement_ElementMaterial)& Material);
DEFINE_STANDARD_RTTIEXT(StepFEA_Curve3dElementRepresentation,StepFEA_ElementRepresentation)
DEFINE_STANDARD_RTTIEXT(StepFEA_Curve3dElementRepresentation, StepFEA_ElementRepresentation)
protected:
private:
Handle(StepFEA_FeaModel3d) theModelRef;
Handle(StepFEA_FeaModel3d) theModelRef;
Handle(StepElement_Curve3dElementDescriptor) theElementDescriptor;
Handle(StepFEA_Curve3dElementProperty) theProperty;
Handle(StepElement_ElementMaterial) theMaterial;
Handle(StepFEA_Curve3dElementProperty) theProperty;
Handle(StepElement_ElementMaterial) theMaterial;
};
#endif // _StepFEA_Curve3dElementRepresentation_HeaderFile

View File

@@ -14,10 +14,9 @@
#ifndef _StepFEA_CurveEdge_HeaderFile
#define _StepFEA_CurveEdge_HeaderFile
enum StepFEA_CurveEdge
{
StepFEA_ElementEdge
StepFEA_ElementEdge
};
#endif // _StepFEA_CurveEdge_HeaderFile

View File

@@ -21,54 +21,46 @@
#include <StepFEA_FeaAxis2Placement3d.hxx>
#include <StepFEA_ParametricCurve3dElementCoordinateSystem.hxx>
//=======================================================================
//function : StepFEA_CurveElementEndCoordinateSystem
//purpose :
//=======================================================================
StepFEA_CurveElementEndCoordinateSystem::StepFEA_CurveElementEndCoordinateSystem ()
{
}
//=================================================================================================
//=======================================================================
//function : CaseNum
//purpose :
//=======================================================================
StepFEA_CurveElementEndCoordinateSystem::StepFEA_CurveElementEndCoordinateSystem() {}
Standard_Integer StepFEA_CurveElementEndCoordinateSystem::CaseNum (const Handle(Standard_Transient)& ent) const
//=================================================================================================
Standard_Integer StepFEA_CurveElementEndCoordinateSystem::CaseNum(
const Handle(Standard_Transient)& ent) const
{
if (ent.IsNull()) return 0;
if (ent->IsKind(STANDARD_TYPE(StepFEA_FeaAxis2Placement3d))) return 1;
if (ent->IsKind(STANDARD_TYPE(StepFEA_AlignedCurve3dElementCoordinateSystem))) return 2;
if (ent->IsKind(STANDARD_TYPE(StepFEA_ParametricCurve3dElementCoordinateSystem))) return 3;
if (ent.IsNull())
return 0;
if (ent->IsKind(STANDARD_TYPE(StepFEA_FeaAxis2Placement3d)))
return 1;
if (ent->IsKind(STANDARD_TYPE(StepFEA_AlignedCurve3dElementCoordinateSystem)))
return 2;
if (ent->IsKind(STANDARD_TYPE(StepFEA_ParametricCurve3dElementCoordinateSystem)))
return 3;
return 0;
}
//=======================================================================
//function : FeaAxis2Placement3d
//purpose :
//=======================================================================
//=================================================================================================
Handle(StepFEA_FeaAxis2Placement3d) StepFEA_CurveElementEndCoordinateSystem::FeaAxis2Placement3d () const
Handle(StepFEA_FeaAxis2Placement3d) StepFEA_CurveElementEndCoordinateSystem::FeaAxis2Placement3d()
const
{
return Handle(StepFEA_FeaAxis2Placement3d)::DownCast(Value());
}
//=======================================================================
//function : AlignedCurve3dElementCoordinateSystem
//purpose :
//=======================================================================
//=================================================================================================
Handle(StepFEA_AlignedCurve3dElementCoordinateSystem) StepFEA_CurveElementEndCoordinateSystem::AlignedCurve3dElementCoordinateSystem () const
Handle(StepFEA_AlignedCurve3dElementCoordinateSystem) StepFEA_CurveElementEndCoordinateSystem::
AlignedCurve3dElementCoordinateSystem() const
{
return Handle(StepFEA_AlignedCurve3dElementCoordinateSystem)::DownCast(Value());
}
//=======================================================================
//function : ParametricCurve3dElementCoordinateSystem
//purpose :
//=======================================================================
//=================================================================================================
Handle(StepFEA_ParametricCurve3dElementCoordinateSystem) StepFEA_CurveElementEndCoordinateSystem::ParametricCurve3dElementCoordinateSystem () const
Handle(StepFEA_ParametricCurve3dElementCoordinateSystem) StepFEA_CurveElementEndCoordinateSystem::
ParametricCurve3dElementCoordinateSystem() const
{
return Handle(StepFEA_ParametricCurve3dElementCoordinateSystem)::DownCast(Value());
}

View File

@@ -27,55 +27,35 @@ class StepFEA_FeaAxis2Placement3d;
class StepFEA_AlignedCurve3dElementCoordinateSystem;
class StepFEA_ParametricCurve3dElementCoordinateSystem;
//! Representation of STEP SELECT type CurveElementEndCoordinateSystem
class StepFEA_CurveElementEndCoordinateSystem : public StepData_SelectType
class StepFEA_CurveElementEndCoordinateSystem : public StepData_SelectType
{
public:
DEFINE_STANDARD_ALLOC
//! Empty constructor
Standard_EXPORT StepFEA_CurveElementEndCoordinateSystem();
//! Recognizes a kind of CurveElementEndCoordinateSystem select type
//! 1 -> FeaAxis2Placement3d from StepFEA
//! 2 -> AlignedCurve3dElementCoordinateSystem from StepFEA
//! 3 -> ParametricCurve3dElementCoordinateSystem from StepFEA
//! 0 else
Standard_EXPORT Standard_Integer CaseNum (const Handle(Standard_Transient)& ent) const;
Standard_EXPORT Standard_Integer CaseNum(const Handle(Standard_Transient)& ent) const;
//! Returns Value as FeaAxis2Placement3d (or Null if another type)
Standard_EXPORT Handle(StepFEA_FeaAxis2Placement3d) FeaAxis2Placement3d() const;
//! Returns Value as AlignedCurve3dElementCoordinateSystem (or Null if another type)
Standard_EXPORT Handle(StepFEA_AlignedCurve3dElementCoordinateSystem) AlignedCurve3dElementCoordinateSystem() const;
Standard_EXPORT Handle(StepFEA_AlignedCurve3dElementCoordinateSystem)
AlignedCurve3dElementCoordinateSystem() const;
//! Returns Value as ParametricCurve3dElementCoordinateSystem (or Null if another type)
Standard_EXPORT Handle(StepFEA_ParametricCurve3dElementCoordinateSystem) ParametricCurve3dElementCoordinateSystem() const;
Standard_EXPORT Handle(StepFEA_ParametricCurve3dElementCoordinateSystem)
ParametricCurve3dElementCoordinateSystem() const;
protected:
private:
};
#endif // _StepFEA_CurveElementEndCoordinateSystem_HeaderFile

View File

@@ -17,23 +17,17 @@
#include <StepFEA_CurveElementEndOffset.hxx>
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_CurveElementEndOffset,Standard_Transient)
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_CurveElementEndOffset, Standard_Transient)
//=======================================================================
//function : StepFEA_CurveElementEndOffset
//purpose :
//=======================================================================
StepFEA_CurveElementEndOffset::StepFEA_CurveElementEndOffset ()
{
}
//=================================================================================================
//=======================================================================
//function : Init
//purpose :
//=======================================================================
StepFEA_CurveElementEndOffset::StepFEA_CurveElementEndOffset() {}
void StepFEA_CurveElementEndOffset::Init (const StepFEA_CurveElementEndCoordinateSystem &aCoordinateSystem,
const Handle(TColStd_HArray1OfReal) &aOffsetVector)
//=================================================================================================
void StepFEA_CurveElementEndOffset::Init(
const StepFEA_CurveElementEndCoordinateSystem& aCoordinateSystem,
const Handle(TColStd_HArray1OfReal)& aOffsetVector)
{
theCoordinateSystem = aCoordinateSystem;
@@ -41,42 +35,32 @@ void StepFEA_CurveElementEndOffset::Init (const StepFEA_CurveElementEndCoordinat
theOffsetVector = aOffsetVector;
}
//=======================================================================
//function : CoordinateSystem
//purpose :
//=======================================================================
//=================================================================================================
StepFEA_CurveElementEndCoordinateSystem StepFEA_CurveElementEndOffset::CoordinateSystem () const
StepFEA_CurveElementEndCoordinateSystem StepFEA_CurveElementEndOffset::CoordinateSystem() const
{
return theCoordinateSystem;
}
//=======================================================================
//function : SetCoordinateSystem
//purpose :
//=======================================================================
//=================================================================================================
void StepFEA_CurveElementEndOffset::SetCoordinateSystem (const StepFEA_CurveElementEndCoordinateSystem &aCoordinateSystem)
void StepFEA_CurveElementEndOffset::SetCoordinateSystem(
const StepFEA_CurveElementEndCoordinateSystem& aCoordinateSystem)
{
theCoordinateSystem = aCoordinateSystem;
}
//=======================================================================
//function : OffsetVector
//purpose :
//=======================================================================
//=================================================================================================
Handle(TColStd_HArray1OfReal) StepFEA_CurveElementEndOffset::OffsetVector () const
Handle(TColStd_HArray1OfReal) StepFEA_CurveElementEndOffset::OffsetVector() const
{
return theOffsetVector;
}
//=======================================================================
//function : SetOffsetVector
//purpose :
//=======================================================================
//=================================================================================================
void StepFEA_CurveElementEndOffset::SetOffsetVector (const Handle(TColStd_HArray1OfReal) &aOffsetVector)
void StepFEA_CurveElementEndOffset::SetOffsetVector(
const Handle(TColStd_HArray1OfReal)& aOffsetVector)
{
theOffsetVector = aOffsetVector;
}

View File

@@ -22,7 +22,6 @@
#include <TColStd_HArray1OfReal.hxx>
#include <Standard_Transient.hxx>
class StepFEA_CurveElementEndOffset;
DEFINE_STANDARD_HANDLE(StepFEA_CurveElementEndOffset, Standard_Transient)
@@ -31,49 +30,32 @@ class StepFEA_CurveElementEndOffset : public Standard_Transient
{
public:
//! Empty constructor
Standard_EXPORT StepFEA_CurveElementEndOffset();
//! Initialize all fields (own and inherited)
Standard_EXPORT void Init (const StepFEA_CurveElementEndCoordinateSystem& aCoordinateSystem, const Handle(TColStd_HArray1OfReal)& aOffsetVector);
Standard_EXPORT void Init(const StepFEA_CurveElementEndCoordinateSystem& aCoordinateSystem,
const Handle(TColStd_HArray1OfReal)& aOffsetVector);
//! Returns field CoordinateSystem
Standard_EXPORT StepFEA_CurveElementEndCoordinateSystem CoordinateSystem() const;
//! Set field CoordinateSystem
Standard_EXPORT void SetCoordinateSystem (const StepFEA_CurveElementEndCoordinateSystem& CoordinateSystem);
Standard_EXPORT void SetCoordinateSystem(
const StepFEA_CurveElementEndCoordinateSystem& CoordinateSystem);
//! Returns field OffsetVector
Standard_EXPORT Handle(TColStd_HArray1OfReal) OffsetVector() const;
//! Set field OffsetVector
Standard_EXPORT void SetOffsetVector (const Handle(TColStd_HArray1OfReal)& OffsetVector);
Standard_EXPORT void SetOffsetVector(const Handle(TColStd_HArray1OfReal)& OffsetVector);
DEFINE_STANDARD_RTTIEXT(StepFEA_CurveElementEndOffset,Standard_Transient)
DEFINE_STANDARD_RTTIEXT(StepFEA_CurveElementEndOffset, Standard_Transient)
protected:
private:
StepFEA_CurveElementEndCoordinateSystem theCoordinateSystem;
Handle(TColStd_HArray1OfReal) theOffsetVector;
Handle(TColStd_HArray1OfReal) theOffsetVector;
};
#endif // _StepFEA_CurveElementEndOffset_HeaderFile

View File

@@ -17,23 +17,17 @@
#include <StepFEA_CurveElementEndRelease.hxx>
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_CurveElementEndRelease,Standard_Transient)
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_CurveElementEndRelease, Standard_Transient)
//=======================================================================
//function : StepFEA_CurveElementEndRelease
//purpose :
//=======================================================================
StepFEA_CurveElementEndRelease::StepFEA_CurveElementEndRelease ()
{
}
//=================================================================================================
//=======================================================================
//function : Init
//purpose :
//=======================================================================
StepFEA_CurveElementEndRelease::StepFEA_CurveElementEndRelease() {}
void StepFEA_CurveElementEndRelease::Init (const StepFEA_CurveElementEndCoordinateSystem &aCoordinateSystem,
const Handle(StepElement_HArray1OfCurveElementEndReleasePacket) &aReleases)
//=================================================================================================
void StepFEA_CurveElementEndRelease::Init(
const StepFEA_CurveElementEndCoordinateSystem& aCoordinateSystem,
const Handle(StepElement_HArray1OfCurveElementEndReleasePacket)& aReleases)
{
theCoordinateSystem = aCoordinateSystem;
@@ -41,42 +35,33 @@ void StepFEA_CurveElementEndRelease::Init (const StepFEA_CurveElementEndCoordina
theReleases = aReleases;
}
//=======================================================================
//function : CoordinateSystem
//purpose :
//=======================================================================
//=================================================================================================
StepFEA_CurveElementEndCoordinateSystem StepFEA_CurveElementEndRelease::CoordinateSystem () const
StepFEA_CurveElementEndCoordinateSystem StepFEA_CurveElementEndRelease::CoordinateSystem() const
{
return theCoordinateSystem;
}
//=======================================================================
//function : SetCoordinateSystem
//purpose :
//=======================================================================
//=================================================================================================
void StepFEA_CurveElementEndRelease::SetCoordinateSystem (const StepFEA_CurveElementEndCoordinateSystem &aCoordinateSystem)
void StepFEA_CurveElementEndRelease::SetCoordinateSystem(
const StepFEA_CurveElementEndCoordinateSystem& aCoordinateSystem)
{
theCoordinateSystem = aCoordinateSystem;
}
//=======================================================================
//function : Releases
//purpose :
//=======================================================================
//=================================================================================================
Handle(StepElement_HArray1OfCurveElementEndReleasePacket) StepFEA_CurveElementEndRelease::Releases () const
Handle(StepElement_HArray1OfCurveElementEndReleasePacket) StepFEA_CurveElementEndRelease::Releases()
const
{
return theReleases;
}
//=======================================================================
//function : SetReleases
//purpose :
//=======================================================================
//=================================================================================================
void StepFEA_CurveElementEndRelease::SetReleases (const Handle(StepElement_HArray1OfCurveElementEndReleasePacket) &aReleases)
void StepFEA_CurveElementEndRelease::SetReleases(
const Handle(StepElement_HArray1OfCurveElementEndReleasePacket)& aReleases)
{
theReleases = aReleases;
}

View File

@@ -22,7 +22,6 @@
#include <StepElement_HArray1OfCurveElementEndReleasePacket.hxx>
#include <Standard_Transient.hxx>
class StepFEA_CurveElementEndRelease;
DEFINE_STANDARD_HANDLE(StepFEA_CurveElementEndRelease, Standard_Transient)
@@ -31,49 +30,34 @@ class StepFEA_CurveElementEndRelease : public Standard_Transient
{
public:
//! Empty constructor
Standard_EXPORT StepFEA_CurveElementEndRelease();
//! Initialize all fields (own and inherited)
Standard_EXPORT void Init (const StepFEA_CurveElementEndCoordinateSystem& aCoordinateSystem, const Handle(StepElement_HArray1OfCurveElementEndReleasePacket)& aReleases);
Standard_EXPORT void Init(
const StepFEA_CurveElementEndCoordinateSystem& aCoordinateSystem,
const Handle(StepElement_HArray1OfCurveElementEndReleasePacket)& aReleases);
//! Returns field CoordinateSystem
Standard_EXPORT StepFEA_CurveElementEndCoordinateSystem CoordinateSystem() const;
//! Set field CoordinateSystem
Standard_EXPORT void SetCoordinateSystem (const StepFEA_CurveElementEndCoordinateSystem& CoordinateSystem);
Standard_EXPORT void SetCoordinateSystem(
const StepFEA_CurveElementEndCoordinateSystem& CoordinateSystem);
//! Returns field Releases
Standard_EXPORT Handle(StepElement_HArray1OfCurveElementEndReleasePacket) Releases() const;
//! Set field Releases
Standard_EXPORT void SetReleases (const Handle(StepElement_HArray1OfCurveElementEndReleasePacket)& Releases);
Standard_EXPORT void SetReleases(
const Handle(StepElement_HArray1OfCurveElementEndReleasePacket)& Releases);
DEFINE_STANDARD_RTTIEXT(StepFEA_CurveElementEndRelease,Standard_Transient)
DEFINE_STANDARD_RTTIEXT(StepFEA_CurveElementEndRelease, Standard_Transient)
protected:
private:
StepFEA_CurveElementEndCoordinateSystem theCoordinateSystem;
StepFEA_CurveElementEndCoordinateSystem theCoordinateSystem;
Handle(StepElement_HArray1OfCurveElementEndReleasePacket) theReleases;
};
#endif // _StepFEA_CurveElementEndRelease_HeaderFile

View File

@@ -20,23 +20,16 @@
#include <StepFEA_CurveElementInterval.hxx>
#include <StepFEA_CurveElementLocation.hxx>
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_CurveElementInterval,Standard_Transient)
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_CurveElementInterval, Standard_Transient)
//=======================================================================
//function : StepFEA_CurveElementInterval
//purpose :
//=======================================================================
StepFEA_CurveElementInterval::StepFEA_CurveElementInterval ()
{
}
//=================================================================================================
//=======================================================================
//function : Init
//purpose :
//=======================================================================
StepFEA_CurveElementInterval::StepFEA_CurveElementInterval() {}
void StepFEA_CurveElementInterval::Init (const Handle(StepFEA_CurveElementLocation) &aFinishPosition,
const Handle(StepBasic_EulerAngles) &aEuAngles)
//=================================================================================================
void StepFEA_CurveElementInterval::Init(const Handle(StepFEA_CurveElementLocation)& aFinishPosition,
const Handle(StepBasic_EulerAngles)& aEuAngles)
{
theFinishPosition = aFinishPosition;
@@ -44,42 +37,31 @@ void StepFEA_CurveElementInterval::Init (const Handle(StepFEA_CurveElementLocati
theEuAngles = aEuAngles;
}
//=======================================================================
//function : FinishPosition
//purpose :
//=======================================================================
//=================================================================================================
Handle(StepFEA_CurveElementLocation) StepFEA_CurveElementInterval::FinishPosition () const
Handle(StepFEA_CurveElementLocation) StepFEA_CurveElementInterval::FinishPosition() const
{
return theFinishPosition;
}
//=======================================================================
//function : SetFinishPosition
//purpose :
//=======================================================================
//=================================================================================================
void StepFEA_CurveElementInterval::SetFinishPosition (const Handle(StepFEA_CurveElementLocation) &aFinishPosition)
void StepFEA_CurveElementInterval::SetFinishPosition(
const Handle(StepFEA_CurveElementLocation)& aFinishPosition)
{
theFinishPosition = aFinishPosition;
}
//=======================================================================
//function : EuAngles
//purpose :
//=======================================================================
//=================================================================================================
Handle(StepBasic_EulerAngles) StepFEA_CurveElementInterval::EuAngles () const
Handle(StepBasic_EulerAngles) StepFEA_CurveElementInterval::EuAngles() const
{
return theEuAngles;
}
//=======================================================================
//function : SetEuAngles
//purpose :
//=======================================================================
//=================================================================================================
void StepFEA_CurveElementInterval::SetEuAngles (const Handle(StepBasic_EulerAngles) &aEuAngles)
void StepFEA_CurveElementInterval::SetEuAngles(const Handle(StepBasic_EulerAngles)& aEuAngles)
{
theEuAngles = aEuAngles;
}

View File

@@ -23,7 +23,6 @@
class StepFEA_CurveElementLocation;
class StepBasic_EulerAngles;
class StepFEA_CurveElementInterval;
DEFINE_STANDARD_HANDLE(StepFEA_CurveElementInterval, Standard_Transient)
@@ -32,49 +31,32 @@ class StepFEA_CurveElementInterval : public Standard_Transient
{
public:
//! Empty constructor
Standard_EXPORT StepFEA_CurveElementInterval();
//! Initialize all fields (own and inherited)
Standard_EXPORT void Init (const Handle(StepFEA_CurveElementLocation)& aFinishPosition, const Handle(StepBasic_EulerAngles)& aEuAngles);
Standard_EXPORT void Init(const Handle(StepFEA_CurveElementLocation)& aFinishPosition,
const Handle(StepBasic_EulerAngles)& aEuAngles);
//! Returns field FinishPosition
Standard_EXPORT Handle(StepFEA_CurveElementLocation) FinishPosition() const;
//! Set field FinishPosition
Standard_EXPORT void SetFinishPosition (const Handle(StepFEA_CurveElementLocation)& FinishPosition);
Standard_EXPORT void SetFinishPosition(
const Handle(StepFEA_CurveElementLocation)& FinishPosition);
//! Returns field EuAngles
Standard_EXPORT Handle(StepBasic_EulerAngles) EuAngles() const;
//! Set field EuAngles
Standard_EXPORT void SetEuAngles (const Handle(StepBasic_EulerAngles)& EuAngles);
Standard_EXPORT void SetEuAngles(const Handle(StepBasic_EulerAngles)& EuAngles);
DEFINE_STANDARD_RTTIEXT(StepFEA_CurveElementInterval,Standard_Transient)
DEFINE_STANDARD_RTTIEXT(StepFEA_CurveElementInterval, Standard_Transient)
protected:
private:
Handle(StepFEA_CurveElementLocation) theFinishPosition;
Handle(StepBasic_EulerAngles) theEuAngles;
Handle(StepBasic_EulerAngles) theEuAngles;
};
#endif // _StepFEA_CurveElementInterval_HeaderFile

View File

@@ -21,24 +21,18 @@
#include <StepFEA_CurveElementIntervalConstant.hxx>
#include <StepFEA_CurveElementLocation.hxx>
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_CurveElementIntervalConstant,StepFEA_CurveElementInterval)
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_CurveElementIntervalConstant, StepFEA_CurveElementInterval)
//=======================================================================
//function : StepFEA_CurveElementIntervalConstant
//purpose :
//=======================================================================
StepFEA_CurveElementIntervalConstant::StepFEA_CurveElementIntervalConstant ()
{
}
//=================================================================================================
//=======================================================================
//function : Init
//purpose :
//=======================================================================
StepFEA_CurveElementIntervalConstant::StepFEA_CurveElementIntervalConstant() {}
void StepFEA_CurveElementIntervalConstant::Init (const Handle(StepFEA_CurveElementLocation) &aCurveElementInterval_FinishPosition,
const Handle(StepBasic_EulerAngles) &aCurveElementInterval_EuAngles,
const Handle(StepElement_CurveElementSectionDefinition) &aSection)
//=================================================================================================
void StepFEA_CurveElementIntervalConstant::Init(
const Handle(StepFEA_CurveElementLocation)& aCurveElementInterval_FinishPosition,
const Handle(StepBasic_EulerAngles)& aCurveElementInterval_EuAngles,
const Handle(StepElement_CurveElementSectionDefinition)& aSection)
{
StepFEA_CurveElementInterval::Init(aCurveElementInterval_FinishPosition,
aCurveElementInterval_EuAngles);
@@ -46,22 +40,18 @@ void StepFEA_CurveElementIntervalConstant::Init (const Handle(StepFEA_CurveEleme
theSection = aSection;
}
//=======================================================================
//function : Section
//purpose :
//=======================================================================
//=================================================================================================
Handle(StepElement_CurveElementSectionDefinition) StepFEA_CurveElementIntervalConstant::Section () const
Handle(StepElement_CurveElementSectionDefinition) StepFEA_CurveElementIntervalConstant::Section()
const
{
return theSection;
}
//=======================================================================
//function : SetSection
//purpose :
//=======================================================================
//=================================================================================================
void StepFEA_CurveElementIntervalConstant::SetSection (const Handle(StepElement_CurveElementSectionDefinition) &aSection)
void StepFEA_CurveElementIntervalConstant::SetSection(
const Handle(StepElement_CurveElementSectionDefinition)& aSection)
{
theSection = aSection;
}

View File

@@ -24,7 +24,6 @@ class StepElement_CurveElementSectionDefinition;
class StepFEA_CurveElementLocation;
class StepBasic_EulerAngles;
class StepFEA_CurveElementIntervalConstant;
DEFINE_STANDARD_HANDLE(StepFEA_CurveElementIntervalConstant, StepFEA_CurveElementInterval)
@@ -33,42 +32,26 @@ class StepFEA_CurveElementIntervalConstant : public StepFEA_CurveElementInterval
{
public:
//! Empty constructor
Standard_EXPORT StepFEA_CurveElementIntervalConstant();
//! Initialize all fields (own and inherited)
Standard_EXPORT void Init (const Handle(StepFEA_CurveElementLocation)& aCurveElementInterval_FinishPosition, const Handle(StepBasic_EulerAngles)& aCurveElementInterval_EuAngles, const Handle(StepElement_CurveElementSectionDefinition)& aSection);
Standard_EXPORT void Init(
const Handle(StepFEA_CurveElementLocation)& aCurveElementInterval_FinishPosition,
const Handle(StepBasic_EulerAngles)& aCurveElementInterval_EuAngles,
const Handle(StepElement_CurveElementSectionDefinition)& aSection);
//! Returns field Section
Standard_EXPORT Handle(StepElement_CurveElementSectionDefinition) Section() const;
//! Set field Section
Standard_EXPORT void SetSection (const Handle(StepElement_CurveElementSectionDefinition)& Section);
Standard_EXPORT void SetSection(const Handle(StepElement_CurveElementSectionDefinition)& Section);
DEFINE_STANDARD_RTTIEXT(StepFEA_CurveElementIntervalConstant,StepFEA_CurveElementInterval)
DEFINE_STANDARD_RTTIEXT(StepFEA_CurveElementIntervalConstant, StepFEA_CurveElementInterval)
protected:
private:
Handle(StepElement_CurveElementSectionDefinition) theSection;
};
#endif // _StepFEA_CurveElementIntervalConstant_HeaderFile

View File

@@ -20,24 +20,19 @@
#include <StepFEA_CurveElementIntervalLinearlyVarying.hxx>
#include <StepFEA_CurveElementLocation.hxx>
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_CurveElementIntervalLinearlyVarying,StepFEA_CurveElementInterval)
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_CurveElementIntervalLinearlyVarying,
StepFEA_CurveElementInterval)
//=======================================================================
//function : StepFEA_CurveElementIntervalLinearlyVarying
//purpose :
//=======================================================================
StepFEA_CurveElementIntervalLinearlyVarying::StepFEA_CurveElementIntervalLinearlyVarying ()
{
}
//=================================================================================================
//=======================================================================
//function : Init
//purpose :
//=======================================================================
StepFEA_CurveElementIntervalLinearlyVarying::StepFEA_CurveElementIntervalLinearlyVarying() {}
void StepFEA_CurveElementIntervalLinearlyVarying::Init (const Handle(StepFEA_CurveElementLocation) &aCurveElementInterval_FinishPosition,
const Handle(StepBasic_EulerAngles) &aCurveElementInterval_EuAngles,
const Handle(StepElement_HArray1OfCurveElementSectionDefinition) &aSections)
//=================================================================================================
void StepFEA_CurveElementIntervalLinearlyVarying::Init(
const Handle(StepFEA_CurveElementLocation)& aCurveElementInterval_FinishPosition,
const Handle(StepBasic_EulerAngles)& aCurveElementInterval_EuAngles,
const Handle(StepElement_HArray1OfCurveElementSectionDefinition)& aSections)
{
StepFEA_CurveElementInterval::Init(aCurveElementInterval_FinishPosition,
aCurveElementInterval_EuAngles);
@@ -45,22 +40,18 @@ void StepFEA_CurveElementIntervalLinearlyVarying::Init (const Handle(StepFEA_Cur
theSections = aSections;
}
//=======================================================================
//function : Sections
//purpose :
//=======================================================================
//=================================================================================================
Handle(StepElement_HArray1OfCurveElementSectionDefinition) StepFEA_CurveElementIntervalLinearlyVarying::Sections () const
Handle(StepElement_HArray1OfCurveElementSectionDefinition)
StepFEA_CurveElementIntervalLinearlyVarying::Sections() const
{
return theSections;
}
//=======================================================================
//function : SetSections
//purpose :
//=======================================================================
//=================================================================================================
void StepFEA_CurveElementIntervalLinearlyVarying::SetSections (const Handle(StepElement_HArray1OfCurveElementSectionDefinition) &aSections)
void StepFEA_CurveElementIntervalLinearlyVarying::SetSections(
const Handle(StepElement_HArray1OfCurveElementSectionDefinition)& aSections)
{
theSections = aSections;
}

View File

@@ -24,7 +24,6 @@
class StepFEA_CurveElementLocation;
class StepBasic_EulerAngles;
class StepFEA_CurveElementIntervalLinearlyVarying;
DEFINE_STANDARD_HANDLE(StepFEA_CurveElementIntervalLinearlyVarying, StepFEA_CurveElementInterval)
@@ -33,42 +32,27 @@ class StepFEA_CurveElementIntervalLinearlyVarying : public StepFEA_CurveElementI
{
public:
//! Empty constructor
Standard_EXPORT StepFEA_CurveElementIntervalLinearlyVarying();
//! Initialize all fields (own and inherited)
Standard_EXPORT void Init (const Handle(StepFEA_CurveElementLocation)& aCurveElementInterval_FinishPosition, const Handle(StepBasic_EulerAngles)& aCurveElementInterval_EuAngles, const Handle(StepElement_HArray1OfCurveElementSectionDefinition)& aSections);
Standard_EXPORT void Init(
const Handle(StepFEA_CurveElementLocation)& aCurveElementInterval_FinishPosition,
const Handle(StepBasic_EulerAngles)& aCurveElementInterval_EuAngles,
const Handle(StepElement_HArray1OfCurveElementSectionDefinition)& aSections);
//! Returns field Sections
Standard_EXPORT Handle(StepElement_HArray1OfCurveElementSectionDefinition) Sections() const;
//! Set field Sections
Standard_EXPORT void SetSections (const Handle(StepElement_HArray1OfCurveElementSectionDefinition)& Sections);
Standard_EXPORT void SetSections(
const Handle(StepElement_HArray1OfCurveElementSectionDefinition)& Sections);
DEFINE_STANDARD_RTTIEXT(StepFEA_CurveElementIntervalLinearlyVarying,StepFEA_CurveElementInterval)
DEFINE_STANDARD_RTTIEXT(StepFEA_CurveElementIntervalLinearlyVarying, StepFEA_CurveElementInterval)
protected:
private:
Handle(StepElement_HArray1OfCurveElementSectionDefinition) theSections;
};
#endif // _StepFEA_CurveElementIntervalLinearlyVarying_HeaderFile

View File

@@ -19,43 +19,31 @@
#include <StepFEA_CurveElementLocation.hxx>
#include <StepFEA_FeaParametricPoint.hxx>
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_CurveElementLocation,Standard_Transient)
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_CurveElementLocation, Standard_Transient)
//=======================================================================
//function : StepFEA_CurveElementLocation
//purpose :
//=======================================================================
StepFEA_CurveElementLocation::StepFEA_CurveElementLocation ()
{
}
//=================================================================================================
//=======================================================================
//function : Init
//purpose :
//=======================================================================
StepFEA_CurveElementLocation::StepFEA_CurveElementLocation() {}
void StepFEA_CurveElementLocation::Init (const Handle(StepFEA_FeaParametricPoint) &aCoordinate)
//=================================================================================================
void StepFEA_CurveElementLocation::Init(const Handle(StepFEA_FeaParametricPoint)& aCoordinate)
{
theCoordinate = aCoordinate;
}
//=======================================================================
//function : Coordinate
//purpose :
//=======================================================================
//=================================================================================================
Handle(StepFEA_FeaParametricPoint) StepFEA_CurveElementLocation::Coordinate () const
Handle(StepFEA_FeaParametricPoint) StepFEA_CurveElementLocation::Coordinate() const
{
return theCoordinate;
}
//=======================================================================
//function : SetCoordinate
//purpose :
//=======================================================================
//=================================================================================================
void StepFEA_CurveElementLocation::SetCoordinate (const Handle(StepFEA_FeaParametricPoint) &aCoordinate)
void StepFEA_CurveElementLocation::SetCoordinate(
const Handle(StepFEA_FeaParametricPoint)& aCoordinate)
{
theCoordinate = aCoordinate;
}

View File

@@ -22,7 +22,6 @@
#include <Standard_Transient.hxx>
class StepFEA_FeaParametricPoint;
class StepFEA_CurveElementLocation;
DEFINE_STANDARD_HANDLE(StepFEA_CurveElementLocation, Standard_Transient)
@@ -31,42 +30,23 @@ class StepFEA_CurveElementLocation : public Standard_Transient
{
public:
//! Empty constructor
Standard_EXPORT StepFEA_CurveElementLocation();
//! Initialize all fields (own and inherited)
Standard_EXPORT void Init (const Handle(StepFEA_FeaParametricPoint)& aCoordinate);
Standard_EXPORT void Init(const Handle(StepFEA_FeaParametricPoint)& aCoordinate);
//! Returns field Coordinate
Standard_EXPORT Handle(StepFEA_FeaParametricPoint) Coordinate() const;
//! Set field Coordinate
Standard_EXPORT void SetCoordinate (const Handle(StepFEA_FeaParametricPoint)& Coordinate);
Standard_EXPORT void SetCoordinate(const Handle(StepFEA_FeaParametricPoint)& Coordinate);
DEFINE_STANDARD_RTTIEXT(StepFEA_CurveElementLocation,Standard_Transient)
DEFINE_STANDARD_RTTIEXT(StepFEA_CurveElementLocation, Standard_Transient)
protected:
private:
Handle(StepFEA_FeaParametricPoint) theCoordinate;
};
#endif // _StepFEA_CurveElementLocation_HeaderFile

View File

@@ -21,118 +21,118 @@
#include <StepFEA_DegreeOfFreedomMember.hxx>
#include <TCollection_HAsciiString.hxx>
//=======================================================================
//function : StepFEA_DegreeOfFreedom
//purpose :
//=======================================================================
StepFEA_DegreeOfFreedom::StepFEA_DegreeOfFreedom ()
{
}
//=================================================================================================
//=======================================================================
//function : CaseNum
//purpose :
//=======================================================================
StepFEA_DegreeOfFreedom::StepFEA_DegreeOfFreedom() {}
Standard_Integer StepFEA_DegreeOfFreedom::CaseNum (const Handle(Standard_Transient)& /*ent*/) const
//=================================================================================================
Standard_Integer StepFEA_DegreeOfFreedom::CaseNum(const Handle(Standard_Transient)& /*ent*/) const
{
return 0;
}
//=======================================================================
//function : CaseMem
//purpose :
//=======================================================================
//=================================================================================================
Standard_Integer StepFEA_DegreeOfFreedom::CaseMem (const Handle(StepData_SelectMember)& ent) const
Standard_Integer StepFEA_DegreeOfFreedom::CaseMem(const Handle(StepData_SelectMember)& ent) const
{
if(ent.IsNull()) return 0;
if(ent->Matches("ENUMERATED_DEGREE_OF_FREEDOM")) return 1;
else if(ent->Matches("APPLICATION_DEFINED_DEGREE_OF_FREEDOM")) return 2;
else return 0;
if (ent.IsNull())
return 0;
if (ent->Matches("ENUMERATED_DEGREE_OF_FREEDOM"))
return 1;
else if (ent->Matches("APPLICATION_DEFINED_DEGREE_OF_FREEDOM"))
return 2;
else
return 0;
}
//=======================================================================
//function : NewMember
//purpose :
//=======================================================================
//=================================================================================================
Handle(StepData_SelectMember) StepFEA_DegreeOfFreedom::NewMember() const
{
return new StepFEA_DegreeOfFreedomMember;
return new StepFEA_DegreeOfFreedomMember;
}
//=======================================================================
//function : SetEnumeratedCurveElementFreedom
//purpose :
//=======================================================================
//=================================================================================================
void StepFEA_DegreeOfFreedom::SetEnumeratedDegreeOfFreedom (const StepFEA_EnumeratedDegreeOfFreedom val)
void StepFEA_DegreeOfFreedom::SetEnumeratedDegreeOfFreedom(
const StepFEA_EnumeratedDegreeOfFreedom val)
{
Handle(StepFEA_DegreeOfFreedomMember) SelMem = Handle(StepFEA_DegreeOfFreedomMember)::DownCast(Value());
if(SelMem.IsNull()) return;
Handle(TCollection_HAsciiString) name = new TCollection_HAsciiString("ENUMERATED_DEGREE_OF_FREEDOM");
SelMem->SetName(name->ToCString());
SelMem->SetEnum((Standard_Integer)val);
Handle(StepFEA_DegreeOfFreedomMember) SelMem =
Handle(StepFEA_DegreeOfFreedomMember)::DownCast(Value());
if (SelMem.IsNull())
return;
Handle(TCollection_HAsciiString) name =
new TCollection_HAsciiString("ENUMERATED_DEGREE_OF_FREEDOM");
SelMem->SetName(name->ToCString());
SelMem->SetEnum((Standard_Integer)val);
}
//=======================================================================
//function : EnumeratedCurveElementFreedom
//purpose :
//=======================================================================
//=================================================================================================
StepFEA_EnumeratedDegreeOfFreedom StepFEA_DegreeOfFreedom::EnumeratedDegreeOfFreedom () const
StepFEA_EnumeratedDegreeOfFreedom StepFEA_DegreeOfFreedom::EnumeratedDegreeOfFreedom() const
{
Handle(StepFEA_DegreeOfFreedomMember) SelMem = Handle(StepFEA_DegreeOfFreedomMember)::DownCast(Value());
if(SelMem.IsNull()) return StepFEA_XTranslation;
Handle(StepFEA_DegreeOfFreedomMember) SelMem =
Handle(StepFEA_DegreeOfFreedomMember)::DownCast(Value());
if (SelMem.IsNull())
return StepFEA_XTranslation;
Handle(TCollection_HAsciiString) name = new TCollection_HAsciiString;
name->AssignCat(SelMem->Name());
Handle(TCollection_HAsciiString) nameitem = new TCollection_HAsciiString("ENUMERATED_DEGREE_OF_FREEDOM");
if(name->IsDifferent(nameitem)) return StepFEA_XTranslation;
Standard_Integer numit = SelMem->Enum();
Handle(TCollection_HAsciiString) nameitem =
new TCollection_HAsciiString("ENUMERATED_DEGREE_OF_FREEDOM");
if (name->IsDifferent(nameitem))
return StepFEA_XTranslation;
Standard_Integer numit = SelMem->Enum();
StepFEA_EnumeratedDegreeOfFreedom val;
switch(numit) {
case 1 : val = StepFEA_XTranslation; break;
// case 2 : val = StepElement_YTranslation; break;
// case 3 : val = StepElement_ZTranslation; break;
// case 4 : val = StepElement_XRotation; break;
// case 5 : val = StepElement_YRotation; break;
// case 6 : val = StepElement_ZRotation; break;
// case 7 : val = StepElement_Warp; break;
// case 8 : val = StepElement_None; break;
default : return StepFEA_XTranslation;break;
switch (numit)
{
case 1:
val = StepFEA_XTranslation;
break;
// case 2 : val = StepElement_YTranslation; break;
// case 3 : val = StepElement_ZTranslation; break;
// case 4 : val = StepElement_XRotation; break;
// case 5 : val = StepElement_YRotation; break;
// case 6 : val = StepElement_ZRotation; break;
// case 7 : val = StepElement_Warp; break;
// case 8 : val = StepElement_None; break;
default:
return StepFEA_XTranslation;
break;
}
return val;
return val;
}
//=======================================================================
//function : SetApplicationDefinedDegreeOfFreedom
//purpose :
//=======================================================================
//=================================================================================================
void StepFEA_DegreeOfFreedom::SetApplicationDefinedDegreeOfFreedom (const Handle(TCollection_HAsciiString) &val)
void StepFEA_DegreeOfFreedom::SetApplicationDefinedDegreeOfFreedom(
const Handle(TCollection_HAsciiString)& val)
{
Handle(StepFEA_DegreeOfFreedomMember) SelMem = Handle(StepFEA_DegreeOfFreedomMember)::DownCast(Value());
if(SelMem.IsNull()) return;
Handle(TCollection_HAsciiString) name = new TCollection_HAsciiString("APPLICATION_DEFINED_DEGREE_OF_FREEDOM");
SelMem->SetName(name->ToCString());
SelMem->SetString(val->ToCString());
Handle(StepFEA_DegreeOfFreedomMember) SelMem =
Handle(StepFEA_DegreeOfFreedomMember)::DownCast(Value());
if (SelMem.IsNull())
return;
Handle(TCollection_HAsciiString) name =
new TCollection_HAsciiString("APPLICATION_DEFINED_DEGREE_OF_FREEDOM");
SelMem->SetName(name->ToCString());
SelMem->SetString(val->ToCString());
}
//=======================================================================
//function : ApplicationDefinedDegreeOfFreedom
//purpose :
//=======================================================================
//=================================================================================================
Handle(TCollection_HAsciiString) StepFEA_DegreeOfFreedom::ApplicationDefinedDegreeOfFreedom () const
Handle(TCollection_HAsciiString) StepFEA_DegreeOfFreedom::ApplicationDefinedDegreeOfFreedom() const
{
Handle(StepFEA_DegreeOfFreedomMember) SelMem = Handle(StepFEA_DegreeOfFreedomMember)::DownCast(Value());
if(SelMem.IsNull()) return 0;
Handle(TCollection_HAsciiString) name = new TCollection_HAsciiString;
name->AssignCat(SelMem->Name());
Handle(TCollection_HAsciiString) nameitem = new TCollection_HAsciiString("APPLICATION_DEFINED_DEGREE_OF_FREEDOM");
if(name->IsDifferent(nameitem)) return 0;
Handle(TCollection_HAsciiString) val = new TCollection_HAsciiString;
val->AssignCat(SelMem->String());
return val;
Handle(StepFEA_DegreeOfFreedomMember) SelMem =
Handle(StepFEA_DegreeOfFreedomMember)::DownCast(Value());
if (SelMem.IsNull())
return 0;
Handle(TCollection_HAsciiString) name = new TCollection_HAsciiString;
name->AssignCat(SelMem->Name());
Handle(TCollection_HAsciiString) nameitem =
new TCollection_HAsciiString("APPLICATION_DEFINED_DEGREE_OF_FREEDOM");
if (name->IsDifferent(nameitem))
return 0;
Handle(TCollection_HAsciiString) val = new TCollection_HAsciiString;
val->AssignCat(SelMem->String());
return val;
}

View File

@@ -27,64 +27,45 @@ class Standard_Transient;
class StepData_SelectMember;
class TCollection_HAsciiString;
//! Representation of STEP SELECT type DegreeOfFreedom
class StepFEA_DegreeOfFreedom : public StepData_SelectType
class StepFEA_DegreeOfFreedom : public StepData_SelectType
{
public:
DEFINE_STANDARD_ALLOC
//! Empty constructor
Standard_EXPORT StepFEA_DegreeOfFreedom();
//! Recognizes a kind of CurveElementFreedom select type
//! return 0
Standard_EXPORT Standard_Integer CaseNum (const Handle(Standard_Transient)& ent) const Standard_OVERRIDE;
Standard_EXPORT Standard_Integer
CaseNum(const Handle(Standard_Transient)& ent) const Standard_OVERRIDE;
//! Recognizes a items of select member CurveElementFreedomMember
//! 1 -> EnumeratedCurveElementFreedom
//! 2 -> ApplicationDefinedDegreeOfFreedom
//! 0 else
Standard_EXPORT virtual Standard_Integer CaseMem (const Handle(StepData_SelectMember)& ent) const Standard_OVERRIDE;
Standard_EXPORT virtual Standard_Integer CaseMem(const Handle(StepData_SelectMember)& ent) const
Standard_OVERRIDE;
//! Returns a new select member the type CurveElementFreedomMember
Standard_EXPORT virtual Handle(StepData_SelectMember) NewMember() const Standard_OVERRIDE;
//! Returns Value as EnumeratedDegreeOfFreedom (or Null if another type)
Standard_EXPORT void SetEnumeratedDegreeOfFreedom (const StepFEA_EnumeratedDegreeOfFreedom aVal);
Standard_EXPORT void SetEnumeratedDegreeOfFreedom(const StepFEA_EnumeratedDegreeOfFreedom aVal);
//! Returns Value as EnumeratedDegreeOfFreedom (or Null if another type)
Standard_EXPORT StepFEA_EnumeratedDegreeOfFreedom EnumeratedDegreeOfFreedom() const;
//! Set Value for ApplicationDefinedDegreeOfFreedom
Standard_EXPORT void SetApplicationDefinedDegreeOfFreedom (const Handle(TCollection_HAsciiString)& aVal);
Standard_EXPORT void SetApplicationDefinedDegreeOfFreedom(
const Handle(TCollection_HAsciiString)& aVal);
//! Returns Value as ApplicationDefinedDegreeOfFreedom (or Null if another type)
Standard_EXPORT Handle(TCollection_HAsciiString) ApplicationDefinedDegreeOfFreedom() const;
protected:
private:
};
#endif // _StepFEA_DegreeOfFreedom_HeaderFile

View File

@@ -18,90 +18,87 @@
#include <StepFEA_DegreeOfFreedomMember.hxx>
#include <TCollection_HAsciiString.hxx>
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_DegreeOfFreedomMember,StepData_SelectNamed)
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_DegreeOfFreedomMember, StepData_SelectNamed)
static Standard_CString anEnumeratedCurveElementFreedom = "ENUMERATED_DEGREE_OF_FREEDOM";
static Standard_CString anApplicationDefinedDegreeOfFreedom ="APPLICATION_DEFINED_DEGREE_OF_FREEDOM";
static Standard_CString anApplicationDefinedDegreeOfFreedom =
"APPLICATION_DEFINED_DEGREE_OF_FREEDOM";
//=======================================================================
//function : StepFEA_DegreeOfFreedomMember
//purpose :
//=======================================================================
//=================================================================================================
StepFEA_DegreeOfFreedomMember::StepFEA_DegreeOfFreedomMember () : mycase(0)
StepFEA_DegreeOfFreedomMember::StepFEA_DegreeOfFreedomMember()
: mycase(0)
{
}
//=======================================================================
//function : HasName
//purpose :
//=======================================================================
//=================================================================================================
Standard_Boolean StepFEA_DegreeOfFreedomMember::HasName() const
{
return mycase >0;
return mycase > 0;
}
//=======================================================================
//function : Name
//purpose :
//=======================================================================
//=================================================================================================
Standard_CString StepFEA_DegreeOfFreedomMember::Name() const
{
switch(mycase) {
case 1 : return anEnumeratedCurveElementFreedom;
case 2 : return anApplicationDefinedDegreeOfFreedom;
default : break;
switch (mycase)
{
case 1:
return anEnumeratedCurveElementFreedom;
case 2:
return anApplicationDefinedDegreeOfFreedom;
default:
break;
}
return "";
}
//=======================================================================
//function : CompareNames
//purpose :
//=======================================================================
//=================================================================================================
static Standard_Integer CompareNames(const Standard_CString name,Standard_Integer &/*numen*/)
static Standard_Integer CompareNames(const Standard_CString name, Standard_Integer& /*numen*/)
{
Standard_Integer thecase =0;
if (!name || name[0] == '\0') thecase = 0;
else if(!strcmp (name,anEnumeratedCurveElementFreedom)) {
thecase = 1;
}
else if(!strcmp (name,anApplicationDefinedDegreeOfFreedom)) {
thecase = 2;
}
Standard_Integer thecase = 0;
if (!name || name[0] == '\0')
thecase = 0;
else if (!strcmp(name, anEnumeratedCurveElementFreedom))
{
thecase = 1;
}
else if (!strcmp(name, anApplicationDefinedDegreeOfFreedom))
{
thecase = 2;
}
/*if (!name || name[0] == '\0') thecase = 0;
else if(!strcmp (name,"XTranslation")) {
else if(!strcmp (name,"XTranslation")) {
thecase = 1;
numen = 1;
}
else if(!strcmp (name,"YTranslation")) {
else if(!strcmp (name,"YTranslation")) {
thecase = 1;
numen = 2;
}
else if(!strcmp (name,"ZTranslation")) {
else if(!strcmp (name,"ZTranslation")) {
thecase = 1;
numen = 3;
}
else if(!strcmp (name,"XRotation")) {
else if(!strcmp (name,"XRotation")) {
thecase = 1;
numen = 4;
}
else if(!strcmp (name,"YRotation")) {
else if(!strcmp (name,"YRotation")) {
thecase = 1;
numen = 5;
}
else if(!strcmp (name,"ZRotation")) {
else if(!strcmp (name,"ZRotation")) {
thecase = 1;
numen = 6;
}
else if(!strcmp (name,"Warp")) {
else if(!strcmp (name,"Warp")) {
thecase = 1;
numen = 7;
}
else if(!strcmp (name,"None")) {
else if(!strcmp (name,"None")) {
thecase = 1;
numen = 8;
}
@@ -109,27 +106,22 @@ static Standard_Integer CompareNames(const Standard_CString name,Standard_Intege
return thecase;
}
//=======================================================================
//function : SetName
//purpose :
//=======================================================================
//=================================================================================================
Standard_Boolean StepFEA_DegreeOfFreedomMember::SetName(const Standard_CString name)
Standard_Boolean StepFEA_DegreeOfFreedomMember::SetName(const Standard_CString name)
{
Standard_Integer numit =0;
mycase = CompareNames(name,numit);
if(numit) SetInteger(numit);
return (mycase >0);
Standard_Integer numit = 0;
mycase = CompareNames(name, numit);
if (numit)
SetInteger(numit);
return (mycase > 0);
}
//=======================================================================
//function : Matches
//purpose :
//=======================================================================
//=================================================================================================
Standard_Boolean StepFEA_DegreeOfFreedomMember::Matches(const Standard_CString name) const
{
Standard_Integer numit =0;
Standard_Integer thecase =CompareNames(name,numit);
return (mycase==thecase);
Standard_Integer numit = 0;
Standard_Integer thecase = CompareNames(name, numit);
return (mycase == thecase);
}

View File

@@ -22,7 +22,6 @@
#include <StepData_SelectNamed.hxx>
#include <Standard_CString.hxx>
class StepFEA_DegreeOfFreedomMember;
DEFINE_STANDARD_HANDLE(StepFEA_DegreeOfFreedomMember, StepData_SelectNamed)
@@ -31,45 +30,27 @@ class StepFEA_DegreeOfFreedomMember : public StepData_SelectNamed
{
public:
//! Empty constructor
Standard_EXPORT StepFEA_DegreeOfFreedomMember();
//! Returns True if has name
Standard_EXPORT virtual Standard_Boolean HasName() const Standard_OVERRIDE;
//! Returns set name
Standard_EXPORT virtual Standard_CString Name() const Standard_OVERRIDE;
//! Set name
Standard_EXPORT virtual Standard_Boolean SetName (const Standard_CString name) Standard_OVERRIDE;
Standard_EXPORT virtual Standard_Boolean SetName(const Standard_CString name) Standard_OVERRIDE;
//! Tells if the name of a SelectMember matches a given one;
Standard_EXPORT virtual Standard_Boolean Matches (const Standard_CString name) const Standard_OVERRIDE;
Standard_EXPORT virtual Standard_Boolean Matches(const Standard_CString name) const
Standard_OVERRIDE;
DEFINE_STANDARD_RTTIEXT(StepFEA_DegreeOfFreedomMember,StepData_SelectNamed)
DEFINE_STANDARD_RTTIEXT(StepFEA_DegreeOfFreedomMember, StepData_SelectNamed)
protected:
private:
Standard_Integer mycase;
};
#endif // _StepFEA_DegreeOfFreedomMember_HeaderFile

View File

@@ -18,12 +18,8 @@
#include <Standard_Type.hxx>
#include <StepFEA_DummyNode.hxx>
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_DummyNode,StepFEA_NodeRepresentation)
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_DummyNode, StepFEA_NodeRepresentation)
//=======================================================================
//function : StepFEA_DummyNode
//purpose :
//=======================================================================
StepFEA_DummyNode::StepFEA_DummyNode ()
{
}
//=================================================================================================
StepFEA_DummyNode::StepFEA_DummyNode() {}

View File

@@ -21,7 +21,6 @@
#include <StepFEA_NodeRepresentation.hxx>
class StepFEA_DummyNode;
DEFINE_STANDARD_HANDLE(StepFEA_DummyNode, StepFEA_NodeRepresentation)
@@ -30,32 +29,13 @@ class StepFEA_DummyNode : public StepFEA_NodeRepresentation
{
public:
//! Empty constructor
Standard_EXPORT StepFEA_DummyNode();
DEFINE_STANDARD_RTTIEXT(StepFEA_DummyNode,StepFEA_NodeRepresentation)
DEFINE_STANDARD_RTTIEXT(StepFEA_DummyNode, StepFEA_NodeRepresentation)
protected:
private:
};
#endif // _StepFEA_DummyNode_HeaderFile

View File

@@ -19,24 +19,18 @@
#include <StepFEA_ElementGeometricRelationship.hxx>
#include <StepFEA_ElementOrElementGroup.hxx>
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_ElementGeometricRelationship,Standard_Transient)
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_ElementGeometricRelationship, Standard_Transient)
//=======================================================================
//function : StepFEA_ElementGeometricRelationship
//purpose :
//=======================================================================
StepFEA_ElementGeometricRelationship::StepFEA_ElementGeometricRelationship ()
{
}
//=================================================================================================
//=======================================================================
//function : Init
//purpose :
//=======================================================================
StepFEA_ElementGeometricRelationship::StepFEA_ElementGeometricRelationship() {}
void StepFEA_ElementGeometricRelationship::Init (const StepFEA_ElementOrElementGroup &aElementRef,
const Handle(StepElement_AnalysisItemWithinRepresentation) &aItem,
const StepElement_ElementAspect &aAspect)
//=================================================================================================
void StepFEA_ElementGeometricRelationship::Init(
const StepFEA_ElementOrElementGroup& aElementRef,
const Handle(StepElement_AnalysisItemWithinRepresentation)& aItem,
const StepElement_ElementAspect& aAspect)
{
theElementRef = aElementRef;
@@ -46,62 +40,47 @@ void StepFEA_ElementGeometricRelationship::Init (const StepFEA_ElementOrElementG
theAspect = aAspect;
}
//=======================================================================
//function : ElementRef
//purpose :
//=======================================================================
//=================================================================================================
StepFEA_ElementOrElementGroup StepFEA_ElementGeometricRelationship::ElementRef () const
StepFEA_ElementOrElementGroup StepFEA_ElementGeometricRelationship::ElementRef() const
{
return theElementRef;
}
//=======================================================================
//function : SetElementRef
//purpose :
//=======================================================================
//=================================================================================================
void StepFEA_ElementGeometricRelationship::SetElementRef (const StepFEA_ElementOrElementGroup &aElementRef)
void StepFEA_ElementGeometricRelationship::SetElementRef(
const StepFEA_ElementOrElementGroup& aElementRef)
{
theElementRef = aElementRef;
}
//=======================================================================
//function : Item
//purpose :
//=======================================================================
//=================================================================================================
Handle(StepElement_AnalysisItemWithinRepresentation) StepFEA_ElementGeometricRelationship::Item () const
Handle(StepElement_AnalysisItemWithinRepresentation) StepFEA_ElementGeometricRelationship::Item()
const
{
return theItem;
}
//=======================================================================
//function : SetItem
//purpose :
//=======================================================================
//=================================================================================================
void StepFEA_ElementGeometricRelationship::SetItem (const Handle(StepElement_AnalysisItemWithinRepresentation) &aItem)
void StepFEA_ElementGeometricRelationship::SetItem(
const Handle(StepElement_AnalysisItemWithinRepresentation)& aItem)
{
theItem = aItem;
}
//=======================================================================
//function : Aspect
//purpose :
//=======================================================================
//=================================================================================================
StepElement_ElementAspect StepFEA_ElementGeometricRelationship::Aspect () const
StepElement_ElementAspect StepFEA_ElementGeometricRelationship::Aspect() const
{
return theAspect;
}
//=======================================================================
//function : SetAspect
//purpose :
//=======================================================================
//=================================================================================================
void StepFEA_ElementGeometricRelationship::SetAspect (const StepElement_ElementAspect &aAspect)
void StepFEA_ElementGeometricRelationship::SetAspect(const StepElement_ElementAspect& aAspect)
{
theAspect = aAspect;
}

View File

@@ -24,7 +24,6 @@
#include <Standard_Transient.hxx>
class StepElement_AnalysisItemWithinRepresentation;
class StepFEA_ElementGeometricRelationship;
DEFINE_STANDARD_HANDLE(StepFEA_ElementGeometricRelationship, Standard_Transient)
@@ -33,56 +32,39 @@ class StepFEA_ElementGeometricRelationship : public Standard_Transient
{
public:
//! Empty constructor
Standard_EXPORT StepFEA_ElementGeometricRelationship();
//! Initialize all fields (own and inherited)
Standard_EXPORT void Init (const StepFEA_ElementOrElementGroup& aElementRef, const Handle(StepElement_AnalysisItemWithinRepresentation)& aItem, const StepElement_ElementAspect& aAspect);
Standard_EXPORT void Init(const StepFEA_ElementOrElementGroup& aElementRef,
const Handle(StepElement_AnalysisItemWithinRepresentation)& aItem,
const StepElement_ElementAspect& aAspect);
//! Returns field ElementRef
Standard_EXPORT StepFEA_ElementOrElementGroup ElementRef() const;
//! Set field ElementRef
Standard_EXPORT void SetElementRef (const StepFEA_ElementOrElementGroup& ElementRef);
Standard_EXPORT void SetElementRef(const StepFEA_ElementOrElementGroup& ElementRef);
//! Returns field Item
Standard_EXPORT Handle(StepElement_AnalysisItemWithinRepresentation) Item() const;
//! Set field Item
Standard_EXPORT void SetItem (const Handle(StepElement_AnalysisItemWithinRepresentation)& Item);
Standard_EXPORT void SetItem(const Handle(StepElement_AnalysisItemWithinRepresentation)& Item);
//! Returns field Aspect
Standard_EXPORT StepElement_ElementAspect Aspect() const;
//! Set field Aspect
Standard_EXPORT void SetAspect (const StepElement_ElementAspect& Aspect);
Standard_EXPORT void SetAspect(const StepElement_ElementAspect& Aspect);
DEFINE_STANDARD_RTTIEXT(StepFEA_ElementGeometricRelationship,Standard_Transient)
DEFINE_STANDARD_RTTIEXT(StepFEA_ElementGeometricRelationship, Standard_Transient)
protected:
private:
StepFEA_ElementOrElementGroup theElementRef;
StepFEA_ElementOrElementGroup theElementRef;
Handle(StepElement_AnalysisItemWithinRepresentation) theItem;
StepElement_ElementAspect theAspect;
StepElement_ElementAspect theAspect;
};
#endif // _StepFEA_ElementGeometricRelationship_HeaderFile

View File

@@ -19,49 +19,35 @@
#include <StepFEA_FeaModel.hxx>
#include <TCollection_HAsciiString.hxx>
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_ElementGroup,StepFEA_FeaGroup)
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_ElementGroup, StepFEA_FeaGroup)
//=======================================================================
//function : StepFEA_ElementGroup
//purpose :
//=======================================================================
StepFEA_ElementGroup::StepFEA_ElementGroup ()
//=================================================================================================
StepFEA_ElementGroup::StepFEA_ElementGroup() {}
//=================================================================================================
void StepFEA_ElementGroup::Init(const Handle(TCollection_HAsciiString)& aGroup_Name,
const Handle(TCollection_HAsciiString)& aGroup_Description,
const Handle(StepFEA_FeaModel)& aFeaGroup_ModelRef,
const Handle(StepFEA_HArray1OfElementRepresentation)& aElements)
{
}
//=======================================================================
//function : Init
//purpose :
//=======================================================================
void StepFEA_ElementGroup::Init (const Handle(TCollection_HAsciiString) &aGroup_Name,
const Handle(TCollection_HAsciiString) &aGroup_Description,
const Handle(StepFEA_FeaModel) &aFeaGroup_ModelRef,
const Handle(StepFEA_HArray1OfElementRepresentation) &aElements)
{
StepFEA_FeaGroup::Init(aGroup_Name,
aGroup_Description,
aFeaGroup_ModelRef);
StepFEA_FeaGroup::Init(aGroup_Name, aGroup_Description, aFeaGroup_ModelRef);
theElements = aElements;
}
//=======================================================================
//function : Elements
//purpose :
//=======================================================================
//=================================================================================================
Handle(StepFEA_HArray1OfElementRepresentation) StepFEA_ElementGroup::Elements () const
Handle(StepFEA_HArray1OfElementRepresentation) StepFEA_ElementGroup::Elements() const
{
return theElements;
}
//=======================================================================
//function : SetElements
//purpose :
//=======================================================================
//=================================================================================================
void StepFEA_ElementGroup::SetElements (const Handle(StepFEA_HArray1OfElementRepresentation) &aElements)
void StepFEA_ElementGroup::SetElements(
const Handle(StepFEA_HArray1OfElementRepresentation)& aElements)
{
theElements = aElements;
}

View File

@@ -24,7 +24,6 @@
class TCollection_HAsciiString;
class StepFEA_FeaModel;
class StepFEA_ElementGroup;
DEFINE_STANDARD_HANDLE(StepFEA_ElementGroup, StepFEA_FeaGroup)
@@ -33,42 +32,26 @@ class StepFEA_ElementGroup : public StepFEA_FeaGroup
{
public:
//! Empty constructor
Standard_EXPORT StepFEA_ElementGroup();
//! Initialize all fields (own and inherited)
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aGroup_Name, const Handle(TCollection_HAsciiString)& aGroup_Description, const Handle(StepFEA_FeaModel)& aFeaGroup_ModelRef, const Handle(StepFEA_HArray1OfElementRepresentation)& aElements);
Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& aGroup_Name,
const Handle(TCollection_HAsciiString)& aGroup_Description,
const Handle(StepFEA_FeaModel)& aFeaGroup_ModelRef,
const Handle(StepFEA_HArray1OfElementRepresentation)& aElements);
//! Returns field Elements
Standard_EXPORT Handle(StepFEA_HArray1OfElementRepresentation) Elements() const;
//! Set field Elements
Standard_EXPORT void SetElements (const Handle(StepFEA_HArray1OfElementRepresentation)& Elements);
Standard_EXPORT void SetElements(const Handle(StepFEA_HArray1OfElementRepresentation)& Elements);
DEFINE_STANDARD_RTTIEXT(StepFEA_ElementGroup,StepFEA_FeaGroup)
DEFINE_STANDARD_RTTIEXT(StepFEA_ElementGroup, StepFEA_FeaGroup)
protected:
private:
Handle(StepFEA_HArray1OfElementRepresentation) theElements;
};
#endif // _StepFEA_ElementGroup_HeaderFile

View File

@@ -20,43 +20,33 @@
#include <StepFEA_ElementOrElementGroup.hxx>
#include <StepFEA_ElementRepresentation.hxx>
//=======================================================================
//function : StepFEA_ElementOrElementGroup
//purpose :
//=======================================================================
StepFEA_ElementOrElementGroup::StepFEA_ElementOrElementGroup ()
{
}
//=================================================================================================
//=======================================================================
//function : CaseNum
//purpose :
//=======================================================================
StepFEA_ElementOrElementGroup::StepFEA_ElementOrElementGroup() {}
Standard_Integer StepFEA_ElementOrElementGroup::CaseNum (const Handle(Standard_Transient)& ent) const
//=================================================================================================
Standard_Integer StepFEA_ElementOrElementGroup::CaseNum(const Handle(Standard_Transient)& ent) const
{
if (ent.IsNull()) return 0;
if (ent->IsKind(STANDARD_TYPE(StepFEA_ElementRepresentation))) return 1;
if (ent->IsKind(STANDARD_TYPE(StepFEA_ElementGroup))) return 2;
if (ent.IsNull())
return 0;
if (ent->IsKind(STANDARD_TYPE(StepFEA_ElementRepresentation)))
return 1;
if (ent->IsKind(STANDARD_TYPE(StepFEA_ElementGroup)))
return 2;
return 0;
}
//=======================================================================
//function : ElementRepresentation
//purpose :
//=======================================================================
//=================================================================================================
Handle(StepFEA_ElementRepresentation) StepFEA_ElementOrElementGroup::ElementRepresentation () const
Handle(StepFEA_ElementRepresentation) StepFEA_ElementOrElementGroup::ElementRepresentation() const
{
return Handle(StepFEA_ElementRepresentation)::DownCast(Value());
}
//=======================================================================
//function : ElementGroup
//purpose :
//=======================================================================
//=================================================================================================
Handle(StepFEA_ElementGroup) StepFEA_ElementOrElementGroup::ElementGroup () const
Handle(StepFEA_ElementGroup) StepFEA_ElementOrElementGroup::ElementGroup() const
{
return Handle(StepFEA_ElementGroup)::DownCast(Value());
}

View File

@@ -26,51 +26,29 @@ class Standard_Transient;
class StepFEA_ElementRepresentation;
class StepFEA_ElementGroup;
//! Representation of STEP SELECT type ElementOrElementGroup
class StepFEA_ElementOrElementGroup : public StepData_SelectType
class StepFEA_ElementOrElementGroup : public StepData_SelectType
{
public:
DEFINE_STANDARD_ALLOC
//! Empty constructor
Standard_EXPORT StepFEA_ElementOrElementGroup();
//! Recognizes a kind of ElementOrElementGroup select type
//! 1 -> ElementRepresentation from StepFEA
//! 2 -> ElementGroup from StepFEA
//! 0 else
Standard_EXPORT Standard_Integer CaseNum (const Handle(Standard_Transient)& ent) const;
Standard_EXPORT Standard_Integer CaseNum(const Handle(Standard_Transient)& ent) const;
//! Returns Value as ElementRepresentation (or Null if another type)
Standard_EXPORT Handle(StepFEA_ElementRepresentation) ElementRepresentation() const;
//! Returns Value as ElementGroup (or Null if another type)
Standard_EXPORT Handle(StepFEA_ElementGroup) ElementGroup() const;
protected:
private:
};
#endif // _StepFEA_ElementOrElementGroup_HeaderFile

View File

@@ -19,25 +19,19 @@
#include <StepRepr_RepresentationContext.hxx>
#include <TCollection_HAsciiString.hxx>
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_ElementRepresentation,StepRepr_Representation)
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_ElementRepresentation, StepRepr_Representation)
//=======================================================================
//function : StepFEA_ElementRepresentation
//purpose :
//=======================================================================
StepFEA_ElementRepresentation::StepFEA_ElementRepresentation ()
{
}
//=================================================================================================
//=======================================================================
//function : Init
//purpose :
//=======================================================================
StepFEA_ElementRepresentation::StepFEA_ElementRepresentation() {}
void StepFEA_ElementRepresentation::Init (const Handle(TCollection_HAsciiString) &aRepresentation_Name,
const Handle(StepRepr_HArray1OfRepresentationItem) &aRepresentation_Items,
const Handle(StepRepr_RepresentationContext) &aRepresentation_ContextOfItems,
const Handle(StepFEA_HArray1OfNodeRepresentation) &aNodeList)
//=================================================================================================
void StepFEA_ElementRepresentation::Init(
const Handle(TCollection_HAsciiString)& aRepresentation_Name,
const Handle(StepRepr_HArray1OfRepresentationItem)& aRepresentation_Items,
const Handle(StepRepr_RepresentationContext)& aRepresentation_ContextOfItems,
const Handle(StepFEA_HArray1OfNodeRepresentation)& aNodeList)
{
StepRepr_Representation::Init(aRepresentation_Name,
aRepresentation_Items,
@@ -46,22 +40,17 @@ void StepFEA_ElementRepresentation::Init (const Handle(TCollection_HAsciiString)
theNodeList = aNodeList;
}
//=======================================================================
//function : NodeList
//purpose :
//=======================================================================
//=================================================================================================
Handle(StepFEA_HArray1OfNodeRepresentation) StepFEA_ElementRepresentation::NodeList () const
Handle(StepFEA_HArray1OfNodeRepresentation) StepFEA_ElementRepresentation::NodeList() const
{
return theNodeList;
}
//=======================================================================
//function : SetNodeList
//purpose :
//=======================================================================
//=================================================================================================
void StepFEA_ElementRepresentation::SetNodeList (const Handle(StepFEA_HArray1OfNodeRepresentation) &aNodeList)
void StepFEA_ElementRepresentation::SetNodeList(
const Handle(StepFEA_HArray1OfNodeRepresentation)& aNodeList)
{
theNodeList = aNodeList;
}

View File

@@ -25,7 +25,6 @@
class TCollection_HAsciiString;
class StepRepr_RepresentationContext;
class StepFEA_ElementRepresentation;
DEFINE_STANDARD_HANDLE(StepFEA_ElementRepresentation, StepRepr_Representation)
@@ -34,42 +33,27 @@ class StepFEA_ElementRepresentation : public StepRepr_Representation
{
public:
//! Empty constructor
Standard_EXPORT StepFEA_ElementRepresentation();
//! Initialize all fields (own and inherited)
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aRepresentation_Name, const Handle(StepRepr_HArray1OfRepresentationItem)& aRepresentation_Items, const Handle(StepRepr_RepresentationContext)& aRepresentation_ContextOfItems, const Handle(StepFEA_HArray1OfNodeRepresentation)& aNodeList);
Standard_EXPORT void Init(
const Handle(TCollection_HAsciiString)& aRepresentation_Name,
const Handle(StepRepr_HArray1OfRepresentationItem)& aRepresentation_Items,
const Handle(StepRepr_RepresentationContext)& aRepresentation_ContextOfItems,
const Handle(StepFEA_HArray1OfNodeRepresentation)& aNodeList);
//! Returns field NodeList
Standard_EXPORT Handle(StepFEA_HArray1OfNodeRepresentation) NodeList() const;
//! Set field NodeList
Standard_EXPORT void SetNodeList (const Handle(StepFEA_HArray1OfNodeRepresentation)& NodeList);
Standard_EXPORT void SetNodeList(const Handle(StepFEA_HArray1OfNodeRepresentation)& NodeList);
DEFINE_STANDARD_RTTIEXT(StepFEA_ElementRepresentation,StepRepr_Representation)
DEFINE_STANDARD_RTTIEXT(StepFEA_ElementRepresentation, StepRepr_Representation)
protected:
private:
Handle(StepFEA_HArray1OfNodeRepresentation) theNodeList;
};
#endif // _StepFEA_ElementRepresentation_HeaderFile

View File

@@ -14,10 +14,9 @@
#ifndef _StepFEA_ElementVolume_HeaderFile
#define _StepFEA_ElementVolume_HeaderFile
enum StepFEA_ElementVolume
{
StepFEA_Volume
StepFEA_Volume
};
#endif // _StepFEA_ElementVolume_HeaderFile

View File

@@ -14,16 +14,15 @@
#ifndef _StepFEA_EnumeratedDegreeOfFreedom_HeaderFile
#define _StepFEA_EnumeratedDegreeOfFreedom_HeaderFile
enum StepFEA_EnumeratedDegreeOfFreedom
{
StepFEA_XTranslation,
StepFEA_YTranslation,
StepFEA_ZTranslation,
StepFEA_XRotation,
StepFEA_YRotation,
StepFEA_ZRotation,
StepFEA_Warp
StepFEA_XTranslation,
StepFEA_YTranslation,
StepFEA_ZTranslation,
StepFEA_XRotation,
StepFEA_YRotation,
StepFEA_ZRotation,
StepFEA_Warp
};
#endif // _StepFEA_EnumeratedDegreeOfFreedom_HeaderFile

View File

@@ -18,45 +18,32 @@
#include <StepFEA_FeaAreaDensity.hxx>
#include <TCollection_HAsciiString.hxx>
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaAreaDensity,StepFEA_FeaMaterialPropertyRepresentationItem)
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaAreaDensity, StepFEA_FeaMaterialPropertyRepresentationItem)
//=======================================================================
//function : StepFEA_FeaAreaDensity
//purpose :
//=======================================================================
StepFEA_FeaAreaDensity::StepFEA_FeaAreaDensity ()
{
}
//=================================================================================================
//=======================================================================
//function : Init
//purpose :
//=======================================================================
StepFEA_FeaAreaDensity::StepFEA_FeaAreaDensity() {}
void StepFEA_FeaAreaDensity::Init (const Handle(TCollection_HAsciiString) &aRepresentationItem_Name,
const Standard_Real aFeaConstant)
//=================================================================================================
void StepFEA_FeaAreaDensity::Init(const Handle(TCollection_HAsciiString)& aRepresentationItem_Name,
const Standard_Real aFeaConstant)
{
StepFEA_FeaMaterialPropertyRepresentationItem::Init(aRepresentationItem_Name);
theFeaConstant = aFeaConstant;
}
//=======================================================================
//function : FeaConstant
//purpose :
//=======================================================================
//=================================================================================================
Standard_Real StepFEA_FeaAreaDensity::FeaConstant () const
Standard_Real StepFEA_FeaAreaDensity::FeaConstant() const
{
return theFeaConstant;
}
//=======================================================================
//function : SetFeaConstant
//purpose :
//=======================================================================
//=================================================================================================
void StepFEA_FeaAreaDensity::SetFeaConstant (const Standard_Real aFeaConstant)
void StepFEA_FeaAreaDensity::SetFeaConstant(const Standard_Real aFeaConstant)
{
theFeaConstant = aFeaConstant;
}

View File

@@ -23,7 +23,6 @@
#include <StepFEA_FeaMaterialPropertyRepresentationItem.hxx>
class TCollection_HAsciiString;
class StepFEA_FeaAreaDensity;
DEFINE_STANDARD_HANDLE(StepFEA_FeaAreaDensity, StepFEA_FeaMaterialPropertyRepresentationItem)
@@ -32,42 +31,24 @@ class StepFEA_FeaAreaDensity : public StepFEA_FeaMaterialPropertyRepresentationI
{
public:
//! Empty constructor
Standard_EXPORT StepFEA_FeaAreaDensity();
//! Initialize all fields (own and inherited)
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aRepresentationItem_Name, const Standard_Real aFeaConstant);
Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& aRepresentationItem_Name,
const Standard_Real aFeaConstant);
//! Returns field FeaConstant
Standard_EXPORT Standard_Real FeaConstant() const;
//! Set field FeaConstant
Standard_EXPORT void SetFeaConstant (const Standard_Real FeaConstant);
Standard_EXPORT void SetFeaConstant(const Standard_Real FeaConstant);
DEFINE_STANDARD_RTTIEXT(StepFEA_FeaAreaDensity,StepFEA_FeaMaterialPropertyRepresentationItem)
DEFINE_STANDARD_RTTIEXT(StepFEA_FeaAreaDensity, StepFEA_FeaMaterialPropertyRepresentationItem)
protected:
private:
Standard_Real theFeaConstant;
};
#endif // _StepFEA_FeaAreaDensity_HeaderFile

View File

@@ -20,29 +20,23 @@
#include <StepGeom_Direction.hxx>
#include <TCollection_HAsciiString.hxx>
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaAxis2Placement3d,StepGeom_Axis2Placement3d)
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaAxis2Placement3d, StepGeom_Axis2Placement3d)
//=======================================================================
//function : StepFEA_FeaAxis2Placement3d
//purpose :
//=======================================================================
StepFEA_FeaAxis2Placement3d::StepFEA_FeaAxis2Placement3d ()
{
}
//=================================================================================================
//=======================================================================
//function : Init
//purpose :
//=======================================================================
StepFEA_FeaAxis2Placement3d::StepFEA_FeaAxis2Placement3d() {}
void StepFEA_FeaAxis2Placement3d::Init (const Handle(TCollection_HAsciiString) &aRepresentationItem_Name,
const Handle(StepGeom_CartesianPoint) &aPlacement_Location,
const Standard_Boolean hasAxis2Placement3d_Axis,
const Handle(StepGeom_Direction) &aAxis2Placement3d_Axis,
const Standard_Boolean hasAxis2Placement3d_RefDirection,
const Handle(StepGeom_Direction) &aAxis2Placement3d_RefDirection,
const StepFEA_CoordinateSystemType aSystemType,
const Handle(TCollection_HAsciiString) &aDescription)
//=================================================================================================
void StepFEA_FeaAxis2Placement3d::Init(
const Handle(TCollection_HAsciiString)& aRepresentationItem_Name,
const Handle(StepGeom_CartesianPoint)& aPlacement_Location,
const Standard_Boolean hasAxis2Placement3d_Axis,
const Handle(StepGeom_Direction)& aAxis2Placement3d_Axis,
const Standard_Boolean hasAxis2Placement3d_RefDirection,
const Handle(StepGeom_Direction)& aAxis2Placement3d_RefDirection,
const StepFEA_CoordinateSystemType aSystemType,
const Handle(TCollection_HAsciiString)& aDescription)
{
StepGeom_Axis2Placement3d::Init(aRepresentationItem_Name,
aPlacement_Location,
@@ -56,42 +50,31 @@ void StepFEA_FeaAxis2Placement3d::Init (const Handle(TCollection_HAsciiString) &
theDescription = aDescription;
}
//=======================================================================
//function : SystemType
//purpose :
//=======================================================================
//=================================================================================================
StepFEA_CoordinateSystemType StepFEA_FeaAxis2Placement3d::SystemType () const
StepFEA_CoordinateSystemType StepFEA_FeaAxis2Placement3d::SystemType() const
{
return theSystemType;
}
//=======================================================================
//function : SetSystemType
//purpose :
//=======================================================================
//=================================================================================================
void StepFEA_FeaAxis2Placement3d::SetSystemType (const StepFEA_CoordinateSystemType aSystemType)
void StepFEA_FeaAxis2Placement3d::SetSystemType(const StepFEA_CoordinateSystemType aSystemType)
{
theSystemType = aSystemType;
}
//=======================================================================
//function : Description
//purpose :
//=======================================================================
//=================================================================================================
Handle(TCollection_HAsciiString) StepFEA_FeaAxis2Placement3d::Description () const
Handle(TCollection_HAsciiString) StepFEA_FeaAxis2Placement3d::Description() const
{
return theDescription;
}
//=======================================================================
//function : SetDescription
//purpose :
//=======================================================================
//=================================================================================================
void StepFEA_FeaAxis2Placement3d::SetDescription (const Handle(TCollection_HAsciiString) &aDescription)
void StepFEA_FeaAxis2Placement3d::SetDescription(
const Handle(TCollection_HAsciiString)& aDescription)
{
theDescription = aDescription;
}

View File

@@ -26,7 +26,6 @@ class TCollection_HAsciiString;
class StepGeom_CartesianPoint;
class StepGeom_Direction;
class StepFEA_FeaAxis2Placement3d;
DEFINE_STANDARD_HANDLE(StepFEA_FeaAxis2Placement3d, StepGeom_Axis2Placement3d)
@@ -35,49 +34,37 @@ class StepFEA_FeaAxis2Placement3d : public StepGeom_Axis2Placement3d
{
public:
//! Empty constructor
Standard_EXPORT StepFEA_FeaAxis2Placement3d();
//! Initialize all fields (own and inherited)
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aRepresentationItem_Name, const Handle(StepGeom_CartesianPoint)& aPlacement_Location, const Standard_Boolean hasAxis2Placement3d_Axis, const Handle(StepGeom_Direction)& aAxis2Placement3d_Axis, const Standard_Boolean hasAxis2Placement3d_RefDirection, const Handle(StepGeom_Direction)& aAxis2Placement3d_RefDirection, const StepFEA_CoordinateSystemType aSystemType, const Handle(TCollection_HAsciiString)& aDescription);
Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& aRepresentationItem_Name,
const Handle(StepGeom_CartesianPoint)& aPlacement_Location,
const Standard_Boolean hasAxis2Placement3d_Axis,
const Handle(StepGeom_Direction)& aAxis2Placement3d_Axis,
const Standard_Boolean hasAxis2Placement3d_RefDirection,
const Handle(StepGeom_Direction)& aAxis2Placement3d_RefDirection,
const StepFEA_CoordinateSystemType aSystemType,
const Handle(TCollection_HAsciiString)& aDescription);
//! Returns field SystemType
Standard_EXPORT StepFEA_CoordinateSystemType SystemType() const;
//! Set field SystemType
Standard_EXPORT void SetSystemType (const StepFEA_CoordinateSystemType SystemType);
Standard_EXPORT void SetSystemType(const StepFEA_CoordinateSystemType SystemType);
//! Returns field Description
Standard_EXPORT Handle(TCollection_HAsciiString) Description() const;
//! Set field Description
Standard_EXPORT void SetDescription (const Handle(TCollection_HAsciiString)& Description);
Standard_EXPORT void SetDescription(const Handle(TCollection_HAsciiString)& Description);
DEFINE_STANDARD_RTTIEXT(StepFEA_FeaAxis2Placement3d,StepGeom_Axis2Placement3d)
DEFINE_STANDARD_RTTIEXT(StepFEA_FeaAxis2Placement3d, StepGeom_Axis2Placement3d)
protected:
private:
StepFEA_CoordinateSystemType theSystemType;
StepFEA_CoordinateSystemType theSystemType;
Handle(TCollection_HAsciiString) theDescription;
};
#endif // _StepFEA_FeaAxis2Placement3d_HeaderFile

View File

@@ -20,23 +20,17 @@
#include <StepElement_CurveElementSectionDefinition.hxx>
#include <StepFEA_FeaCurveSectionGeometricRelationship.hxx>
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaCurveSectionGeometricRelationship,Standard_Transient)
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaCurveSectionGeometricRelationship, Standard_Transient)
//=======================================================================
//function : StepFEA_FeaCurveSectionGeometricRelationship
//purpose :
//=======================================================================
StepFEA_FeaCurveSectionGeometricRelationship::StepFEA_FeaCurveSectionGeometricRelationship ()
{
}
//=================================================================================================
//=======================================================================
//function : Init
//purpose :
//=======================================================================
StepFEA_FeaCurveSectionGeometricRelationship::StepFEA_FeaCurveSectionGeometricRelationship() {}
void StepFEA_FeaCurveSectionGeometricRelationship::Init (const Handle(StepElement_CurveElementSectionDefinition) &aSectionRef,
const Handle(StepElement_AnalysisItemWithinRepresentation) &aItem)
//=================================================================================================
void StepFEA_FeaCurveSectionGeometricRelationship::Init(
const Handle(StepElement_CurveElementSectionDefinition)& aSectionRef,
const Handle(StepElement_AnalysisItemWithinRepresentation)& aItem)
{
theSectionRef = aSectionRef;
@@ -44,42 +38,34 @@ void StepFEA_FeaCurveSectionGeometricRelationship::Init (const Handle(StepElemen
theItem = aItem;
}
//=======================================================================
//function : SectionRef
//purpose :
//=======================================================================
//=================================================================================================
Handle(StepElement_CurveElementSectionDefinition) StepFEA_FeaCurveSectionGeometricRelationship::SectionRef () const
Handle(StepElement_CurveElementSectionDefinition) StepFEA_FeaCurveSectionGeometricRelationship::
SectionRef() const
{
return theSectionRef;
}
//=======================================================================
//function : SetSectionRef
//purpose :
//=======================================================================
//=================================================================================================
void StepFEA_FeaCurveSectionGeometricRelationship::SetSectionRef (const Handle(StepElement_CurveElementSectionDefinition) &aSectionRef)
void StepFEA_FeaCurveSectionGeometricRelationship::SetSectionRef(
const Handle(StepElement_CurveElementSectionDefinition)& aSectionRef)
{
theSectionRef = aSectionRef;
}
//=======================================================================
//function : Item
//purpose :
//=======================================================================
//=================================================================================================
Handle(StepElement_AnalysisItemWithinRepresentation) StepFEA_FeaCurveSectionGeometricRelationship::Item () const
Handle(StepElement_AnalysisItemWithinRepresentation) StepFEA_FeaCurveSectionGeometricRelationship::
Item() const
{
return theItem;
}
//=======================================================================
//function : SetItem
//purpose :
//=======================================================================
//=================================================================================================
void StepFEA_FeaCurveSectionGeometricRelationship::SetItem (const Handle(StepElement_AnalysisItemWithinRepresentation) &aItem)
void StepFEA_FeaCurveSectionGeometricRelationship::SetItem(
const Handle(StepElement_AnalysisItemWithinRepresentation)& aItem)
{
theItem = aItem;
}

View File

@@ -23,7 +23,6 @@
class StepElement_CurveElementSectionDefinition;
class StepElement_AnalysisItemWithinRepresentation;
class StepFEA_FeaCurveSectionGeometricRelationship;
DEFINE_STANDARD_HANDLE(StepFEA_FeaCurveSectionGeometricRelationship, Standard_Transient)
@@ -32,49 +31,32 @@ class StepFEA_FeaCurveSectionGeometricRelationship : public Standard_Transient
{
public:
//! Empty constructor
Standard_EXPORT StepFEA_FeaCurveSectionGeometricRelationship();
//! Initialize all fields (own and inherited)
Standard_EXPORT void Init (const Handle(StepElement_CurveElementSectionDefinition)& aSectionRef, const Handle(StepElement_AnalysisItemWithinRepresentation)& aItem);
Standard_EXPORT void Init(const Handle(StepElement_CurveElementSectionDefinition)& aSectionRef,
const Handle(StepElement_AnalysisItemWithinRepresentation)& aItem);
//! Returns field SectionRef
Standard_EXPORT Handle(StepElement_CurveElementSectionDefinition) SectionRef() const;
//! Set field SectionRef
Standard_EXPORT void SetSectionRef (const Handle(StepElement_CurveElementSectionDefinition)& SectionRef);
Standard_EXPORT void SetSectionRef(
const Handle(StepElement_CurveElementSectionDefinition)& SectionRef);
//! Returns field Item
Standard_EXPORT Handle(StepElement_AnalysisItemWithinRepresentation) Item() const;
//! Set field Item
Standard_EXPORT void SetItem (const Handle(StepElement_AnalysisItemWithinRepresentation)& Item);
Standard_EXPORT void SetItem(const Handle(StepElement_AnalysisItemWithinRepresentation)& Item);
DEFINE_STANDARD_RTTIEXT(StepFEA_FeaCurveSectionGeometricRelationship,Standard_Transient)
DEFINE_STANDARD_RTTIEXT(StepFEA_FeaCurveSectionGeometricRelationship, Standard_Transient)
protected:
private:
Handle(StepElement_CurveElementSectionDefinition) theSectionRef;
Handle(StepElement_CurveElementSectionDefinition) theSectionRef;
Handle(StepElement_AnalysisItemWithinRepresentation) theItem;
};
#endif // _StepFEA_FeaCurveSectionGeometricRelationship_HeaderFile

View File

@@ -19,48 +19,33 @@
#include <StepFEA_FeaModel.hxx>
#include <TCollection_HAsciiString.hxx>
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaGroup,StepBasic_Group)
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaGroup, StepBasic_Group)
//=======================================================================
//function : StepFEA_FeaGroup
//purpose :
//=======================================================================
StepFEA_FeaGroup::StepFEA_FeaGroup ()
//=================================================================================================
StepFEA_FeaGroup::StepFEA_FeaGroup() {}
//=================================================================================================
void StepFEA_FeaGroup::Init(const Handle(TCollection_HAsciiString)& aGroup_Name,
const Handle(TCollection_HAsciiString)& aGroup_Description,
const Handle(StepFEA_FeaModel)& aModelRef)
{
}
//=======================================================================
//function : Init
//purpose :
//=======================================================================
void StepFEA_FeaGroup::Init (const Handle(TCollection_HAsciiString) &aGroup_Name,
const Handle(TCollection_HAsciiString) &aGroup_Description,
const Handle(StepFEA_FeaModel) &aModelRef)
{
StepBasic_Group::Init(aGroup_Name,
Standard_True,
aGroup_Description);
StepBasic_Group::Init(aGroup_Name, Standard_True, aGroup_Description);
theModelRef = aModelRef;
}
//=======================================================================
//function : ModelRef
//purpose :
//=======================================================================
//=================================================================================================
Handle(StepFEA_FeaModel) StepFEA_FeaGroup::ModelRef () const
Handle(StepFEA_FeaModel) StepFEA_FeaGroup::ModelRef() const
{
return theModelRef;
}
//=======================================================================
//function : SetModelRef
//purpose :
//=======================================================================
//=================================================================================================
void StepFEA_FeaGroup::SetModelRef (const Handle(StepFEA_FeaModel) &aModelRef)
void StepFEA_FeaGroup::SetModelRef(const Handle(StepFEA_FeaModel)& aModelRef)
{
theModelRef = aModelRef;
}

View File

@@ -23,7 +23,6 @@
class StepFEA_FeaModel;
class TCollection_HAsciiString;
class StepFEA_FeaGroup;
DEFINE_STANDARD_HANDLE(StepFEA_FeaGroup, StepBasic_Group)
@@ -32,42 +31,25 @@ class StepFEA_FeaGroup : public StepBasic_Group
{
public:
//! Empty constructor
Standard_EXPORT StepFEA_FeaGroup();
//! Initialize all fields (own and inherited)
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aGroup_Name, const Handle(TCollection_HAsciiString)& aGroup_Description, const Handle(StepFEA_FeaModel)& aModelRef);
Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& aGroup_Name,
const Handle(TCollection_HAsciiString)& aGroup_Description,
const Handle(StepFEA_FeaModel)& aModelRef);
//! Returns field ModelRef
Standard_EXPORT Handle(StepFEA_FeaModel) ModelRef() const;
//! Set field ModelRef
Standard_EXPORT void SetModelRef (const Handle(StepFEA_FeaModel)& ModelRef);
Standard_EXPORT void SetModelRef(const Handle(StepFEA_FeaModel)& ModelRef);
DEFINE_STANDARD_RTTIEXT(StepFEA_FeaGroup,StepBasic_Group)
DEFINE_STANDARD_RTTIEXT(StepFEA_FeaGroup, StepBasic_Group)
protected:
private:
Handle(StepFEA_FeaModel) theModelRef;
};
#endif // _StepFEA_FeaGroup_HeaderFile

View File

@@ -19,45 +19,34 @@
#include <StepFEA_SymmetricTensor43d.hxx>
#include <TCollection_HAsciiString.hxx>
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaLinearElasticity,StepFEA_FeaMaterialPropertyRepresentationItem)
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaLinearElasticity,
StepFEA_FeaMaterialPropertyRepresentationItem)
//=======================================================================
//function : StepFEA_FeaLinearElasticity
//purpose :
//=======================================================================
StepFEA_FeaLinearElasticity::StepFEA_FeaLinearElasticity ()
{
}
//=================================================================================================
//=======================================================================
//function : Init
//purpose :
//=======================================================================
StepFEA_FeaLinearElasticity::StepFEA_FeaLinearElasticity() {}
void StepFEA_FeaLinearElasticity::Init (const Handle(TCollection_HAsciiString) &aRepresentationItem_Name,
const StepFEA_SymmetricTensor43d &aFeaConstants)
//=================================================================================================
void StepFEA_FeaLinearElasticity::Init(
const Handle(TCollection_HAsciiString)& aRepresentationItem_Name,
const StepFEA_SymmetricTensor43d& aFeaConstants)
{
StepFEA_FeaMaterialPropertyRepresentationItem::Init(aRepresentationItem_Name);
theFeaConstants = aFeaConstants;
}
//=======================================================================
//function : FeaConstants
//purpose :
//=======================================================================
//=================================================================================================
StepFEA_SymmetricTensor43d StepFEA_FeaLinearElasticity::FeaConstants () const
StepFEA_SymmetricTensor43d StepFEA_FeaLinearElasticity::FeaConstants() const
{
return theFeaConstants;
}
//=======================================================================
//function : SetFeaConstants
//purpose :
//=======================================================================
//=================================================================================================
void StepFEA_FeaLinearElasticity::SetFeaConstants (const StepFEA_SymmetricTensor43d &aFeaConstants)
void StepFEA_FeaLinearElasticity::SetFeaConstants(const StepFEA_SymmetricTensor43d& aFeaConstants)
{
theFeaConstants = aFeaConstants;
}

View File

@@ -22,7 +22,6 @@
#include <StepFEA_FeaMaterialPropertyRepresentationItem.hxx>
class TCollection_HAsciiString;
class StepFEA_FeaLinearElasticity;
DEFINE_STANDARD_HANDLE(StepFEA_FeaLinearElasticity, StepFEA_FeaMaterialPropertyRepresentationItem)
@@ -31,42 +30,25 @@ class StepFEA_FeaLinearElasticity : public StepFEA_FeaMaterialPropertyRepresenta
{
public:
//! Empty constructor
Standard_EXPORT StepFEA_FeaLinearElasticity();
//! Initialize all fields (own and inherited)
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aRepresentationItem_Name, const StepFEA_SymmetricTensor43d& aFeaConstants);
Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& aRepresentationItem_Name,
const StepFEA_SymmetricTensor43d& aFeaConstants);
//! Returns field FeaConstants
Standard_EXPORT StepFEA_SymmetricTensor43d FeaConstants() const;
//! Set field FeaConstants
Standard_EXPORT void SetFeaConstants (const StepFEA_SymmetricTensor43d& FeaConstants);
Standard_EXPORT void SetFeaConstants(const StepFEA_SymmetricTensor43d& FeaConstants);
DEFINE_STANDARD_RTTIEXT(StepFEA_FeaLinearElasticity,StepFEA_FeaMaterialPropertyRepresentationItem)
DEFINE_STANDARD_RTTIEXT(StepFEA_FeaLinearElasticity,
StepFEA_FeaMaterialPropertyRepresentationItem)
protected:
private:
StepFEA_SymmetricTensor43d theFeaConstants;
};
#endif // _StepFEA_FeaLinearElasticity_HeaderFile

View File

@@ -18,45 +18,32 @@
#include <StepFEA_FeaMassDensity.hxx>
#include <TCollection_HAsciiString.hxx>
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaMassDensity,StepFEA_FeaMaterialPropertyRepresentationItem)
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaMassDensity, StepFEA_FeaMaterialPropertyRepresentationItem)
//=======================================================================
//function : StepFEA_FeaMassDensity
//purpose :
//=======================================================================
StepFEA_FeaMassDensity::StepFEA_FeaMassDensity ()
{
}
//=================================================================================================
//=======================================================================
//function : Init
//purpose :
//=======================================================================
StepFEA_FeaMassDensity::StepFEA_FeaMassDensity() {}
void StepFEA_FeaMassDensity::Init (const Handle(TCollection_HAsciiString) &aRepresentationItem_Name,
const Standard_Real aFeaConstant)
//=================================================================================================
void StepFEA_FeaMassDensity::Init(const Handle(TCollection_HAsciiString)& aRepresentationItem_Name,
const Standard_Real aFeaConstant)
{
StepFEA_FeaMaterialPropertyRepresentationItem::Init(aRepresentationItem_Name);
theFeaConstant = aFeaConstant;
}
//=======================================================================
//function : FeaConstant
//purpose :
//=======================================================================
//=================================================================================================
Standard_Real StepFEA_FeaMassDensity::FeaConstant () const
Standard_Real StepFEA_FeaMassDensity::FeaConstant() const
{
return theFeaConstant;
}
//=======================================================================
//function : SetFeaConstant
//purpose :
//=======================================================================
//=================================================================================================
void StepFEA_FeaMassDensity::SetFeaConstant (const Standard_Real aFeaConstant)
void StepFEA_FeaMassDensity::SetFeaConstant(const Standard_Real aFeaConstant)
{
theFeaConstant = aFeaConstant;
}

View File

@@ -23,7 +23,6 @@
#include <StepFEA_FeaMaterialPropertyRepresentationItem.hxx>
class TCollection_HAsciiString;
class StepFEA_FeaMassDensity;
DEFINE_STANDARD_HANDLE(StepFEA_FeaMassDensity, StepFEA_FeaMaterialPropertyRepresentationItem)
@@ -32,42 +31,24 @@ class StepFEA_FeaMassDensity : public StepFEA_FeaMaterialPropertyRepresentationI
{
public:
//! Empty constructor
Standard_EXPORT StepFEA_FeaMassDensity();
//! Initialize all fields (own and inherited)
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aRepresentationItem_Name, const Standard_Real aFeaConstant);
Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& aRepresentationItem_Name,
const Standard_Real aFeaConstant);
//! Returns field FeaConstant
Standard_EXPORT Standard_Real FeaConstant() const;
//! Set field FeaConstant
Standard_EXPORT void SetFeaConstant (const Standard_Real FeaConstant);
Standard_EXPORT void SetFeaConstant(const Standard_Real FeaConstant);
DEFINE_STANDARD_RTTIEXT(StepFEA_FeaMassDensity,StepFEA_FeaMaterialPropertyRepresentationItem)
DEFINE_STANDARD_RTTIEXT(StepFEA_FeaMassDensity, StepFEA_FeaMaterialPropertyRepresentationItem)
protected:
private:
Standard_Real theFeaConstant;
};
#endif // _StepFEA_FeaMassDensity_HeaderFile

View File

@@ -17,12 +17,9 @@
#include <StepFEA_FeaMaterialPropertyRepresentation.hxx>
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaMaterialPropertyRepresentation,StepRepr_MaterialPropertyRepresentation)
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaMaterialPropertyRepresentation,
StepRepr_MaterialPropertyRepresentation)
//=======================================================================
//function : StepFEA_FeaMaterialPropertyRepresentation
//purpose :
//=======================================================================
StepFEA_FeaMaterialPropertyRepresentation::StepFEA_FeaMaterialPropertyRepresentation ()
{
}
//=================================================================================================
StepFEA_FeaMaterialPropertyRepresentation::StepFEA_FeaMaterialPropertyRepresentation() {}

View File

@@ -20,41 +20,23 @@
#include <StepRepr_MaterialPropertyRepresentation.hxx>
class StepFEA_FeaMaterialPropertyRepresentation;
DEFINE_STANDARD_HANDLE(StepFEA_FeaMaterialPropertyRepresentation, StepRepr_MaterialPropertyRepresentation)
DEFINE_STANDARD_HANDLE(StepFEA_FeaMaterialPropertyRepresentation,
StepRepr_MaterialPropertyRepresentation)
//! Representation of STEP entity FeaMaterialPropertyRepresentation
class StepFEA_FeaMaterialPropertyRepresentation : public StepRepr_MaterialPropertyRepresentation
{
public:
//! Empty constructor
Standard_EXPORT StepFEA_FeaMaterialPropertyRepresentation();
DEFINE_STANDARD_RTTIEXT(StepFEA_FeaMaterialPropertyRepresentation,StepRepr_MaterialPropertyRepresentation)
DEFINE_STANDARD_RTTIEXT(StepFEA_FeaMaterialPropertyRepresentation,
StepRepr_MaterialPropertyRepresentation)
protected:
private:
};
#endif // _StepFEA_FeaMaterialPropertyRepresentation_HeaderFile

View File

@@ -18,12 +18,9 @@
#include <Standard_Type.hxx>
#include <StepFEA_FeaMaterialPropertyRepresentationItem.hxx>
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaMaterialPropertyRepresentationItem,StepRepr_RepresentationItem)
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaMaterialPropertyRepresentationItem,
StepRepr_RepresentationItem)
//=======================================================================
//function : StepFEA_FeaMaterialPropertyRepresentationItem
//purpose :
//=======================================================================
StepFEA_FeaMaterialPropertyRepresentationItem::StepFEA_FeaMaterialPropertyRepresentationItem ()
{
}
//=================================================================================================
StepFEA_FeaMaterialPropertyRepresentationItem::StepFEA_FeaMaterialPropertyRepresentationItem() {}

View File

@@ -21,7 +21,6 @@
#include <StepRepr_RepresentationItem.hxx>
class StepFEA_FeaMaterialPropertyRepresentationItem;
DEFINE_STANDARD_HANDLE(StepFEA_FeaMaterialPropertyRepresentationItem, StepRepr_RepresentationItem)
@@ -30,32 +29,14 @@ class StepFEA_FeaMaterialPropertyRepresentationItem : public StepRepr_Representa
{
public:
//! Empty constructor
Standard_EXPORT StepFEA_FeaMaterialPropertyRepresentationItem();
DEFINE_STANDARD_RTTIEXT(StepFEA_FeaMaterialPropertyRepresentationItem,StepRepr_RepresentationItem)
DEFINE_STANDARD_RTTIEXT(StepFEA_FeaMaterialPropertyRepresentationItem,
StepRepr_RepresentationItem)
protected:
private:
};
#endif // _StepFEA_FeaMaterialPropertyRepresentationItem_HeaderFile

View File

@@ -19,28 +19,22 @@
#include <StepRepr_RepresentationContext.hxx>
#include <TCollection_HAsciiString.hxx>
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaModel,StepRepr_Representation)
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaModel, StepRepr_Representation)
//=======================================================================
//function : StepFEA_FeaModel
//purpose :
//=======================================================================
StepFEA_FeaModel::StepFEA_FeaModel ()
{
}
//=================================================================================================
//=======================================================================
//function : Init
//purpose :
//=======================================================================
StepFEA_FeaModel::StepFEA_FeaModel() {}
void StepFEA_FeaModel::Init (const Handle(TCollection_HAsciiString) &aRepresentation_Name,
const Handle(StepRepr_HArray1OfRepresentationItem) &aRepresentation_Items,
const Handle(StepRepr_RepresentationContext) &aRepresentation_ContextOfItems,
const Handle(TCollection_HAsciiString) &aCreatingSoftware,
const Handle(TColStd_HArray1OfAsciiString) &aIntendedAnalysisCode,
const Handle(TCollection_HAsciiString) &aDescription,
const Handle(TCollection_HAsciiString) &aAnalysisType)
//=================================================================================================
void StepFEA_FeaModel::Init(
const Handle(TCollection_HAsciiString)& aRepresentation_Name,
const Handle(StepRepr_HArray1OfRepresentationItem)& aRepresentation_Items,
const Handle(StepRepr_RepresentationContext)& aRepresentation_ContextOfItems,
const Handle(TCollection_HAsciiString)& aCreatingSoftware,
const Handle(TColStd_HArray1OfAsciiString)& aIntendedAnalysisCode,
const Handle(TCollection_HAsciiString)& aDescription,
const Handle(TCollection_HAsciiString)& aAnalysisType)
{
StepRepr_Representation::Init(aRepresentation_Name,
aRepresentation_Items,
@@ -55,82 +49,60 @@ void StepFEA_FeaModel::Init (const Handle(TCollection_HAsciiString) &aRepresenta
theAnalysisType = aAnalysisType;
}
//=======================================================================
//function : CreatingSoftware
//purpose :
//=======================================================================
//=================================================================================================
Handle(TCollection_HAsciiString) StepFEA_FeaModel::CreatingSoftware () const
Handle(TCollection_HAsciiString) StepFEA_FeaModel::CreatingSoftware() const
{
return theCreatingSoftware;
}
//=======================================================================
//function : SetCreatingSoftware
//purpose :
//=======================================================================
//=================================================================================================
void StepFEA_FeaModel::SetCreatingSoftware (const Handle(TCollection_HAsciiString) &aCreatingSoftware)
void StepFEA_FeaModel::SetCreatingSoftware(
const Handle(TCollection_HAsciiString)& aCreatingSoftware)
{
theCreatingSoftware = aCreatingSoftware;
}
//=======================================================================
//function : IntendedAnalysisCode
//purpose :
//=======================================================================
//=================================================================================================
Handle(TColStd_HArray1OfAsciiString) StepFEA_FeaModel::IntendedAnalysisCode () const
Handle(TColStd_HArray1OfAsciiString) StepFEA_FeaModel::IntendedAnalysisCode() const
{
return theIntendedAnalysisCode;
}
//=======================================================================
//function : SetIntendedAnalysisCode
//purpose :
//=======================================================================
//=================================================================================================
void StepFEA_FeaModel::SetIntendedAnalysisCode (const Handle(TColStd_HArray1OfAsciiString) &aIntendedAnalysisCode)
void StepFEA_FeaModel::SetIntendedAnalysisCode(
const Handle(TColStd_HArray1OfAsciiString)& aIntendedAnalysisCode)
{
theIntendedAnalysisCode = aIntendedAnalysisCode;
}
//=======================================================================
//function : Description
//purpose :
//=======================================================================
//=================================================================================================
Handle(TCollection_HAsciiString) StepFEA_FeaModel::Description () const
Handle(TCollection_HAsciiString) StepFEA_FeaModel::Description() const
{
return theDescription;
}
//=======================================================================
//function : SetDescription
//purpose :
//=======================================================================
//=================================================================================================
void StepFEA_FeaModel::SetDescription (const Handle(TCollection_HAsciiString) &aDescription)
void StepFEA_FeaModel::SetDescription(const Handle(TCollection_HAsciiString)& aDescription)
{
theDescription = aDescription;
}
//=======================================================================
//function : AnalysisType
//purpose :
//=======================================================================
//=================================================================================================
Handle(TCollection_HAsciiString) StepFEA_FeaModel::AnalysisType () const
Handle(TCollection_HAsciiString) StepFEA_FeaModel::AnalysisType() const
{
return theAnalysisType;
}
//=======================================================================
//function : SetAnalysisType
//purpose :
//=======================================================================
//=================================================================================================
void StepFEA_FeaModel::SetAnalysisType (const Handle(TCollection_HAsciiString) &aAnalysisType)
void StepFEA_FeaModel::SetAnalysisType(const Handle(TCollection_HAsciiString)& aAnalysisType)
{
theAnalysisType = aAnalysisType;
}

View File

@@ -24,7 +24,6 @@
class TCollection_HAsciiString;
class StepRepr_RepresentationContext;
class StepFEA_FeaModel;
DEFINE_STANDARD_HANDLE(StepFEA_FeaModel, StepRepr_Representation)
@@ -33,63 +32,53 @@ class StepFEA_FeaModel : public StepRepr_Representation
{
public:
//! Empty constructor
Standard_EXPORT StepFEA_FeaModel();
//! Initialize all fields (own and inherited)
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aRepresentation_Name, const Handle(StepRepr_HArray1OfRepresentationItem)& aRepresentation_Items, const Handle(StepRepr_RepresentationContext)& aRepresentation_ContextOfItems, const Handle(TCollection_HAsciiString)& aCreatingSoftware, const Handle(TColStd_HArray1OfAsciiString)& aIntendedAnalysisCode, const Handle(TCollection_HAsciiString)& aDescription, const Handle(TCollection_HAsciiString)& aAnalysisType);
Standard_EXPORT void Init(
const Handle(TCollection_HAsciiString)& aRepresentation_Name,
const Handle(StepRepr_HArray1OfRepresentationItem)& aRepresentation_Items,
const Handle(StepRepr_RepresentationContext)& aRepresentation_ContextOfItems,
const Handle(TCollection_HAsciiString)& aCreatingSoftware,
const Handle(TColStd_HArray1OfAsciiString)& aIntendedAnalysisCode,
const Handle(TCollection_HAsciiString)& aDescription,
const Handle(TCollection_HAsciiString)& aAnalysisType);
//! Returns field CreatingSoftware
Standard_EXPORT Handle(TCollection_HAsciiString) CreatingSoftware() const;
//! Set field CreatingSoftware
Standard_EXPORT void SetCreatingSoftware (const Handle(TCollection_HAsciiString)& CreatingSoftware);
Standard_EXPORT void SetCreatingSoftware(
const Handle(TCollection_HAsciiString)& CreatingSoftware);
//! Returns field IntendedAnalysisCode
Standard_EXPORT Handle(TColStd_HArray1OfAsciiString) IntendedAnalysisCode() const;
//! Set field IntendedAnalysisCode
Standard_EXPORT void SetIntendedAnalysisCode (const Handle(TColStd_HArray1OfAsciiString)& IntendedAnalysisCode);
Standard_EXPORT void SetIntendedAnalysisCode(
const Handle(TColStd_HArray1OfAsciiString)& IntendedAnalysisCode);
//! Returns field Description
Standard_EXPORT Handle(TCollection_HAsciiString) Description() const;
//! Set field Description
Standard_EXPORT void SetDescription (const Handle(TCollection_HAsciiString)& Description);
Standard_EXPORT void SetDescription(const Handle(TCollection_HAsciiString)& Description);
//! Returns field AnalysisType
Standard_EXPORT Handle(TCollection_HAsciiString) AnalysisType() const;
//! Set field AnalysisType
Standard_EXPORT void SetAnalysisType (const Handle(TCollection_HAsciiString)& AnalysisType);
Standard_EXPORT void SetAnalysisType(const Handle(TCollection_HAsciiString)& AnalysisType);
DEFINE_STANDARD_RTTIEXT(StepFEA_FeaModel,StepRepr_Representation)
DEFINE_STANDARD_RTTIEXT(StepFEA_FeaModel, StepRepr_Representation)
protected:
private:
Handle(TCollection_HAsciiString) theCreatingSoftware;
Handle(TCollection_HAsciiString) theCreatingSoftware;
Handle(TColStd_HArray1OfAsciiString) theIntendedAnalysisCode;
Handle(TCollection_HAsciiString) theDescription;
Handle(TCollection_HAsciiString) theAnalysisType;
Handle(TCollection_HAsciiString) theDescription;
Handle(TCollection_HAsciiString) theAnalysisType;
};
#endif // _StepFEA_FeaModel_HeaderFile

View File

@@ -17,12 +17,8 @@
#include <StepFEA_FeaModel3d.hxx>
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaModel3d,StepFEA_FeaModel)
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaModel3d, StepFEA_FeaModel)
//=======================================================================
//function : StepFEA_FeaModel3d
//purpose :
//=======================================================================
StepFEA_FeaModel3d::StepFEA_FeaModel3d ()
{
}
//=================================================================================================
StepFEA_FeaModel3d::StepFEA_FeaModel3d() {}

View File

@@ -20,7 +20,6 @@
#include <StepFEA_FeaModel.hxx>
class StepFEA_FeaModel3d;
DEFINE_STANDARD_HANDLE(StepFEA_FeaModel3d, StepFEA_FeaModel)
@@ -29,32 +28,13 @@ class StepFEA_FeaModel3d : public StepFEA_FeaModel
{
public:
//! Empty constructor
Standard_EXPORT StepFEA_FeaModel3d();
DEFINE_STANDARD_RTTIEXT(StepFEA_FeaModel3d,StepFEA_FeaModel)
DEFINE_STANDARD_RTTIEXT(StepFEA_FeaModel3d, StepFEA_FeaModel)
protected:
private:
};
#endif // _StepFEA_FeaModel3d_HeaderFile

View File

@@ -18,12 +18,8 @@
#include <Standard_Type.hxx>
#include <StepFEA_FeaModelDefinition.hxx>
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaModelDefinition,StepRepr_ShapeAspect)
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaModelDefinition, StepRepr_ShapeAspect)
//=======================================================================
//function : StepFEA_FeaModelDefinition
//purpose :
//=======================================================================
StepFEA_FeaModelDefinition::StepFEA_FeaModelDefinition ()
{
}
//=================================================================================================
StepFEA_FeaModelDefinition::StepFEA_FeaModelDefinition() {}

View File

@@ -21,7 +21,6 @@
#include <StepRepr_ShapeAspect.hxx>
class StepFEA_FeaModelDefinition;
DEFINE_STANDARD_HANDLE(StepFEA_FeaModelDefinition, StepRepr_ShapeAspect)
@@ -30,32 +29,13 @@ class StepFEA_FeaModelDefinition : public StepRepr_ShapeAspect
{
public:
//! Empty constructor
Standard_EXPORT StepFEA_FeaModelDefinition();
DEFINE_STANDARD_RTTIEXT(StepFEA_FeaModelDefinition,StepRepr_ShapeAspect)
DEFINE_STANDARD_RTTIEXT(StepFEA_FeaModelDefinition, StepRepr_ShapeAspect)
protected:
private:
};
#endif // _StepFEA_FeaModelDefinition_HeaderFile

View File

@@ -19,45 +19,34 @@
#include <StepFEA_SymmetricTensor23d.hxx>
#include <TCollection_HAsciiString.hxx>
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaMoistureAbsorption,StepFEA_FeaMaterialPropertyRepresentationItem)
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaMoistureAbsorption,
StepFEA_FeaMaterialPropertyRepresentationItem)
//=======================================================================
//function : StepFEA_FeaMoistureAbsorption
//purpose :
//=======================================================================
StepFEA_FeaMoistureAbsorption::StepFEA_FeaMoistureAbsorption ()
{
}
//=================================================================================================
//=======================================================================
//function : Init
//purpose :
//=======================================================================
StepFEA_FeaMoistureAbsorption::StepFEA_FeaMoistureAbsorption() {}
void StepFEA_FeaMoistureAbsorption::Init (const Handle(TCollection_HAsciiString) &aRepresentationItem_Name,
const StepFEA_SymmetricTensor23d &aFeaConstants)
//=================================================================================================
void StepFEA_FeaMoistureAbsorption::Init(
const Handle(TCollection_HAsciiString)& aRepresentationItem_Name,
const StepFEA_SymmetricTensor23d& aFeaConstants)
{
StepFEA_FeaMaterialPropertyRepresentationItem::Init(aRepresentationItem_Name);
theFeaConstants = aFeaConstants;
}
//=======================================================================
//function : FeaConstants
//purpose :
//=======================================================================
//=================================================================================================
StepFEA_SymmetricTensor23d StepFEA_FeaMoistureAbsorption::FeaConstants () const
StepFEA_SymmetricTensor23d StepFEA_FeaMoistureAbsorption::FeaConstants() const
{
return theFeaConstants;
}
//=======================================================================
//function : SetFeaConstants
//purpose :
//=======================================================================
//=================================================================================================
void StepFEA_FeaMoistureAbsorption::SetFeaConstants (const StepFEA_SymmetricTensor23d &aFeaConstants)
void StepFEA_FeaMoistureAbsorption::SetFeaConstants(const StepFEA_SymmetricTensor23d& aFeaConstants)
{
theFeaConstants = aFeaConstants;
}

View File

@@ -22,7 +22,6 @@
#include <StepFEA_FeaMaterialPropertyRepresentationItem.hxx>
class TCollection_HAsciiString;
class StepFEA_FeaMoistureAbsorption;
DEFINE_STANDARD_HANDLE(StepFEA_FeaMoistureAbsorption, StepFEA_FeaMaterialPropertyRepresentationItem)
@@ -31,42 +30,25 @@ class StepFEA_FeaMoistureAbsorption : public StepFEA_FeaMaterialPropertyRepresen
{
public:
//! Empty constructor
Standard_EXPORT StepFEA_FeaMoistureAbsorption();
//! Initialize all fields (own and inherited)
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aRepresentationItem_Name, const StepFEA_SymmetricTensor23d& aFeaConstants);
Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& aRepresentationItem_Name,
const StepFEA_SymmetricTensor23d& aFeaConstants);
//! Returns field FeaConstants
Standard_EXPORT StepFEA_SymmetricTensor23d FeaConstants() const;
//! Set field FeaConstants
Standard_EXPORT void SetFeaConstants (const StepFEA_SymmetricTensor23d& FeaConstants);
Standard_EXPORT void SetFeaConstants(const StepFEA_SymmetricTensor23d& FeaConstants);
DEFINE_STANDARD_RTTIEXT(StepFEA_FeaMoistureAbsorption,StepFEA_FeaMaterialPropertyRepresentationItem)
DEFINE_STANDARD_RTTIEXT(StepFEA_FeaMoistureAbsorption,
StepFEA_FeaMaterialPropertyRepresentationItem)
protected:
private:
StepFEA_SymmetricTensor23d theFeaConstants;
};
#endif // _StepFEA_FeaMoistureAbsorption_HeaderFile

View File

@@ -18,45 +18,33 @@
#include <StepFEA_FeaParametricPoint.hxx>
#include <TCollection_HAsciiString.hxx>
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaParametricPoint,StepGeom_Point)
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaParametricPoint, StepGeom_Point)
//=======================================================================
//function : StepFEA_FeaParametricPoint
//purpose :
//=======================================================================
StepFEA_FeaParametricPoint::StepFEA_FeaParametricPoint ()
{
}
//=================================================================================================
//=======================================================================
//function : Init
//purpose :
//=======================================================================
StepFEA_FeaParametricPoint::StepFEA_FeaParametricPoint() {}
void StepFEA_FeaParametricPoint::Init (const Handle(TCollection_HAsciiString) &aRepresentationItem_Name,
const Handle(TColStd_HArray1OfReal) &aCoordinates)
//=================================================================================================
void StepFEA_FeaParametricPoint::Init(
const Handle(TCollection_HAsciiString)& aRepresentationItem_Name,
const Handle(TColStd_HArray1OfReal)& aCoordinates)
{
StepGeom_Point::Init(aRepresentationItem_Name);
theCoordinates = aCoordinates;
}
//=======================================================================
//function : Coordinates
//purpose :
//=======================================================================
//=================================================================================================
Handle(TColStd_HArray1OfReal) StepFEA_FeaParametricPoint::Coordinates () const
Handle(TColStd_HArray1OfReal) StepFEA_FeaParametricPoint::Coordinates() const
{
return theCoordinates;
}
//=======================================================================
//function : SetCoordinates
//purpose :
//=======================================================================
//=================================================================================================
void StepFEA_FeaParametricPoint::SetCoordinates (const Handle(TColStd_HArray1OfReal) &aCoordinates)
void StepFEA_FeaParametricPoint::SetCoordinates(const Handle(TColStd_HArray1OfReal)& aCoordinates)
{
theCoordinates = aCoordinates;
}

View File

@@ -23,7 +23,6 @@
#include <StepGeom_Point.hxx>
class TCollection_HAsciiString;
class StepFEA_FeaParametricPoint;
DEFINE_STANDARD_HANDLE(StepFEA_FeaParametricPoint, StepGeom_Point)
@@ -32,42 +31,24 @@ class StepFEA_FeaParametricPoint : public StepGeom_Point
{
public:
//! Empty constructor
Standard_EXPORT StepFEA_FeaParametricPoint();
//! Initialize all fields (own and inherited)
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aRepresentationItem_Name, const Handle(TColStd_HArray1OfReal)& aCoordinates);
Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& aRepresentationItem_Name,
const Handle(TColStd_HArray1OfReal)& aCoordinates);
//! Returns field Coordinates
Standard_EXPORT Handle(TColStd_HArray1OfReal) Coordinates() const;
//! Set field Coordinates
Standard_EXPORT void SetCoordinates (const Handle(TColStd_HArray1OfReal)& Coordinates);
Standard_EXPORT void SetCoordinates(const Handle(TColStd_HArray1OfReal)& Coordinates);
DEFINE_STANDARD_RTTIEXT(StepFEA_FeaParametricPoint,StepGeom_Point)
DEFINE_STANDARD_RTTIEXT(StepFEA_FeaParametricPoint, StepGeom_Point)
protected:
private:
Handle(TColStd_HArray1OfReal) theCoordinates;
};
#endif // _StepFEA_FeaParametricPoint_HeaderFile

View File

@@ -18,12 +18,8 @@
#include <Standard_Type.hxx>
#include <StepFEA_FeaRepresentationItem.hxx>
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaRepresentationItem,StepRepr_RepresentationItem)
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaRepresentationItem, StepRepr_RepresentationItem)
//=======================================================================
//function : StepFEA_FeaRepresentationItem
//purpose :
//=======================================================================
StepFEA_FeaRepresentationItem::StepFEA_FeaRepresentationItem ()
{
}
//=================================================================================================
StepFEA_FeaRepresentationItem::StepFEA_FeaRepresentationItem() {}

View File

@@ -21,7 +21,6 @@
#include <StepRepr_RepresentationItem.hxx>
class StepFEA_FeaRepresentationItem;
DEFINE_STANDARD_HANDLE(StepFEA_FeaRepresentationItem, StepRepr_RepresentationItem)
@@ -30,32 +29,13 @@ class StepFEA_FeaRepresentationItem : public StepRepr_RepresentationItem
{
public:
//! Empty constructor
Standard_EXPORT StepFEA_FeaRepresentationItem();
DEFINE_STANDARD_RTTIEXT(StepFEA_FeaRepresentationItem,StepRepr_RepresentationItem)
DEFINE_STANDARD_RTTIEXT(StepFEA_FeaRepresentationItem, StepRepr_RepresentationItem)
protected:
private:
};
#endif // _StepFEA_FeaRepresentationItem_HeaderFile

View File

@@ -19,24 +19,22 @@
#include <StepFEA_SymmetricTensor23d.hxx>
#include <TCollection_HAsciiString.hxx>
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaSecantCoefficientOfLinearThermalExpansion,StepFEA_FeaMaterialPropertyRepresentationItem)
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaSecantCoefficientOfLinearThermalExpansion,
StepFEA_FeaMaterialPropertyRepresentationItem)
//=======================================================================
//function : StepFEA_FeaSecantCoefficientOfLinearThermalExpansion
//purpose :
//=======================================================================
StepFEA_FeaSecantCoefficientOfLinearThermalExpansion::StepFEA_FeaSecantCoefficientOfLinearThermalExpansion ()
//=================================================================================================
StepFEA_FeaSecantCoefficientOfLinearThermalExpansion::
StepFEA_FeaSecantCoefficientOfLinearThermalExpansion()
{
}
//=======================================================================
//function : Init
//purpose :
//=======================================================================
//=================================================================================================
void StepFEA_FeaSecantCoefficientOfLinearThermalExpansion::Init (const Handle(TCollection_HAsciiString) &aRepresentationItem_Name,
const StepFEA_SymmetricTensor23d &aFeaConstants,
const Standard_Real aReferenceTemperature)
void StepFEA_FeaSecantCoefficientOfLinearThermalExpansion::Init(
const Handle(TCollection_HAsciiString)& aRepresentationItem_Name,
const StepFEA_SymmetricTensor23d& aFeaConstants,
const Standard_Real aReferenceTemperature)
{
StepFEA_FeaMaterialPropertyRepresentationItem::Init(aRepresentationItem_Name);
@@ -45,42 +43,33 @@ void StepFEA_FeaSecantCoefficientOfLinearThermalExpansion::Init (const Handle(TC
theReferenceTemperature = aReferenceTemperature;
}
//=======================================================================
//function : FeaConstants
//purpose :
//=======================================================================
//=================================================================================================
StepFEA_SymmetricTensor23d StepFEA_FeaSecantCoefficientOfLinearThermalExpansion::FeaConstants () const
StepFEA_SymmetricTensor23d StepFEA_FeaSecantCoefficientOfLinearThermalExpansion::FeaConstants()
const
{
return theFeaConstants;
}
//=======================================================================
//function : SetFeaConstants
//purpose :
//=======================================================================
//=================================================================================================
void StepFEA_FeaSecantCoefficientOfLinearThermalExpansion::SetFeaConstants (const StepFEA_SymmetricTensor23d &aFeaConstants)
void StepFEA_FeaSecantCoefficientOfLinearThermalExpansion::SetFeaConstants(
const StepFEA_SymmetricTensor23d& aFeaConstants)
{
theFeaConstants = aFeaConstants;
}
//=======================================================================
//function : ReferenceTemperature
//purpose :
//=======================================================================
//=================================================================================================
Standard_Real StepFEA_FeaSecantCoefficientOfLinearThermalExpansion::ReferenceTemperature () const
Standard_Real StepFEA_FeaSecantCoefficientOfLinearThermalExpansion::ReferenceTemperature() const
{
return theReferenceTemperature;
}
//=======================================================================
//function : SetReferenceTemperature
//purpose :
//=======================================================================
//=================================================================================================
void StepFEA_FeaSecantCoefficientOfLinearThermalExpansion::SetReferenceTemperature (const Standard_Real aReferenceTemperature)
void StepFEA_FeaSecantCoefficientOfLinearThermalExpansion::SetReferenceTemperature(
const Standard_Real aReferenceTemperature)
{
theReferenceTemperature = aReferenceTemperature;
}

View File

@@ -23,58 +23,43 @@
#include <StepFEA_FeaMaterialPropertyRepresentationItem.hxx>
class TCollection_HAsciiString;
class StepFEA_FeaSecantCoefficientOfLinearThermalExpansion;
DEFINE_STANDARD_HANDLE(StepFEA_FeaSecantCoefficientOfLinearThermalExpansion, StepFEA_FeaMaterialPropertyRepresentationItem)
DEFINE_STANDARD_HANDLE(StepFEA_FeaSecantCoefficientOfLinearThermalExpansion,
StepFEA_FeaMaterialPropertyRepresentationItem)
//! Representation of STEP entity FeaSecantCoefficientOfLinearThermalExpansion
class StepFEA_FeaSecantCoefficientOfLinearThermalExpansion : public StepFEA_FeaMaterialPropertyRepresentationItem
class StepFEA_FeaSecantCoefficientOfLinearThermalExpansion
: public StepFEA_FeaMaterialPropertyRepresentationItem
{
public:
//! Empty constructor
Standard_EXPORT StepFEA_FeaSecantCoefficientOfLinearThermalExpansion();
//! Initialize all fields (own and inherited)
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aRepresentationItem_Name, const StepFEA_SymmetricTensor23d& aFeaConstants, const Standard_Real aReferenceTemperature);
Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& aRepresentationItem_Name,
const StepFEA_SymmetricTensor23d& aFeaConstants,
const Standard_Real aReferenceTemperature);
//! Returns field FeaConstants
Standard_EXPORT StepFEA_SymmetricTensor23d FeaConstants() const;
//! Set field FeaConstants
Standard_EXPORT void SetFeaConstants (const StepFEA_SymmetricTensor23d& FeaConstants);
Standard_EXPORT void SetFeaConstants(const StepFEA_SymmetricTensor23d& FeaConstants);
//! Returns field ReferenceTemperature
Standard_EXPORT Standard_Real ReferenceTemperature() const;
//! Set field ReferenceTemperature
Standard_EXPORT void SetReferenceTemperature (const Standard_Real ReferenceTemperature);
Standard_EXPORT void SetReferenceTemperature(const Standard_Real ReferenceTemperature);
DEFINE_STANDARD_RTTIEXT(StepFEA_FeaSecantCoefficientOfLinearThermalExpansion,StepFEA_FeaMaterialPropertyRepresentationItem)
DEFINE_STANDARD_RTTIEXT(StepFEA_FeaSecantCoefficientOfLinearThermalExpansion,
StepFEA_FeaMaterialPropertyRepresentationItem)
protected:
private:
StepFEA_SymmetricTensor23d theFeaConstants;
Standard_Real theReferenceTemperature;
Standard_Real theReferenceTemperature;
};
#endif // _StepFEA_FeaSecantCoefficientOfLinearThermalExpansion_HeaderFile

View File

@@ -19,45 +19,35 @@
#include <StepFEA_SymmetricTensor42d.hxx>
#include <TCollection_HAsciiString.hxx>
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaShellBendingStiffness,StepFEA_FeaMaterialPropertyRepresentationItem)
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaShellBendingStiffness,
StepFEA_FeaMaterialPropertyRepresentationItem)
//=======================================================================
//function : StepFEA_FeaShellBendingStiffness
//purpose :
//=======================================================================
StepFEA_FeaShellBendingStiffness::StepFEA_FeaShellBendingStiffness ()
{
}
//=================================================================================================
//=======================================================================
//function : Init
//purpose :
//=======================================================================
StepFEA_FeaShellBendingStiffness::StepFEA_FeaShellBendingStiffness() {}
void StepFEA_FeaShellBendingStiffness::Init (const Handle(TCollection_HAsciiString) &aRepresentationItem_Name,
const StepFEA_SymmetricTensor42d &aFeaConstants)
//=================================================================================================
void StepFEA_FeaShellBendingStiffness::Init(
const Handle(TCollection_HAsciiString)& aRepresentationItem_Name,
const StepFEA_SymmetricTensor42d& aFeaConstants)
{
StepFEA_FeaMaterialPropertyRepresentationItem::Init(aRepresentationItem_Name);
theFeaConstants = aFeaConstants;
}
//=======================================================================
//function : FeaConstants
//purpose :
//=======================================================================
//=================================================================================================
StepFEA_SymmetricTensor42d StepFEA_FeaShellBendingStiffness::FeaConstants () const
StepFEA_SymmetricTensor42d StepFEA_FeaShellBendingStiffness::FeaConstants() const
{
return theFeaConstants;
}
//=======================================================================
//function : SetFeaConstants
//purpose :
//=======================================================================
//=================================================================================================
void StepFEA_FeaShellBendingStiffness::SetFeaConstants (const StepFEA_SymmetricTensor42d &aFeaConstants)
void StepFEA_FeaShellBendingStiffness::SetFeaConstants(
const StepFEA_SymmetricTensor42d& aFeaConstants)
{
theFeaConstants = aFeaConstants;
}

View File

@@ -22,51 +22,34 @@
#include <StepFEA_FeaMaterialPropertyRepresentationItem.hxx>
class TCollection_HAsciiString;
class StepFEA_FeaShellBendingStiffness;
DEFINE_STANDARD_HANDLE(StepFEA_FeaShellBendingStiffness, StepFEA_FeaMaterialPropertyRepresentationItem)
DEFINE_STANDARD_HANDLE(StepFEA_FeaShellBendingStiffness,
StepFEA_FeaMaterialPropertyRepresentationItem)
//! Representation of STEP entity FeaShellBendingStiffness
class StepFEA_FeaShellBendingStiffness : public StepFEA_FeaMaterialPropertyRepresentationItem
{
public:
//! Empty constructor
Standard_EXPORT StepFEA_FeaShellBendingStiffness();
//! Initialize all fields (own and inherited)
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aRepresentationItem_Name, const StepFEA_SymmetricTensor42d& aFeaConstants);
Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& aRepresentationItem_Name,
const StepFEA_SymmetricTensor42d& aFeaConstants);
//! Returns field FeaConstants
Standard_EXPORT StepFEA_SymmetricTensor42d FeaConstants() const;
//! Set field FeaConstants
Standard_EXPORT void SetFeaConstants (const StepFEA_SymmetricTensor42d& FeaConstants);
Standard_EXPORT void SetFeaConstants(const StepFEA_SymmetricTensor42d& FeaConstants);
DEFINE_STANDARD_RTTIEXT(StepFEA_FeaShellBendingStiffness,StepFEA_FeaMaterialPropertyRepresentationItem)
DEFINE_STANDARD_RTTIEXT(StepFEA_FeaShellBendingStiffness,
StepFEA_FeaMaterialPropertyRepresentationItem)
protected:
private:
StepFEA_SymmetricTensor42d theFeaConstants;
};
#endif // _StepFEA_FeaShellBendingStiffness_HeaderFile

View File

@@ -19,45 +19,37 @@
#include <StepFEA_SymmetricTensor42d.hxx>
#include <TCollection_HAsciiString.hxx>
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaShellMembraneBendingCouplingStiffness,StepFEA_FeaMaterialPropertyRepresentationItem)
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaShellMembraneBendingCouplingStiffness,
StepFEA_FeaMaterialPropertyRepresentationItem)
//=======================================================================
//function : StepFEA_FeaShellMembraneBendingCouplingStiffness
//purpose :
//=======================================================================
StepFEA_FeaShellMembraneBendingCouplingStiffness::StepFEA_FeaShellMembraneBendingCouplingStiffness ()
//=================================================================================================
StepFEA_FeaShellMembraneBendingCouplingStiffness::StepFEA_FeaShellMembraneBendingCouplingStiffness()
{
}
//=======================================================================
//function : Init
//purpose :
//=======================================================================
//=================================================================================================
void StepFEA_FeaShellMembraneBendingCouplingStiffness::Init (const Handle(TCollection_HAsciiString) &aRepresentationItem_Name,
const StepFEA_SymmetricTensor42d &aFeaConstants)
void StepFEA_FeaShellMembraneBendingCouplingStiffness::Init(
const Handle(TCollection_HAsciiString)& aRepresentationItem_Name,
const StepFEA_SymmetricTensor42d& aFeaConstants)
{
StepFEA_FeaMaterialPropertyRepresentationItem::Init(aRepresentationItem_Name);
theFeaConstants = aFeaConstants;
}
//=======================================================================
//function : FeaConstants
//purpose :
//=======================================================================
//=================================================================================================
StepFEA_SymmetricTensor42d StepFEA_FeaShellMembraneBendingCouplingStiffness::FeaConstants () const
StepFEA_SymmetricTensor42d StepFEA_FeaShellMembraneBendingCouplingStiffness::FeaConstants() const
{
return theFeaConstants;
}
//=======================================================================
//function : SetFeaConstants
//purpose :
//=======================================================================
//=================================================================================================
void StepFEA_FeaShellMembraneBendingCouplingStiffness::SetFeaConstants (const StepFEA_SymmetricTensor42d &aFeaConstants)
void StepFEA_FeaShellMembraneBendingCouplingStiffness::SetFeaConstants(
const StepFEA_SymmetricTensor42d& aFeaConstants)
{
theFeaConstants = aFeaConstants;
}

View File

@@ -22,51 +22,35 @@
#include <StepFEA_FeaMaterialPropertyRepresentationItem.hxx>
class TCollection_HAsciiString;
class StepFEA_FeaShellMembraneBendingCouplingStiffness;
DEFINE_STANDARD_HANDLE(StepFEA_FeaShellMembraneBendingCouplingStiffness, StepFEA_FeaMaterialPropertyRepresentationItem)
DEFINE_STANDARD_HANDLE(StepFEA_FeaShellMembraneBendingCouplingStiffness,
StepFEA_FeaMaterialPropertyRepresentationItem)
//! Representation of STEP entity FeaShellMembraneBendingCouplingStiffness
class StepFEA_FeaShellMembraneBendingCouplingStiffness : public StepFEA_FeaMaterialPropertyRepresentationItem
class StepFEA_FeaShellMembraneBendingCouplingStiffness
: public StepFEA_FeaMaterialPropertyRepresentationItem
{
public:
//! Empty constructor
Standard_EXPORT StepFEA_FeaShellMembraneBendingCouplingStiffness();
//! Initialize all fields (own and inherited)
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aRepresentationItem_Name, const StepFEA_SymmetricTensor42d& aFeaConstants);
Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& aRepresentationItem_Name,
const StepFEA_SymmetricTensor42d& aFeaConstants);
//! Returns field FeaConstants
Standard_EXPORT StepFEA_SymmetricTensor42d FeaConstants() const;
//! Set field FeaConstants
Standard_EXPORT void SetFeaConstants (const StepFEA_SymmetricTensor42d& FeaConstants);
Standard_EXPORT void SetFeaConstants(const StepFEA_SymmetricTensor42d& FeaConstants);
DEFINE_STANDARD_RTTIEXT(StepFEA_FeaShellMembraneBendingCouplingStiffness,StepFEA_FeaMaterialPropertyRepresentationItem)
DEFINE_STANDARD_RTTIEXT(StepFEA_FeaShellMembraneBendingCouplingStiffness,
StepFEA_FeaMaterialPropertyRepresentationItem)
protected:
private:
StepFEA_SymmetricTensor42d theFeaConstants;
};
#endif // _StepFEA_FeaShellMembraneBendingCouplingStiffness_HeaderFile

View File

@@ -19,45 +19,35 @@
#include <StepFEA_SymmetricTensor42d.hxx>
#include <TCollection_HAsciiString.hxx>
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaShellMembraneStiffness,StepFEA_FeaMaterialPropertyRepresentationItem)
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaShellMembraneStiffness,
StepFEA_FeaMaterialPropertyRepresentationItem)
//=======================================================================
//function : StepFEA_FeaShellMembraneStiffness
//purpose :
//=======================================================================
StepFEA_FeaShellMembraneStiffness::StepFEA_FeaShellMembraneStiffness ()
{
}
//=================================================================================================
//=======================================================================
//function : Init
//purpose :
//=======================================================================
StepFEA_FeaShellMembraneStiffness::StepFEA_FeaShellMembraneStiffness() {}
void StepFEA_FeaShellMembraneStiffness::Init (const Handle(TCollection_HAsciiString) &aRepresentationItem_Name,
const StepFEA_SymmetricTensor42d &aFeaConstants)
//=================================================================================================
void StepFEA_FeaShellMembraneStiffness::Init(
const Handle(TCollection_HAsciiString)& aRepresentationItem_Name,
const StepFEA_SymmetricTensor42d& aFeaConstants)
{
StepFEA_FeaMaterialPropertyRepresentationItem::Init(aRepresentationItem_Name);
theFeaConstants = aFeaConstants;
}
//=======================================================================
//function : FeaConstants
//purpose :
//=======================================================================
//=================================================================================================
StepFEA_SymmetricTensor42d StepFEA_FeaShellMembraneStiffness::FeaConstants () const
StepFEA_SymmetricTensor42d StepFEA_FeaShellMembraneStiffness::FeaConstants() const
{
return theFeaConstants;
}
//=======================================================================
//function : SetFeaConstants
//purpose :
//=======================================================================
//=================================================================================================
void StepFEA_FeaShellMembraneStiffness::SetFeaConstants (const StepFEA_SymmetricTensor42d &aFeaConstants)
void StepFEA_FeaShellMembraneStiffness::SetFeaConstants(
const StepFEA_SymmetricTensor42d& aFeaConstants)
{
theFeaConstants = aFeaConstants;
}

View File

@@ -22,51 +22,34 @@
#include <StepFEA_FeaMaterialPropertyRepresentationItem.hxx>
class TCollection_HAsciiString;
class StepFEA_FeaShellMembraneStiffness;
DEFINE_STANDARD_HANDLE(StepFEA_FeaShellMembraneStiffness, StepFEA_FeaMaterialPropertyRepresentationItem)
DEFINE_STANDARD_HANDLE(StepFEA_FeaShellMembraneStiffness,
StepFEA_FeaMaterialPropertyRepresentationItem)
//! Representation of STEP entity FeaShellMembraneStiffness
class StepFEA_FeaShellMembraneStiffness : public StepFEA_FeaMaterialPropertyRepresentationItem
{
public:
//! Empty constructor
Standard_EXPORT StepFEA_FeaShellMembraneStiffness();
//! Initialize all fields (own and inherited)
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aRepresentationItem_Name, const StepFEA_SymmetricTensor42d& aFeaConstants);
Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& aRepresentationItem_Name,
const StepFEA_SymmetricTensor42d& aFeaConstants);
//! Returns field FeaConstants
Standard_EXPORT StepFEA_SymmetricTensor42d FeaConstants() const;
//! Set field FeaConstants
Standard_EXPORT void SetFeaConstants (const StepFEA_SymmetricTensor42d& FeaConstants);
Standard_EXPORT void SetFeaConstants(const StepFEA_SymmetricTensor42d& FeaConstants);
DEFINE_STANDARD_RTTIEXT(StepFEA_FeaShellMembraneStiffness,StepFEA_FeaMaterialPropertyRepresentationItem)
DEFINE_STANDARD_RTTIEXT(StepFEA_FeaShellMembraneStiffness,
StepFEA_FeaMaterialPropertyRepresentationItem)
protected:
private:
StepFEA_SymmetricTensor42d theFeaConstants;
};
#endif // _StepFEA_FeaShellMembraneStiffness_HeaderFile

View File

@@ -19,45 +19,35 @@
#include <StepFEA_SymmetricTensor22d.hxx>
#include <TCollection_HAsciiString.hxx>
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaShellShearStiffness,StepFEA_FeaMaterialPropertyRepresentationItem)
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaShellShearStiffness,
StepFEA_FeaMaterialPropertyRepresentationItem)
//=======================================================================
//function : StepFEA_FeaShellShearStiffness
//purpose :
//=======================================================================
StepFEA_FeaShellShearStiffness::StepFEA_FeaShellShearStiffness ()
{
}
//=================================================================================================
//=======================================================================
//function : Init
//purpose :
//=======================================================================
StepFEA_FeaShellShearStiffness::StepFEA_FeaShellShearStiffness() {}
void StepFEA_FeaShellShearStiffness::Init (const Handle(TCollection_HAsciiString) &aRepresentationItem_Name,
const StepFEA_SymmetricTensor22d &aFeaConstants)
//=================================================================================================
void StepFEA_FeaShellShearStiffness::Init(
const Handle(TCollection_HAsciiString)& aRepresentationItem_Name,
const StepFEA_SymmetricTensor22d& aFeaConstants)
{
StepFEA_FeaMaterialPropertyRepresentationItem::Init(aRepresentationItem_Name);
theFeaConstants = aFeaConstants;
}
//=======================================================================
//function : FeaConstants
//purpose :
//=======================================================================
//=================================================================================================
StepFEA_SymmetricTensor22d StepFEA_FeaShellShearStiffness::FeaConstants () const
StepFEA_SymmetricTensor22d StepFEA_FeaShellShearStiffness::FeaConstants() const
{
return theFeaConstants;
}
//=======================================================================
//function : SetFeaConstants
//purpose :
//=======================================================================
//=================================================================================================
void StepFEA_FeaShellShearStiffness::SetFeaConstants (const StepFEA_SymmetricTensor22d &aFeaConstants)
void StepFEA_FeaShellShearStiffness::SetFeaConstants(
const StepFEA_SymmetricTensor22d& aFeaConstants)
{
theFeaConstants = aFeaConstants;
}

View File

@@ -22,51 +22,34 @@
#include <StepFEA_FeaMaterialPropertyRepresentationItem.hxx>
class TCollection_HAsciiString;
class StepFEA_FeaShellShearStiffness;
DEFINE_STANDARD_HANDLE(StepFEA_FeaShellShearStiffness, StepFEA_FeaMaterialPropertyRepresentationItem)
DEFINE_STANDARD_HANDLE(StepFEA_FeaShellShearStiffness,
StepFEA_FeaMaterialPropertyRepresentationItem)
//! Representation of STEP entity FeaShellShearStiffness
class StepFEA_FeaShellShearStiffness : public StepFEA_FeaMaterialPropertyRepresentationItem
{
public:
//! Empty constructor
Standard_EXPORT StepFEA_FeaShellShearStiffness();
//! Initialize all fields (own and inherited)
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aRepresentationItem_Name, const StepFEA_SymmetricTensor22d& aFeaConstants);
Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& aRepresentationItem_Name,
const StepFEA_SymmetricTensor22d& aFeaConstants);
//! Returns field FeaConstants
Standard_EXPORT StepFEA_SymmetricTensor22d FeaConstants() const;
//! Set field FeaConstants
Standard_EXPORT void SetFeaConstants (const StepFEA_SymmetricTensor22d& FeaConstants);
Standard_EXPORT void SetFeaConstants(const StepFEA_SymmetricTensor22d& FeaConstants);
DEFINE_STANDARD_RTTIEXT(StepFEA_FeaShellShearStiffness,StepFEA_FeaMaterialPropertyRepresentationItem)
DEFINE_STANDARD_RTTIEXT(StepFEA_FeaShellShearStiffness,
StepFEA_FeaMaterialPropertyRepresentationItem)
protected:
private:
StepFEA_SymmetricTensor22d theFeaConstants;
};
#endif // _StepFEA_FeaShellShearStiffness_HeaderFile

View File

@@ -19,23 +19,17 @@
#include <StepElement_SurfaceSection.hxx>
#include <StepFEA_FeaSurfaceSectionGeometricRelationship.hxx>
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaSurfaceSectionGeometricRelationship,Standard_Transient)
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaSurfaceSectionGeometricRelationship, Standard_Transient)
//=======================================================================
//function : StepFEA_FeaSurfaceSectionGeometricRelationship
//purpose :
//=======================================================================
StepFEA_FeaSurfaceSectionGeometricRelationship::StepFEA_FeaSurfaceSectionGeometricRelationship ()
{
}
//=================================================================================================
//=======================================================================
//function : Init
//purpose :
//=======================================================================
StepFEA_FeaSurfaceSectionGeometricRelationship::StepFEA_FeaSurfaceSectionGeometricRelationship() {}
void StepFEA_FeaSurfaceSectionGeometricRelationship::Init (const Handle(StepElement_SurfaceSection) &aSectionRef,
const Handle(StepElement_AnalysisItemWithinRepresentation) &aItem)
//=================================================================================================
void StepFEA_FeaSurfaceSectionGeometricRelationship::Init(
const Handle(StepElement_SurfaceSection)& aSectionRef,
const Handle(StepElement_AnalysisItemWithinRepresentation)& aItem)
{
theSectionRef = aSectionRef;
@@ -43,42 +37,34 @@ void StepFEA_FeaSurfaceSectionGeometricRelationship::Init (const Handle(StepElem
theItem = aItem;
}
//=======================================================================
//function : SectionRef
//purpose :
//=======================================================================
//=================================================================================================
Handle(StepElement_SurfaceSection) StepFEA_FeaSurfaceSectionGeometricRelationship::SectionRef () const
Handle(StepElement_SurfaceSection) StepFEA_FeaSurfaceSectionGeometricRelationship::SectionRef()
const
{
return theSectionRef;
}
//=======================================================================
//function : SetSectionRef
//purpose :
//=======================================================================
//=================================================================================================
void StepFEA_FeaSurfaceSectionGeometricRelationship::SetSectionRef (const Handle(StepElement_SurfaceSection) &aSectionRef)
void StepFEA_FeaSurfaceSectionGeometricRelationship::SetSectionRef(
const Handle(StepElement_SurfaceSection)& aSectionRef)
{
theSectionRef = aSectionRef;
}
//=======================================================================
//function : Item
//purpose :
//=======================================================================
//=================================================================================================
Handle(StepElement_AnalysisItemWithinRepresentation) StepFEA_FeaSurfaceSectionGeometricRelationship::Item () const
Handle(StepElement_AnalysisItemWithinRepresentation)
StepFEA_FeaSurfaceSectionGeometricRelationship::Item() const
{
return theItem;
}
//=======================================================================
//function : SetItem
//purpose :
//=======================================================================
//=================================================================================================
void StepFEA_FeaSurfaceSectionGeometricRelationship::SetItem (const Handle(StepElement_AnalysisItemWithinRepresentation) &aItem)
void StepFEA_FeaSurfaceSectionGeometricRelationship::SetItem(
const Handle(StepElement_AnalysisItemWithinRepresentation)& aItem)
{
theItem = aItem;
}

View File

@@ -23,7 +23,6 @@
class StepElement_SurfaceSection;
class StepElement_AnalysisItemWithinRepresentation;
class StepFEA_FeaSurfaceSectionGeometricRelationship;
DEFINE_STANDARD_HANDLE(StepFEA_FeaSurfaceSectionGeometricRelationship, Standard_Transient)
@@ -32,49 +31,31 @@ class StepFEA_FeaSurfaceSectionGeometricRelationship : public Standard_Transient
{
public:
//! Empty constructor
Standard_EXPORT StepFEA_FeaSurfaceSectionGeometricRelationship();
//! Initialize all fields (own and inherited)
Standard_EXPORT void Init (const Handle(StepElement_SurfaceSection)& aSectionRef, const Handle(StepElement_AnalysisItemWithinRepresentation)& aItem);
Standard_EXPORT void Init(const Handle(StepElement_SurfaceSection)& aSectionRef,
const Handle(StepElement_AnalysisItemWithinRepresentation)& aItem);
//! Returns field SectionRef
Standard_EXPORT Handle(StepElement_SurfaceSection) SectionRef() const;
//! Set field SectionRef
Standard_EXPORT void SetSectionRef (const Handle(StepElement_SurfaceSection)& SectionRef);
Standard_EXPORT void SetSectionRef(const Handle(StepElement_SurfaceSection)& SectionRef);
//! Returns field Item
Standard_EXPORT Handle(StepElement_AnalysisItemWithinRepresentation) Item() const;
//! Set field Item
Standard_EXPORT void SetItem (const Handle(StepElement_AnalysisItemWithinRepresentation)& Item);
Standard_EXPORT void SetItem(const Handle(StepElement_AnalysisItemWithinRepresentation)& Item);
DEFINE_STANDARD_RTTIEXT(StepFEA_FeaSurfaceSectionGeometricRelationship,Standard_Transient)
DEFINE_STANDARD_RTTIEXT(StepFEA_FeaSurfaceSectionGeometricRelationship, Standard_Transient)
protected:
private:
Handle(StepElement_SurfaceSection) theSectionRef;
Handle(StepElement_SurfaceSection) theSectionRef;
Handle(StepElement_AnalysisItemWithinRepresentation) theItem;
};
#endif // _StepFEA_FeaSurfaceSectionGeometricRelationship_HeaderFile

View File

@@ -19,45 +19,39 @@
#include <StepFEA_SymmetricTensor23d.hxx>
#include <TCollection_HAsciiString.hxx>
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaTangentialCoefficientOfLinearThermalExpansion,StepFEA_FeaMaterialPropertyRepresentationItem)
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FeaTangentialCoefficientOfLinearThermalExpansion,
StepFEA_FeaMaterialPropertyRepresentationItem)
//=======================================================================
//function : StepFEA_FeaTangentialCoefficientOfLinearThermalExpansion
//purpose :
//=======================================================================
StepFEA_FeaTangentialCoefficientOfLinearThermalExpansion::StepFEA_FeaTangentialCoefficientOfLinearThermalExpansion ()
//=================================================================================================
StepFEA_FeaTangentialCoefficientOfLinearThermalExpansion::
StepFEA_FeaTangentialCoefficientOfLinearThermalExpansion()
{
}
//=======================================================================
//function : Init
//purpose :
//=======================================================================
//=================================================================================================
void StepFEA_FeaTangentialCoefficientOfLinearThermalExpansion::Init (const Handle(TCollection_HAsciiString) &aRepresentationItem_Name,
const StepFEA_SymmetricTensor23d &aFeaConstants)
void StepFEA_FeaTangentialCoefficientOfLinearThermalExpansion::Init(
const Handle(TCollection_HAsciiString)& aRepresentationItem_Name,
const StepFEA_SymmetricTensor23d& aFeaConstants)
{
StepFEA_FeaMaterialPropertyRepresentationItem::Init(aRepresentationItem_Name);
theFeaConstants = aFeaConstants;
}
//=======================================================================
//function : FeaConstants
//purpose :
//=======================================================================
//=================================================================================================
StepFEA_SymmetricTensor23d StepFEA_FeaTangentialCoefficientOfLinearThermalExpansion::FeaConstants () const
StepFEA_SymmetricTensor23d StepFEA_FeaTangentialCoefficientOfLinearThermalExpansion::FeaConstants()
const
{
return theFeaConstants;
}
//=======================================================================
//function : SetFeaConstants
//purpose :
//=======================================================================
//=================================================================================================
void StepFEA_FeaTangentialCoefficientOfLinearThermalExpansion::SetFeaConstants (const StepFEA_SymmetricTensor23d &aFeaConstants)
void StepFEA_FeaTangentialCoefficientOfLinearThermalExpansion::SetFeaConstants(
const StepFEA_SymmetricTensor23d& aFeaConstants)
{
theFeaConstants = aFeaConstants;
}

View File

@@ -22,51 +22,35 @@
#include <StepFEA_FeaMaterialPropertyRepresentationItem.hxx>
class TCollection_HAsciiString;
class StepFEA_FeaTangentialCoefficientOfLinearThermalExpansion;
DEFINE_STANDARD_HANDLE(StepFEA_FeaTangentialCoefficientOfLinearThermalExpansion, StepFEA_FeaMaterialPropertyRepresentationItem)
DEFINE_STANDARD_HANDLE(StepFEA_FeaTangentialCoefficientOfLinearThermalExpansion,
StepFEA_FeaMaterialPropertyRepresentationItem)
//! Representation of STEP entity FeaTangentialCoefficientOfLinearThermalExpansion
class StepFEA_FeaTangentialCoefficientOfLinearThermalExpansion : public StepFEA_FeaMaterialPropertyRepresentationItem
class StepFEA_FeaTangentialCoefficientOfLinearThermalExpansion
: public StepFEA_FeaMaterialPropertyRepresentationItem
{
public:
//! Empty constructor
Standard_EXPORT StepFEA_FeaTangentialCoefficientOfLinearThermalExpansion();
//! Initialize all fields (own and inherited)
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aRepresentationItem_Name, const StepFEA_SymmetricTensor23d& aFeaConstants);
Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& aRepresentationItem_Name,
const StepFEA_SymmetricTensor23d& aFeaConstants);
//! Returns field FeaConstants
Standard_EXPORT StepFEA_SymmetricTensor23d FeaConstants() const;
//! Set field FeaConstants
Standard_EXPORT void SetFeaConstants (const StepFEA_SymmetricTensor23d& FeaConstants);
Standard_EXPORT void SetFeaConstants(const StepFEA_SymmetricTensor23d& FeaConstants);
DEFINE_STANDARD_RTTIEXT(StepFEA_FeaTangentialCoefficientOfLinearThermalExpansion,StepFEA_FeaMaterialPropertyRepresentationItem)
DEFINE_STANDARD_RTTIEXT(StepFEA_FeaTangentialCoefficientOfLinearThermalExpansion,
StepFEA_FeaMaterialPropertyRepresentationItem)
protected:
private:
StepFEA_SymmetricTensor23d theFeaConstants;
};
#endif // _StepFEA_FeaTangentialCoefficientOfLinearThermalExpansion_HeaderFile

View File

@@ -17,23 +17,16 @@
#include <StepFEA_FreedomAndCoefficient.hxx>
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FreedomAndCoefficient,Standard_Transient)
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FreedomAndCoefficient, Standard_Transient)
//=======================================================================
//function : StepFEA_FreedomAndCoefficient
//purpose :
//=======================================================================
StepFEA_FreedomAndCoefficient::StepFEA_FreedomAndCoefficient ()
{
}
//=================================================================================================
//=======================================================================
//function : Init
//purpose :
//=======================================================================
StepFEA_FreedomAndCoefficient::StepFEA_FreedomAndCoefficient() {}
void StepFEA_FreedomAndCoefficient::Init (const StepFEA_DegreeOfFreedom &aFreedom,
const StepElement_MeasureOrUnspecifiedValue &aA)
//=================================================================================================
void StepFEA_FreedomAndCoefficient::Init(const StepFEA_DegreeOfFreedom& aFreedom,
const StepElement_MeasureOrUnspecifiedValue& aA)
{
theFreedom = aFreedom;
@@ -41,42 +34,30 @@ void StepFEA_FreedomAndCoefficient::Init (const StepFEA_DegreeOfFreedom &aFreedo
theA = aA;
}
//=======================================================================
//function : Freedom
//purpose :
//=======================================================================
//=================================================================================================
StepFEA_DegreeOfFreedom StepFEA_FreedomAndCoefficient::Freedom () const
StepFEA_DegreeOfFreedom StepFEA_FreedomAndCoefficient::Freedom() const
{
return theFreedom;
}
//=======================================================================
//function : SetFreedom
//purpose :
//=======================================================================
//=================================================================================================
void StepFEA_FreedomAndCoefficient::SetFreedom (const StepFEA_DegreeOfFreedom &aFreedom)
void StepFEA_FreedomAndCoefficient::SetFreedom(const StepFEA_DegreeOfFreedom& aFreedom)
{
theFreedom = aFreedom;
}
//=======================================================================
//function : A
//purpose :
//=======================================================================
//=================================================================================================
StepElement_MeasureOrUnspecifiedValue StepFEA_FreedomAndCoefficient::A () const
StepElement_MeasureOrUnspecifiedValue StepFEA_FreedomAndCoefficient::A() const
{
return theA;
}
//=======================================================================
//function : SetA
//purpose :
//=======================================================================
//=================================================================================================
void StepFEA_FreedomAndCoefficient::SetA (const StepElement_MeasureOrUnspecifiedValue &aA)
void StepFEA_FreedomAndCoefficient::SetA(const StepElement_MeasureOrUnspecifiedValue& aA)
{
theA = aA;
}

View File

@@ -22,7 +22,6 @@
#include <StepElement_MeasureOrUnspecifiedValue.hxx>
#include <Standard_Transient.hxx>
class StepFEA_FreedomAndCoefficient;
DEFINE_STANDARD_HANDLE(StepFEA_FreedomAndCoefficient, Standard_Transient)
@@ -31,49 +30,31 @@ class StepFEA_FreedomAndCoefficient : public Standard_Transient
{
public:
//! Empty constructor
Standard_EXPORT StepFEA_FreedomAndCoefficient();
//! Initialize all fields (own and inherited)
Standard_EXPORT void Init (const StepFEA_DegreeOfFreedom& aFreedom, const StepElement_MeasureOrUnspecifiedValue& aA);
Standard_EXPORT void Init(const StepFEA_DegreeOfFreedom& aFreedom,
const StepElement_MeasureOrUnspecifiedValue& aA);
//! Returns field Freedom
Standard_EXPORT StepFEA_DegreeOfFreedom Freedom() const;
//! Set field Freedom
Standard_EXPORT void SetFreedom (const StepFEA_DegreeOfFreedom& Freedom);
Standard_EXPORT void SetFreedom(const StepFEA_DegreeOfFreedom& Freedom);
//! Returns field A
Standard_EXPORT StepElement_MeasureOrUnspecifiedValue A() const;
//! Set field A
Standard_EXPORT void SetA (const StepElement_MeasureOrUnspecifiedValue& A);
Standard_EXPORT void SetA(const StepElement_MeasureOrUnspecifiedValue& A);
DEFINE_STANDARD_RTTIEXT(StepFEA_FreedomAndCoefficient,Standard_Transient)
DEFINE_STANDARD_RTTIEXT(StepFEA_FreedomAndCoefficient, Standard_Transient)
protected:
private:
StepFEA_DegreeOfFreedom theFreedom;
StepFEA_DegreeOfFreedom theFreedom;
StepElement_MeasureOrUnspecifiedValue theA;
};
#endif // _StepFEA_FreedomAndCoefficient_HeaderFile

View File

@@ -17,43 +17,30 @@
#include <StepFEA_FreedomsList.hxx>
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FreedomsList,Standard_Transient)
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_FreedomsList, Standard_Transient)
//=======================================================================
//function : StepFEA_FreedomsList
//purpose :
//=======================================================================
StepFEA_FreedomsList::StepFEA_FreedomsList ()
{
}
//=================================================================================================
//=======================================================================
//function : Init
//purpose :
//=======================================================================
StepFEA_FreedomsList::StepFEA_FreedomsList() {}
void StepFEA_FreedomsList::Init (const Handle(StepFEA_HArray1OfDegreeOfFreedom) &aFreedoms)
//=================================================================================================
void StepFEA_FreedomsList::Init(const Handle(StepFEA_HArray1OfDegreeOfFreedom)& aFreedoms)
{
theFreedoms = aFreedoms;
}
//=======================================================================
//function : Freedoms
//purpose :
//=======================================================================
//=================================================================================================
Handle(StepFEA_HArray1OfDegreeOfFreedom) StepFEA_FreedomsList::Freedoms () const
Handle(StepFEA_HArray1OfDegreeOfFreedom) StepFEA_FreedomsList::Freedoms() const
{
return theFreedoms;
}
//=======================================================================
//function : SetFreedoms
//purpose :
//=======================================================================
//=================================================================================================
void StepFEA_FreedomsList::SetFreedoms (const Handle(StepFEA_HArray1OfDegreeOfFreedom) &aFreedoms)
void StepFEA_FreedomsList::SetFreedoms(const Handle(StepFEA_HArray1OfDegreeOfFreedom)& aFreedoms)
{
theFreedoms = aFreedoms;
}

View File

@@ -21,7 +21,6 @@
#include <StepFEA_HArray1OfDegreeOfFreedom.hxx>
#include <Standard_Transient.hxx>
class StepFEA_FreedomsList;
DEFINE_STANDARD_HANDLE(StepFEA_FreedomsList, Standard_Transient)
@@ -30,42 +29,23 @@ class StepFEA_FreedomsList : public Standard_Transient
{
public:
//! Empty constructor
Standard_EXPORT StepFEA_FreedomsList();
//! Initialize all fields (own and inherited)
Standard_EXPORT void Init (const Handle(StepFEA_HArray1OfDegreeOfFreedom)& aFreedoms);
Standard_EXPORT void Init(const Handle(StepFEA_HArray1OfDegreeOfFreedom)& aFreedoms);
//! Returns field Freedoms
Standard_EXPORT Handle(StepFEA_HArray1OfDegreeOfFreedom) Freedoms() const;
//! Set field Freedoms
Standard_EXPORT void SetFreedoms (const Handle(StepFEA_HArray1OfDegreeOfFreedom)& Freedoms);
Standard_EXPORT void SetFreedoms(const Handle(StepFEA_HArray1OfDegreeOfFreedom)& Freedoms);
DEFINE_STANDARD_RTTIEXT(StepFEA_FreedomsList,Standard_Transient)
DEFINE_STANDARD_RTTIEXT(StepFEA_FreedomsList, Standard_Transient)
protected:
private:
Handle(StepFEA_HArray1OfDegreeOfFreedom) theFreedoms;
};
#endif // _StepFEA_FreedomsList_HeaderFile

View File

@@ -18,12 +18,8 @@
#include <Standard_Type.hxx>
#include <StepFEA_GeometricNode.hxx>
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_GeometricNode,StepFEA_NodeRepresentation)
IMPLEMENT_STANDARD_RTTIEXT(StepFEA_GeometricNode, StepFEA_NodeRepresentation)
//=======================================================================
//function : StepFEA_GeometricNode
//purpose :
//=======================================================================
StepFEA_GeometricNode::StepFEA_GeometricNode ()
{
}
//=================================================================================================
StepFEA_GeometricNode::StepFEA_GeometricNode() {}

View File

@@ -21,7 +21,6 @@
#include <StepFEA_NodeRepresentation.hxx>
class StepFEA_GeometricNode;
DEFINE_STANDARD_HANDLE(StepFEA_GeometricNode, StepFEA_NodeRepresentation)
@@ -30,32 +29,13 @@ class StepFEA_GeometricNode : public StepFEA_NodeRepresentation
{
public:
//! Empty constructor
Standard_EXPORT StepFEA_GeometricNode();
DEFINE_STANDARD_RTTIEXT(StepFEA_GeometricNode,StepFEA_NodeRepresentation)
DEFINE_STANDARD_RTTIEXT(StepFEA_GeometricNode, StepFEA_NodeRepresentation)
protected:
private:
};
#endif // _StepFEA_GeometricNode_HeaderFile

View File

@@ -19,5 +19,4 @@
DEFINE_HARRAY1(StepFEA_HArray1OfCurveElementEndOffset, StepFEA_Array1OfCurveElementEndOffset)
#endif

View File

@@ -19,5 +19,4 @@
DEFINE_HARRAY1(StepFEA_HArray1OfCurveElementEndRelease, StepFEA_Array1OfCurveElementEndRelease)
#endif

Some files were not shown because too many files have changed in this diff Show More