|
CFx SDK Documentation 2026 SP0
|
#include <IfcDerivedProfileDefAutoImpl.h>
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 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 OdIfc4x1::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 OdIfc4x1::OdIfc4x1Instance | |
| 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 OdGsCache * | gsNode () 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 OdIfc4x1::IfcProfileDef | |
| OdDAI::Enum | m_ProfileType |
| OdAnsiString | m_ProfileName |
Protected Attributes inherited from OdIfc::OdIfcInstance | |
| void * | m_resPtr |
| IfcOpResult | m_resolved |
Additional Inherited Members | |
Static Public Member Functions inherited from OdIfc::OdIfcInstance | |
| static const OdGePoint3d * | asPoint3d (const OdIfcInstance *inst) |
| static const OdGePoint2d * | asPoint2d (const OdIfcInstance *inst) |
| static const OdGeVector3d * | asVector3d (const OdIfcInstance *inst) |
| static const OdGeVector2d * | asVector2d (const OdIfcInstance *inst) |
| static const OdGeMatrix2d * | asMatrix2d (const OdIfcInstance *inst) |
| static const OdGeMatrix3d * | asMatrix3d (const OdIfcInstance *inst) |
| static OdIfcCompoundPtr | asCompound (OdSmartPtr< OdIfcInstance > inst) |
| static const OdCmEntityColor * | asRgbColor (const OdIfcInstance *inst) |
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 Ifc4x1/IfcDerivedProfileDefAutoImpl.h.
| OdIfc4x1::IfcDerivedProfileDef::IfcDerivedProfileDef | ( | ) |
Default constructor for the IfcDerivedProfileDef class.
|
overridevirtual |
Returns an attribute value for the specified attribute name.
| attrName | [in] Name of an attribute to query. |
Reimplemented from OdIfc4x1::IfcProfileDef.
|
overridevirtual |
Returns an attribute value for the specified attribute definition.
| attrDef | [in] Attribute definition to query. |
Reimplemented from OdIfc4x1::IfcProfileDef.
|
overridevirtual |
Returns a type of a class instance.
Reimplemented from OdIfc4x1::IfcProfileDef.
Reimplemented in OdIfc4x1::IfcMirroredProfileDef.
| const OdAnsiString & OdIfc4x1::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.
| const OdDAIObjectId & OdIfc4x1::IfcDerivedProfileDef::getOperator | ( | ) | const |
Returns the value of Operator attribute. This attribute represents transformation operator that is applied to the parent profile.
| const OdDAIObjectId & OdIfc4x1::IfcDerivedProfileDef::getParentProfile | ( | ) | const |
Returns the value of ParentProfile attribute. This attribute represents the parent profile that provides the origin of the transformation.
|
overridevirtual |
Reads object's data from the specified filer.
| rdFiler | [in] Pointer to a filer from which to read the data. |
Reimplemented from OdIfc4x1::IfcProfileDef.
|
overridevirtual |
Checks whether the specified instance is the object derived from or belongs to this class.
| entityType | [in] Entity to check. |
Reimplemented from OdIfc4x1::IfcProfileDef.
Reimplemented in OdIfc4x1::IfcMirroredProfileDef.
|
overridevirtual |
Writes object's data the the specified filer.
| wrFiler | [in] Pointer to a filer to which to write the data. |
Reimplemented from OdIfc4x1::IfcProfileDef.
|
overridevirtual |
Sets the specified attribute with a given value.
| explicitAttrName | [in] Explicit name of the attribute to set. |
| val | [in] Value to set. |
Reimplemented from OdIfc4x1::IfcProfileDef.
|
overridevirtual |
Sets the specified attribute with a given value.
| explicitAttrDef | [in] Explicit attribute definition to set. |
| val | [in] Value to set. |
Reimplemented from OdIfc4x1::IfcProfileDef.
| void OdIfc4x1::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.
| Label | [in] Label to set. |
| void OdIfc4x1::IfcDerivedProfileDef::setOperator | ( | const OdDAIObjectId & | Operator | ) |
Sets the value of Operator attribute. This attribute represents transformation operator that is applied to the parent profile.
| Operator | [in] Operator to set. |
| void OdIfc4x1::IfcDerivedProfileDef::setParentProfile | ( | const OdDAIObjectId & | ParentProfile | ) |
Sets the value of ParentProfile attribute. This attribute represents the parent profile that provides the origin of the transformation.
| ParentProfile | [in] Parent profile to set. |
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrName | [in] Explicit name of the attribute to test. |
Reimplemented from OdIfc4x1::IfcProfileDef.
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrDef | [in] Attribute definition to test. |
Reimplemented from OdIfc4x1::IfcProfileDef.
|
overridevirtual |
Returns the type of this entity.
Reimplemented from OdIfc4x1::IfcProfileDef.
Reimplemented in OdIfc4x1::IfcMirroredProfileDef.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrName | [in] Explicit name of the attribute to reset. |
Reimplemented from OdIfc4x1::IfcProfileDef.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrDef | [in] Explicit definition that represents an attribute to reset. |
Reimplemented from OdIfc4x1::IfcProfileDef.
|
protected |
Definition at line 237 of file Ifc4x1/IfcDerivedProfileDefAutoImpl.h.
|
protected |
Definition at line 236 of file Ifc4x1/IfcDerivedProfileDefAutoImpl.h.
|
protected |
Definition at line 235 of file Ifc4x1/IfcDerivedProfileDefAutoImpl.h.