CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
OdIfc2x3::IfcGeneralProfileProperties Class Reference

#include <IfcGeneralProfilePropertiesAutoImpl.h>

Inheritance diagram for OdIfc2x3::IfcGeneralProfileProperties:
OdIfc2x3::IfcProfileProperties OdIfc2x3::OdIfc2x3Instance OdIfc::OdIfcInstance OdIfc2x3::IfcStructuralProfileProperties OdIfc2x3::IfcStructuralSteelProfileProperties

Public Member Functions

double getPhysicalWeight () const
 
void setPhysicalWeight (double PhysicalWeight)
 
double getPerimeter () const
 
void setPerimeter (double Perimeter)
 
double getMinimumPlateThickness () const
 
void setMinimumPlateThickness (double MinimumPlateThickness)
 
double getMaximumPlateThickness () const
 
void setMaximumPlateThickness (double MaximumPlateThickness)
 
double getCrossSectionArea () const
 
void setCrossSectionArea (double CrossSectionArea)
 
 IfcGeneralProfileProperties ()
 
virtual OdResult inFields (OdDAI::OdSpfFilerBase *rdFiler) override
 
virtual OdResult outFields (OdDAI::OdSpfFilerBase *wrFiler) override
 
virtual OdDAI::Entity * getInstanceType () const override
 
virtual OdRxValue getAttr (const char *attrName) const override
 
virtual bool comparedToEarlyImpl (const OdDAI::ApplicationInstance *pOther, OdRx::Ordering &ordering) const override
 
virtual void unsetAttr (const char *explicitAttrName) override
 
virtual bool testAttr (const char *explicitAttrName) const override
 
virtual bool putAttr (const char *explicitAttrName, const OdRxValue &val) override
 
virtual bool isKindOf (OdIfc::OdIfcEntityType entityType) const override
 
virtual OdIfc::OdIfcEntityType type () const override
 
virtual OdRxValue getAttr (const OdIfc::OdIfcAttribute attrDef) const override
 
virtual void unsetAttr (const OdIfc::OdIfcAttribute explicitAttrDef) override
 
virtual bool testAttr (const OdIfc::OdIfcAttribute explicitAttrDef) const override
 
virtual bool putAttr (const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val) override
 
- Public Member Functions inherited from OdIfc2x3::IfcProfileProperties
const OdAnsiString & getProfileName () const
 
void setProfileName (const OdAnsiString &ProfileName)
 
const OdDAIObjectId & getProfileDefinition () const
 
void setProfileDefinition (const OdDAIObjectId &ProfileDefinition)
 
 IfcProfileProperties ()
 
- Public Member Functions inherited from OdIfc2x3::OdIfc2x3Instance
void setInverseCounterParts () override
 
- Public Member Functions inherited from OdIfc::OdIfcInstance
 ODRX_DECLARE_MEMBERS (OdIfcInstance)
 
 OdIfcInstance ()
 
 ~OdIfcInstance ()
 
bool isInstanceOf (OdIfcEntityType entityType) const
 
IfcOpResult resolved ()
 
void resolve (IfcOpResult resolved, void *resPtr)
 
void unresolve ()
 
virtual void setGsNode (OdGsCache *pGsNode)
 
virtual OdGsCachegsNode () const
 
virtual OdUInt32 subSetAttributes (OdGiDrawableTraits *traits) const
 
virtual bool subWorldDraw (OdGiWorldDraw *wd) const
 
virtual OdDbStub * ownerId () const
 

Protected Attributes

double m_PhysicalWeight
 
IfcPositiveLengthMeasure m_Perimeter
 
IfcPositiveLengthMeasure m_MinimumPlateThickness
 
IfcPositiveLengthMeasure m_MaximumPlateThickness
 
double m_CrossSectionArea
 
- Protected Attributes inherited from OdIfc2x3::IfcProfileProperties
OdAnsiString m_ProfileName
 
OdDAIObjectId m_ProfileDefinition
 
- Protected Attributes inherited from OdIfc::OdIfcInstance
voidm_resPtr
 
IfcOpResult m_resolved
 

Additional Inherited Members

- Static Public Member Functions inherited from OdIfc::OdIfcInstance
static const OdGePoint3dasPoint3d (const OdIfcInstance *inst)
 
static const OdGePoint2dasPoint2d (const OdIfcInstance *inst)
 
static const OdGeVector3dasVector3d (const OdIfcInstance *inst)
 
static const OdGeVector2dasVector2d (const OdIfcInstance *inst)
 
static const OdGeMatrix2dasMatrix2d (const OdIfcInstance *inst)
 
