CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
OdIfc4::IfcDerivedProfileDef Class Reference

#include <IfcDerivedProfileDefAutoImpl.h>

Inheritance diagram for OdIfc4::IfcDerivedProfileDef:
OdIfc4::IfcProfileDef OdIfc4::OdIfc4Instance OdIfc::OdIfcInstance OdIfc4::IfcMirroredProfileDef

Public Member Functions

const OdDAIObjectId & getParentProfile () const
 
void setParentProfile (const OdDAIObjectId &ParentProfile)
 
const OdDAIObjectId & getOperator () const
 
void setOperator (const OdDAIObjectId &Operator)
 
const OdAnsiString & getLabel () const
 
void setLabel (const OdAnsiString &Label)
 
 IfcDerivedProfileDef ()
 
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 OdIfc4::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 OdIfc4::OdIfc4Instance
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

OdDAIObjectId m_ParentProfile
 
OdDAIObjectId m_Operator
 
OdAnsiString m_Label
 
- Protected Attributes inherited from OdIfc4::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

IfcDerivedProfileDef defines the profile by transformation from the parent profile. The transformation is specified by a two dimensional transformation operator. Transformation includes translation, rotation, mirror and scaling. The transformation can be uniform or non uniform. The derived profiles can be used to define swept surfaces, swept area solids or sectioned spines.

The transformation effects the position, rotation, mirroring or scale of the profile at the underlying coordinate system, i.e. the coordinate system 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

<IMAGE ifcderivedprofiledef-layout1>

The IfcDerivedProfileDef is defined using the IfcCartesianTransformationOperator2D (CTO), which is applied to the parent profile definition. The example shows a uniform scaling and a transformation of an IfcRectangleProfileDef to match the lower-left cardinal point. The attributes of the CTO are:

Axis1 = NIL (defaults to 1.,0.)
Axis2 = NIL (defaults to 0.,1.)
LocalOrigin = IfcCartesianPoint(<1/2 XDim>,<1/2 YDim>)
Scale = 2.

Definition at line 64 of file Ifc4/IfcDerivedProfileDefAutoImpl.h.

Constructor & Destructor Documentation

◆ IfcDerivedProfileDef()

OdIfc4::IfcDerivedProfileDef::IfcDerivedProfileDef ( )

Default constructor for the IfcDerivedProfileDef class.

Member Function Documentation

◆ comparedToEarlyImpl()

virtual bool OdIfc4::IfcDerivedProfileDef::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 OdIfc4::IfcProfileDef.

Reimplemented in OdIfc4::IfcMirroredProfileDef.

◆ getAttr() [1/2]

virtual OdRxValue OdIfc4::IfcDerivedProfileDef::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 OdIfc4::IfcProfileDef.

◆ getAttr() [2/2]

virtual OdRxValue OdIfc4::IfcDerivedProfileDef::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 OdIfc4::IfcProfileDef.

◆ getInstanceType()

virtual OdDAI::Entity * OdIfc4::IfcDerivedProfileDef::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 OdIfc4::IfcProfileDef.

Reimplemented in OdIfc4::IfcMirroredProfileDef.

◆ getLabel()

const OdAnsiString & OdIfc4::IfcDerivedProfileDef::getLabel ( ) const

Returns the value of Label attribute. This attribute represents the name by which the transformation 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.

◆ getOperator()

const OdDAIObjectId & OdIfc4::IfcDerivedProfileDef::getOperator ( ) const

Returns the value of Operator attribute. This attribute represents transformation operator that is applied to the parent profile.

Returns
Returns the value of Operator attribute.

◆ getParentProfile()

const OdDAIObjectId & OdIfc4::IfcDerivedProfileDef::getParentProfile ( ) const

Returns the value of ParentProfile attribute. This attribute represents the parent profile that provides the origin of the transformation.

Returns
Returns the value of ParentProfile attribute.

◆ inFields()

virtual OdResult OdIfc4::IfcDerivedProfileDef::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 OdIfc4::IfcProfileDef.

◆ isKindOf()

virtual bool OdIfc4::IfcDerivedProfileDef::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 OdIfc4::IfcProfileDef.

Reimplemented in OdIfc4::IfcMirroredProfileDef.

◆ outFields()

virtual OdResult OdIfc4::IfcDerivedProfileDef::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 OdIfc4::IfcProfileDef.

◆ putAttr() [1/2]

virtual bool OdIfc4::IfcDerivedProfileDef::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 OdIfc4::IfcProfileDef.

◆ putAttr() [2/2]

virtual bool OdIfc4::IfcDerivedProfileDef::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 OdIfc4::IfcProfileDef.

◆ setLabel()

void OdIfc4::IfcDerivedProfileDef::setLabel ( const OdAnsiString & Label)

Sets the value of Label attribute. This attribute represents the name by which the transformation 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.

◆ setOperator()

void OdIfc4::IfcDerivedProfileDef::setOperator ( const OdDAIObjectId & Operator)

Sets the value of Operator attribute. This attribute represents transformation operator that is applied to the parent profile.

Parameters
Operator[in] Operator to set.

◆ setParentProfile()

void OdIfc4::IfcDerivedProfileDef::setParentProfile ( const OdDAIObjectId & ParentProfile)

Sets the value of ParentProfile attribute. This attribute represents the parent profile that provides the origin of the transformation.

Parameters
ParentProfile[in] Parent profile to set.

◆ testAttr() [1/2]

virtual bool OdIfc4::IfcDerivedProfileDef::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 OdIfc4::IfcProfileDef.

◆ testAttr() [2/2]

virtual bool OdIfc4::IfcDerivedProfileDef::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 OdIfc4::IfcProfileDef.

◆ type()

virtual OdIfc::OdIfcEntityType OdIfc4::IfcDerivedProfileDef::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 OdIfc4::IfcProfileDef.

Reimplemented in OdIfc4::IfcMirroredProfileDef.

◆ unsetAttr() [1/2]

virtual void OdIfc4::IfcDerivedProfileDef::unsetAttr ( const char * explicitAttrName)
overridevirtual

Resets a value for the specified attribute.

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

Reimplemented from OdIfc4::IfcProfileDef.

◆ unsetAttr() [2/2]

virtual void OdIfc4::IfcDerivedProfileDef::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 OdIfc4::IfcProfileDef.

Member Data Documentation

◆ m_Label

OdAnsiString OdIfc4::IfcDerivedProfileDef::m_Label
protected

Definition at line 256 of file Ifc4/IfcDerivedProfileDefAutoImpl.h.

◆ m_Operator

OdDAIObjectId OdIfc4::IfcDerivedProfileDef::m_Operator
protected

Definition at line 255 of file Ifc4/IfcDerivedProfileDefAutoImpl.h.

◆ m_ParentProfile

OdDAIObjectId OdIfc4::IfcDerivedProfileDef::m_ParentProfile
protected

Definition at line 254 of file Ifc4/IfcDerivedProfileDefAutoImpl.h.


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