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

#include <IfcMechanicalMaterialPropertiesAutoImpl.h>

Inheritance diagram for OdIfc2x3::IfcMechanicalMaterialProperties:
OdIfc2x3::IfcMaterialProperties OdIfc2x3::OdIfc2x3Instance OdIfc::OdIfcInstance OdIfc2x3::IfcMechanicalConcreteMaterialProperties OdIfc2x3::IfcMechanicalSteelMaterialProperties

Public Member Functions

double getDynamicViscosity () const
 
void setDynamicViscosity (double DynamicViscosity)
 
double getYoungModulus () const
 
void setYoungModulus (double YoungModulus)
 
double getShearModulus () const
 
void setShearModulus (double ShearModulus)
 
double getPoissonRatio () const
 
void setPoissonRatio (double PoissonRatio)
 
double getThermalExpansionCoefficient () const
 
void setThermalExpansionCoefficient (double ThermalExpansionCoefficient)
 
 IfcMechanicalMaterialProperties ()
 
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::IfcMaterialProperties
const OdDAIObjectId & getMaterial () const
 
void setMaterial (const OdDAIObjectId &Material)
 
- 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_DynamicViscosity
 
double m_YoungModulus
 
double m_ShearModulus
 
IfcPositiveRatioMeasure m_PoissonRatio
 
double m_ThermalExpansionCoefficient
 
- Protected Attributes inherited from OdIfc2x3::IfcMaterialProperties
OdDAIObjectId m_Material
 
- 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 mechanical material properties normally used for structural analysis purpose. It contains all properties which are independent of the actual material type.

Definition at line 41 of file Ifc2x3/IfcMechanicalMaterialPropertiesAutoImpl.h.

Constructor & Destructor Documentation

◆ IfcMechanicalMaterialProperties()

OdIfc2x3::IfcMechanicalMaterialProperties::IfcMechanicalMaterialProperties ( )

Default constructor for the IfcMechanicalMaterialProperties class.

Member Function Documentation

◆ comparedToEarlyImpl()

virtual bool OdIfc2x3::IfcMechanicalMaterialProperties::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::IfcMaterialProperties.

Reimplemented in OdIfc2x3::IfcMechanicalConcreteMaterialProperties, and OdIfc2x3::IfcMechanicalSteelMaterialProperties.

◆ getAttr() [1/2]

virtual OdRxValue OdIfc2x3::IfcMechanicalMaterialProperties::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::IfcMaterialProperties.

Reimplemented in OdIfc2x3::IfcMechanicalConcreteMaterialProperties, and OdIfc2x3::IfcMechanicalSteelMaterialProperties.

◆ getAttr() [2/2]

virtual OdRxValue OdIfc2x3::IfcMechanicalMaterialProperties::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::IfcMaterialProperties.

Reimplemented in OdIfc2x3::IfcMechanicalConcreteMaterialProperties, and OdIfc2x3::IfcMechanicalSteelMaterialProperties.

◆ getDynamicViscosity()

double OdIfc2x3::IfcMechanicalMaterialProperties::getDynamicViscosity ( ) const

Returns the value of DynamicViscosity attribute. This attribute represents the measure of the viscous resistance of the material.

Returns
Returns the value of DynamicViscosity attribute.

◆ getInstanceType()

virtual OdDAI::Entity * OdIfc2x3::IfcMechanicalMaterialProperties::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::IfcMaterialProperties.

Reimplemented in OdIfc2x3::IfcMechanicalConcreteMaterialProperties, and OdIfc2x3::IfcMechanicalSteelMaterialProperties.

◆ getPoissonRatio()

double OdIfc2x3::IfcMechanicalMaterialProperties::getPoissonRatio ( ) const

Returns the value of PoissonRatio attribute. This attribute represents the measure of the lateral deformations in the elastic range.

Returns
Returns the value of PoissonRatio attribute.

◆ getShearModulus()

double OdIfc2x3::IfcMechanicalMaterialProperties::getShearModulus ( ) const

Returns the value of ShearModulus attribute. This attribute represents the measure of the shear modulus of elasticity of the material.

Returns
Returns the value of ShearModulus attribute.

◆ getThermalExpansionCoefficient()

double OdIfc2x3::IfcMechanicalMaterialProperties::getThermalExpansionCoefficient ( ) const

Returns the value of ThermalExpansionCoefficient attribute. This attribute represents the measure of the expansion coefficient for warming up the material about one Kelvin.

Returns
Returns the value of ThermalExpansionCoefficient attribute.

◆ getYoungModulus()

double OdIfc2x3::IfcMechanicalMaterialProperties::getYoungModulus ( ) const

Returns the value of YoungModulus attribute. This attribute represents the measure of the Young’s modulus of elasticity of the material.

Returns
Returns the value of YoungModulus attribute.

◆ inFields()

virtual OdResult OdIfc2x3::IfcMechanicalMaterialProperties::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::IfcMaterialProperties.

Reimplemented in OdIfc2x3::IfcMechanicalConcreteMaterialProperties, and OdIfc2x3::IfcMechanicalSteelMaterialProperties.

◆ isKindOf()

virtual bool OdIfc2x3::IfcMechanicalMaterialProperties::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::IfcMaterialProperties.