static const OdGeMatrix3dasMatrix3d (const OdIfcInstance *inst)
 
static OdIfcCompoundPtr asCompound (OdSmartPtr< OdIfcInstance > inst)
 
static const OdCmEntityColorasRgbColor (const OdIfcInstance *inst)
 

Detailed Description

This is a collection of properties applicable to all linear structural members having a profile definition.

Definition at line 40 of file Ifc2x3/IfcGeneralProfilePropertiesAutoImpl.h.

Constructor & Destructor Documentation

◆ IfcGeneralProfileProperties()

OdIfc2x3::IfcGeneralProfileProperties::IfcGeneralProfileProperties ( )

Default constructor for the IfcGeneralProfileProperties class.

Member Function Documentation

◆ comparedToEarlyImpl()

virtual bool OdIfc2x3::IfcGeneralProfileProperties::comparedToEarlyImpl ( const OdDAI::ApplicationInstance * pOther,
OdRx::Ordering & ordering ) const
overridevirtual

Early-bound version of instances comparison.

Parameters
pOther[in] Other application instance.
ordering[out] Receives the ordering (comparison) status.
Returns
true if comparison was performed, false if method has no implementation, so late-bound version could be applied.
Remarks
If the method returns true, the ordering parameter can receive one of the following statuses:
Value Description kLessThan -1 This object < Other Object. kEqual 0 This object = Other Object. kGreaterThan 1 This object > Other Object. kNotOrderable 2 This class is not orderable.

Reimplemented from OdIfc2x3::IfcProfileProperties.

Reimplemented in OdIfc2x3::IfcStructuralProfileProperties, and OdIfc2x3::IfcStructuralSteelProfileProperties.

◆ getAttr() [1/2]

virtual OdRxValue OdIfc2x3::IfcGeneralProfileProperties::getAttr ( const char * attrName) const
overridevirtual

Returns an attribute value for the specified attribute name.

Parameters
attrName[in] Name of an attribute to query.
Returns
OdRxValue object that represents a generic variant type value.

Reimplemented from OdIfc2x3::IfcProfileProperties.

Reimplemented in OdIfc2x3::IfcStructuralProfileProperties, and OdIfc2x3::IfcStructuralSteelProfileProperties.

◆ getAttr() [2/2]

virtual OdRxValue OdIfc2x3::IfcGeneralProfileProperties::getAttr ( const OdIfc::OdIfcAttribute attrDef) const
overridevirtual

Returns an attribute value for the specified attribute definition.

Parameters
attrDef[in] Attribute definition to query.
Returns
OdRxValue object that represents a generic variant type value.

Reimplemented from OdIfc2x3::IfcProfileProperties.

Reimplemented in OdIfc2x3::IfcStructuralProfileProperties, and OdIfc2x3::IfcStructuralSteelProfileProperties.

◆ getCrossSectionArea()

double OdIfc2x3::IfcGeneralProfileProperties::getCrossSectionArea ( ) const

Returns the value of CrossSectionArea attribute. This attribute represents the cross-sectional area of profile. Usually measured in [mm2].

Returns
Returns the value of CrossSectionArea attribute.

◆ getInstanceType()

virtual OdDAI::Entity * OdIfc2x3::IfcGeneralProfileProperties::getInstanceType ( ) const
overridevirtual

Returns a type of a class instance.

Returns
Pointer to the <exref target=https://docs.opendesign.com/tkernel_api_cpp/OdDAI__Entity.html>>OdDAI::Entity</exref> type that determines an entity definition within a schema.

Reimplemented from OdIfc2x3::IfcProfileProperties.

Reimplemented in OdIfc2x3::IfcStructuralProfileProperties, and OdIfc2x3::IfcStructuralSteelProfileProperties.

◆ getMaximumPlateThickness()

double OdIfc2x3::IfcGeneralProfileProperties::getMaximumPlateThickness ( ) const

Returns the value of MaximumPlateThickness attribute. This attribute represents the value that is needed for stress analysis and for handling buckling problems. It can be derived from the given profile geometry and therefore it is only an optional feature allowing an explicit description. Usually measured in [mm].

Returns
Returns the value of MaximumPlateThickness attribute.

◆ getMinimumPlateThickness()

double OdIfc2x3::IfcGeneralProfileProperties::getMinimumPlateThickness ( ) const

Returns the value of MinimumPlateThickness attribute. This attribute represents a value that is needed for stress analysis and for handling buckling problems. It can be derived from the given profile geometry and therefore it is only an optional feature allowing an explicit description. Usually measured in [mm].

Returns
Returns the value of MinimumPlateThickness attribute.

◆ getPerimeter()

