CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
OdIfc4x2::IfcCompositeProfileDef Class Reference

#include <IfcCompositeProfileDefAutoImpl.h>

Inheritance diagram for OdIfc4x2::IfcCompositeProfileDef:
OdIfc4x2::IfcProfileDef OdIfc4x2::OdIfc4x2Instance OdIfc::OdIfcInstance

Public Member Functions

void getProfiles (OdDAIObjectIds &Profiles) const
 
OdDAI::SetOfOdDAIObjectId & profiles ()
 
const OdAnsiString & getLabel () const
 
void setLabel (const OdAnsiString &Label)
 
 IfcCompositeProfileDef ()
 
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 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 OdIfc4x2::IfcProfileDef
IfcProfileTypeEnum getProfileType () const
 
void setProfileType (IfcProfileTypeEnum ProfileType)
 
const OdAnsiString & getProfileName () const
 
void setProfileName (const OdAnsiString &ProfileName)
 
void getInvHasExternalReference (OdDAIObjectIds &HasExternalReference) const
 
void getInvHasProperties (OdDAIObjectIds &HasProperties) const
 
 IfcProfileDef ()
 
- Public Member Functions inherited from OdIfc4x2::OdIfc4x2Instance
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

OdDAI::SetOfOdDAIObjectId m_Profiles
 
OdAnsiString m_Label
 
- Protected Attributes inherited from OdIfc4x2::IfcProfileDef
OdDAI::Enum m_ProfileType
 
OdAnsiString m_ProfileName
 
- 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

The IfcCompositeProfileDef defines the profile by composition of other profiles. The composition is provided by a set of at least two other profile definitions. Any profile definition (except for another composite profile) can be used to construct the composite. The image below illustrates the composite profile definition. The IfcCompositeProfileDef does not define an own position coordinate system, it is directly defined in the underlying coordinate system. The underlying coordinate system is defined by the swept surface or swept area solid that uses the profile definition. It is the xy plane of either: IfcSweptSurface.Position IfcSweptAreaSolid.Position

Or in case of sectioned spines it is the xy plane of each list member of IfcSectionedSpine.CrossSectionPositions. The IfcCompositeProfileDef is defined using other profile definitions. Those other profile definitions are directly inserted into the underlying coordinate system. In case of parameterized profile definitions, the Position attribute of those standard profiles is used to place the profiles relatively to each other. In case of arbitrary profile definitions, each Cartesian coordinate is provided directly within the underlying coordinate system.

<IMAGE ifccompositeprofiledef-layout1>

Definition at line 56 of file Ifc4x2/IfcCompositeProfileDefAutoImpl.h.

Constructor & Destructor Documentation

◆ IfcCompositeProfileDef()

OdIfc4x2::IfcCompositeProfileDef::IfcCompositeProfileDef ( )

Default constructor for the IfcCompositeProfileDef class.

Member Function Documentation

◆ getAttr() [1/2]

virtual OdRxValue OdIfc4x2::IfcCompositeProfileDef::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 OdIfc4x2::IfcProfileDef.

◆ getAttr() [2/2]

virtual OdRxValue OdIfc4x2::IfcCompositeProfileDef::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 OdIfc4x2::IfcProfileDef.

◆ getInstanceType()

virtual OdDAI::Entity * OdIfc4x2::IfcCompositeProfileDef::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 OdIfc4x2::IfcProfileDef.

◆ getLabel()

const OdAnsiString & OdIfc4x2::IfcCompositeProfileDef::getLabel ( ) const

Returns the value of Label attribute. This attribute represents the name by which the composition can be referred to. The actual meaning of the name has to be defined in the context of applications.

Returns
Returns the value of Label attribute.

◆ getProfiles()

void OdIfc4x2::IfcCompositeProfileDef::getProfiles ( OdDAIObjectIds & Profiles) const

Gets the value of Profiles attribute. This attribute represents the profiles which are used to define the composite profile.

Parameters
Profiles[out] Receives the Profiles attribute.

◆ inFields()

virtual OdResult OdIfc4x2::IfcCompositeProfileDef::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 OdIfc4x2::IfcProfileDef.

◆ isKindOf()

virtual bool OdIfc4x2::IfcCompositeProfileDef::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 OdIfc4x2::IfcProfileDef.

◆ outFields()

virtual OdResult OdIfc4x2::IfcCompositeProfileDef::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 OdIfc4x2::IfcProfileDef.

◆ profiles()

OdDAI::SetOfOdDAIObjectId & OdIfc4x2::IfcCompositeProfileDef::profiles ( )

Returns the value of Profiles attribute. This attribute represents the profiles which are used to define the composite profile.

Returns
Returns the value of Profiles attribute.

◆ putAttr() [1/2]

virtual bool OdIfc4x2::IfcCompositeProfileDef::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 OdIfc4x2::IfcProfileDef.

◆ putAttr() [2/2]

virtual bool OdIfc4x2::IfcCompositeProfileDef::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 OdIfc4x2::IfcProfileDef.

◆ setLabel()

void OdIfc4x2::IfcCompositeProfileDef::setLabel ( const OdAnsiString & Label)

Sets the value of Label attribute. This attribute represents the name by which the composition can be referred to. The actual meaning of the name has to be defined in the context of applications.

Parameters
Label[in] Label to set.

◆ testAttr() [1/2]

virtual bool OdIfc4x2::IfcCompositeProfileDef::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 OdIfc4x2::IfcProfileDef.

◆ testAttr() [2/2]

virtual bool OdIfc4x2::IfcCompositeProfileDef::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 OdIfc4x2::IfcProfileDef.

◆ type()

virtual OdIfc::OdIfcEntityType OdIfc4x2::IfcCompositeProfileDef::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 OdIfc4x2::IfcProfileDef.

◆ unsetAttr() [1/2]

virtual void OdIfc4x2::IfcCompositeProfileDef::unsetAttr ( const char * explicitAttrName)
overridevirtual

Resets a value for the specified attribute.

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

Reimplemented from OdIfc4x2::IfcProfileDef.

◆ unsetAttr() [2/2]

virtual void OdIfc4x2::IfcCompositeProfileDef::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 OdIfc4x2::IfcProfileDef.

Member Data Documentation

◆ m_Label

OdAnsiString OdIfc4x2::IfcCompositeProfileDef::m_Label
protected

Definition at line 213 of file Ifc4x2/IfcCompositeProfileDefAutoImpl.h.

◆ m_Profiles

OdDAI::SetOfOdDAIObjectId OdIfc4x2::IfcCompositeProfileDef::m_Profiles
protected

Definition at line 212 of file Ifc4x2/IfcCompositeProfileDefAutoImpl.h.


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