Reimplemented in OdIfc2x3::IfcMechanicalConcreteMaterialProperties, and OdIfc2x3::IfcMechanicalSteelMaterialProperties.

◆ outFields()

virtual OdResult OdIfc2x3::IfcMechanicalMaterialProperties::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::IfcMaterialProperties.

Reimplemented in OdIfc2x3::IfcMechanicalConcreteMaterialProperties, and OdIfc2x3::IfcMechanicalSteelMaterialProperties.

◆ putAttr() [1/2]

virtual bool OdIfc2x3::IfcMechanicalMaterialProperties::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::IfcMaterialProperties.

Reimplemented in OdIfc2x3::IfcMechanicalConcreteMaterialProperties, and OdIfc2x3::IfcMechanicalSteelMaterialProperties.

◆ putAttr() [2/2]

virtual bool OdIfc2x3::IfcMechanicalMaterialProperties::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::IfcMaterialProperties.

Reimplemented in OdIfc2x3::IfcMechanicalConcreteMaterialProperties, and OdIfc2x3::IfcMechanicalSteelMaterialProperties.

◆ setDynamicViscosity()

void OdIfc2x3::IfcMechanicalMaterialProperties::setDynamicViscosity ( double DynamicViscosity)

Sets the value of DynamicViscosity attribute. This attribute represents the measure of the viscous resistance of the material.

Parameters
DynamicViscosity[in] DynamicViscosity attribute to set.

◆ setPoissonRatio()

void OdIfc2x3::IfcMechanicalMaterialProperties::setPoissonRatio ( double PoissonRatio)

Sets the value of PoissonRatio attribute. This attribute represents the measure of the lateral deformations in the elastic range.

Parameters
PoissonRatio[in] PoissonRatio attribute to set.

◆ setShearModulus()

void OdIfc2x3::IfcMechanicalMaterialProperties::setShearModulus ( double ShearModulus)

Sets the value of ShearModulus attribute. This attribute represents the measure of the shear modulus of elasticity of the material.

Parameters
ShearModulus[in] ShearModulus attribute to set.

◆ setThermalExpansionCoefficient()

void OdIfc2x3::IfcMechanicalMaterialProperties::setThermalExpansionCoefficient ( double ThermalExpansionCoefficient)

Sets the value of ThermalExpansionCoefficient attribute. This attribute represents the measure of the expansion coefficient for warming up the material about one Kelvin.

Parameters
ThermalExpansionCoefficient[in] ThermalExpansionCoefficient attribute to set.

◆ setYoungModulus()

void OdIfc2x3::IfcMechanicalMaterialProperties::setYoungModulus ( double YoungModulus)

Sets the value of YoungModulus attribute. This attribute represents the measure of the Young’s modulus of elasticity of the material.

Parameters
YoungModulus[in] YoungModulus attribute to set.

◆ testAttr() [1/2]

virtual bool OdIfc2x3::IfcMechanicalMaterialProperties::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::IfcMaterialProperties.

Reimplemented in OdIfc2x3::IfcMechanicalConcreteMaterialProperties, and OdIfc2x3::IfcMechanicalSteelMaterialProperties.

◆ testAttr() [2/2]

virtual bool OdIfc2x3::IfcMechanicalMaterialProperties::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::IfcMaterialProperties.

Reimplemented in OdIfc2x3::IfcMechanicalConcreteMaterialProperties, and OdIfc2x3::IfcMechanicalSteelMaterialProperties.

◆ type()

virtual OdIfc::OdIfcEntityType OdIfc2x3::IfcMechanicalMaterialProperties::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::IfcMaterialProperties.

Reimplemented in OdIfc2x3::IfcMechanicalConcreteMaterialProperties, and OdIfc2x3::IfcMechanicalSteelMaterialProperties.

◆ unsetAttr() [1/2]

virtual void OdIfc2x3::IfcMechanicalMaterialProperties::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::IfcMaterialProperties.

Reimplemented in OdIfc2x3::IfcMechanicalConcreteMaterialProperties, and OdIfc2x3::IfcMechanicalSteelMaterialProperties.

◆ unsetAttr() [2/2]

virtual void OdIfc2x3::IfcMechanicalMaterialProperties::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::IfcMaterialProperties.

Reimplemented in OdIfc2x3::IfcMechanicalConcreteMaterialProperties, and OdIfc2x3::IfcMechanicalSteelMaterialProperties.

Member Data Documentation

◆ m_DynamicViscosity

double OdIfc2x3::IfcMechanicalMaterialProperties::m_DynamicViscosity
protected

◆ m_PoissonRatio

IfcPositiveRatioMeasure OdIfc2x3::IfcMechanicalMaterialProperties::m_PoissonRatio
protected

◆ m_ShearModulus

double OdIfc2x3::IfcMechanicalMaterialProperties::m_ShearModulus
protected

◆ m_ThermalExpansionCoefficient

double OdIfc2x3::IfcMechanicalMaterialProperties::m_ThermalExpansionCoefficient
protected

◆ m_YoungModulus

double OdIfc2x3::IfcMechanicalMaterialProperties::m_YoungModulus
protected

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