double OdIfc2x3::IfcGeneralProfileProperties::getPerimeter ( ) const

Returns the value of Perimeter attribute. This attribute represents the perimeter of the profile for calculating the surface area. Usually measured in [mm].

Returns
Returns the value of Perimeter attribute.

◆ getPhysicalWeight()

double OdIfc2x3::IfcGeneralProfileProperties::getPhysicalWeight ( ) const

Returns the value of PhysicalWeight attribute. This attribute represents the weight of an imaginary steel beam per length, as for example given by the national standards for this profile. Usually measured in [kg/m].

Returns
Returns the value of PhysicalWeight attribute.

◆ inFields()

virtual OdResult OdIfc2x3::IfcGeneralProfileProperties::inFields ( OdDAI::OdSpfFilerBase * rdFiler)
overridevirtual

Reads object's data from the specified filer.

Parameters
rdFiler[in] Pointer to a filer from which to read the data.
Returns
A value of OdResult type that contains the result of the method execution.

Reimplemented from OdIfc2x3::IfcProfileProperties.

Reimplemented in OdIfc2x3::IfcStructuralProfileProperties, and OdIfc2x3::IfcStructuralSteelProfileProperties.

◆ isKindOf()

virtual bool OdIfc2x3::IfcGeneralProfileProperties::isKindOf ( OdIfc::OdIfcEntityType entityType) const
overridevirtual

Checks whether the specified instance is the object derived from or belongs to this class.

Parameters
entityType[in] Entity to check.
Returns
true if the specified instance is the object derived from or belongs to this class, false otherwise.

Reimplemented from OdIfc2x3::IfcProfileProperties.

Reimplemented in OdIfc2x3::IfcStructuralProfileProperties, and OdIfc2x3::IfcStructuralSteelProfileProperties.

◆ outFields()

virtual OdResult OdIfc2x3::IfcGeneralProfileProperties::outFields ( OdDAI::OdSpfFilerBase * wrFiler)
overridevirtual

Writes object's data the the specified filer.

Parameters
wrFiler[in] Pointer to a filer to which to write the data.
Returns
A value of OdResult type that contains the result of the method execution.

Reimplemented from OdIfc2x3::IfcProfileProperties.

Reimplemented in OdIfc2x3::IfcStructuralProfileProperties, and OdIfc2x3::IfcStructuralSteelProfileProperties.

◆ putAttr() [1/2]

virtual bool OdIfc2x3::IfcGeneralProfileProperties::putAttr ( const char * explicitAttrName,
const OdRxValue & val )
overridevirtual

Sets the specified attribute with a given value.

Parameters
explicitAttrName[in] Explicit name of the attribute to set.
val[in] Value to set.
Returns
true if the value is successfully set for the specified attribute, false otherwise.

Reimplemented from OdIfc2x3::IfcProfileProperties.

Reimplemented in OdIfc2x3::IfcStructuralProfileProperties, and OdIfc2x3::IfcStructuralSteelProfileProperties.

◆ putAttr() [2/2]

virtual bool OdIfc2x3::IfcGeneralProfileProperties::putAttr ( const OdIfc::OdIfcAttribute explicitAttrDef,
const OdRxValue & val )
overridevirtual

Sets the specified attribute with a given value.

Parameters
explicitAttrDef[in] Explicit attribute definition to set.
val[in] Value to set.
Returns
true if the value is successfully set for the specified attribute, false otherwise.

Reimplemented from OdIfc2x3::IfcProfileProperties.

Reimplemented in OdIfc2x3::IfcStructuralProfileProperties, and OdIfc2x3::IfcStructuralSteelProfileProperties.

◆ setCrossSectionArea()

void OdIfc2x3::IfcGeneralProfileProperties::setCrossSectionArea ( double CrossSectionArea)

Sets the value of CrossSectionArea attribute. This attribute represents the cross-sectional area of profile. Usually measured in [mm2].

Parameters
CrossSectionArea[in] CrossSectionArea attribute to set.

◆ setMaximumPlateThickness()

void OdIfc2x3::IfcGeneralProfileProperties::setMaximumPlateThickness ( double MaximumPlateThickness)

Sets the value of MaximumPlateThickness attribute. This attribute represents the value that is needed for stress analysis and for handling buckling problems. It can be derived from the given profile geometry and therefore it is only an optional feature allowing an explicit description. Usually measured in [mm].

Parameters
MaximumPlateThickness[in] MaximumPlateThickness attribute to set.

◆ setMinimumPlateThickness()

void OdIfc2x3::IfcGeneralProfileProperties::setMinimumPlateThickness ( double MinimumPlateThickness)

Sets the value of MinimumPlateThickness attribute. This attribute represents a value that is needed for stress analysis and for handling buckling problems. It can be derived from the given profile geometry and therefore it is only an optional feature allowing an explicit description. Usually measured in [mm].

Parameters
MinimumPlateThickness[in] MinimumPlateThickness attribute to set.

◆ setPerimeter()

void OdIfc2x3::IfcGeneralProfileProperties::setPerimeter ( double Perimeter)

Sets the value of Perimeter attribute. This attribute represents the perimeter of the profile for calculating the surface area. Usually measured in [mm].

Parameters
Perimeter[in] Perimeter attribute to set.

◆ setPhysicalWeight()

void OdIfc2x3::IfcGeneralProfileProperties::setPhysicalWeight ( double PhysicalWeight)

Sets the value of PhysicalWeight attribute. This attribute represents the weight of an imaginary steel beam per length, as for example given by the national standards for this profile. Usually measured in [kg/m].

Parameters
PhysicalWeight[in] PhysicalWeight attribute to set.

◆ testAttr() [1/2]

virtual bool OdIfc2x3::IfcGeneralProfileProperties::testAttr ( const char * explicitAttrName) const
overridevirtual

Checks whether the specified attribute is set.

Parameters
explicitAttrName[in] Explicit name of the attribute to test.
Returns
true if the specified attribute is set, false otherwise.

Reimplemented from OdIfc2x3::IfcProfileProperties.

Reimplemented in OdIfc2x3::IfcStructuralProfileProperties, and OdIfc2x3::IfcStructuralSteelProfileProperties.

◆ testAttr() [2/2]

virtual bool OdIfc2x3::IfcGeneralProfileProperties::testAttr ( const OdIfc::OdIfcAttribute explicitAttrDef) const
overridevirtual

Checks whether the specified attribute is set.

Parameters
explicitAttrDef[in] Attribute definition to test.
Returns
true if the specified attribute is set, false otherwise.

Reimplemented from OdIfc2x3::IfcProfileProperties.

Reimplemented in OdIfc2x3::IfcStructuralProfileProperties, and OdIfc2x3::IfcStructuralSteelProfileProperties.

◆ type()

virtual OdIfc::OdIfcEntityType OdIfc2x3::IfcGeneralProfileProperties::type ( ) const
overridevirtual

Returns the type of this entity.

Returns
A value of the <exref target=https://docs.opendesign.com/tkernel_api_cpp/OdIfc__OdIfcEntityType.html>>OdIfc::OdIfcEntityType</exref> type that represents type of this entity.

Reimplemented from OdIfc2x3::IfcProfileProperties.

Reimplemented in OdIfc2x3::IfcStructuralProfileProperties, and OdIfc2x3::IfcStructuralSteelProfileProperties.

◆ unsetAttr() [1/2]

virtual void OdIfc2x3::IfcGeneralProfileProperties::unsetAttr ( const char * explicitAttrName)
overridevirtual

Resets a value for the specified attribute.

Parameters
explicitAttrName[in] Explicit name of the attribute to reset.

Reimplemented from OdIfc2x3::IfcProfileProperties.

Reimplemented in OdIfc2x3::IfcStructuralProfileProperties, and OdIfc2x3::IfcStructuralSteelProfileProperties.

◆ unsetAttr() [2/2]

virtual void OdIfc2x3::IfcGeneralProfileProperties::unsetAttr ( const OdIfc::OdIfcAttribute explicitAttrDef)
overridevirtual

Resets a value for the specified attribute.

Parameters
explicitAttrDef[in] Explicit definition that represents an attribute to reset.

Reimplemented from OdIfc2x3::IfcProfileProperties.

Reimplemented in OdIfc2x3::IfcStructuralProfileProperties, and OdIfc2x3::IfcStructuralSteelProfileProperties.

Member Data Documentation

◆ m_CrossSectionArea

double OdIfc2x3::IfcGeneralProfileProperties::m_CrossSectionArea
protected

◆ m_MaximumPlateThickness

IfcPositiveLengthMeasure OdIfc2x3::IfcGeneralProfileProperties::m_MaximumPlateThickness
protected

◆ m_MinimumPlateThickness

IfcPositiveLengthMeasure OdIfc2x3::IfcGeneralProfileProperties::m_MinimumPlateThickness
protected

◆ m_Perimeter

IfcPositiveLengthMeasure OdIfc2x3::IfcGeneralProfileProperties::m_Perimeter
protected

◆ m_PhysicalWeight

double OdIfc2x3::IfcGeneralProfileProperties::m_PhysicalWeight
protected

The documentation for this class was generated from the following file: