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

#include <IfcParameterizedProfileDefAutoImpl.h>

Inheritance diagram for OdIfc4::IfcParameterizedProfileDef:
OdIfc4::IfcProfileDef OdIfc4::OdIfc4Instance OdIfc::OdIfcInstance OdIfc4::IfcAsymmetricIShapeProfileDef OdIfc4::IfcCShapeProfileDef OdIfc4::IfcCircleProfileDef OdIfc4::IfcEllipseProfileDef OdIfc4::IfcIShapeProfileDef OdIfc4::IfcLShapeProfileDef OdIfc4::IfcRectangleProfileDef OdIfc4::IfcTShapeProfileDef OdIfc4::IfcTrapeziumProfileDef OdIfc4::IfcUShapeProfileDef OdIfc4::IfcZShapeProfileDef

Public Member Functions

const OdDAIObjectId & getPosition () const
 
void setPosition (const OdDAIObjectId &Position)
 
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_Position
 
- 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

The parameterized profile definition defines a 2D position coordinate system to which the parameters of the different profiles relate to. All profiles are defined centric to the origin of the position coordinate system, or more specific, the origin [0.,0.] is in the center of the bounding box of the profile.

The Position attribute of IfcParameterizedProfileDef is used to position the profile within the XY plane of the underlying coordinate system of the swept surface geometry, the swept area solid or the sectioned spine. It can be used to position the profile at any point which becomes the origin [0.,0.,0.] of the extruded or rotated surface or solid. The Position attribute should not be used if the transformation can be specified in a containing object instead. In particular, this applies if the IfcParameterizedProfileDef is referenced as SweptArea in subtypes of IfcSweptAreaSolid or as CrossSections in IfcSectionedSpine.

Remarks
This definition may not be instantiated

\changes

IFC4 changes: Attribute Position is optional, changed from "False" to "True"

Definition at line 58 of file Ifc4/IfcParameterizedProfileDefAutoImpl.h.

Member Function Documentation

◆ comparedToEarlyImpl()

virtual bool OdIfc4::IfcParameterizedProfileDef::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::IfcAsymmetricIShapeProfileDef, OdIfc4::IfcCircleHollowProfileDef, OdIfc4::IfcCircleProfileDef, OdIfc4::IfcCShapeProfileDef, OdIfc4::IfcEllipseProfileDef, OdIfc4::IfcIShapeProfileDef, OdIfc4::IfcLShapeProfileDef, OdIfc4::IfcRectangleHollowProfileDef, OdIfc4::IfcRectangleProfileDef, OdIfc4::IfcRoundedRectangleProfileDef, OdIfc4::IfcTrapeziumProfileDef, OdIfc4::IfcTShapeProfileDef, OdIfc4::IfcUShapeProfileDef, and OdIfc4::IfcZShapeProfileDef.

◆ getAttr() [1/2]

virtual OdRxValue OdIfc4::IfcParameterizedProfileDef::getAttr ( const char * attrName) const
overridevirtual

◆ getAttr() [2/2]

virtual OdRxValue OdIfc4::IfcParameterizedProfileDef::getAttr ( const OdIfc::OdIfcAttribute attrDef) const
overridevirtual

◆ getInstanceType()

virtual OdDAI::Entity * OdIfc4::IfcParameterizedProfileDef::getInstanceType ( ) const
overridevirtual

◆ getPosition()

const OdDAIObjectId & OdIfc4::IfcParameterizedProfileDef::getPosition ( ) const

Returns the value of Position attribute. This attribute represents position coordinate system of the parameterized profile definition. If not specified, no translation and no rotation is applied.

Returns
Returns the value of Position attribute.

◆ inFields()

virtual OdResult OdIfc4::IfcParameterizedProfileDef::inFields ( OdDAI::OdSpfFilerBase * rdFiler)
overridevirtual

◆ isKindOf()

virtual bool OdIfc4::IfcParameterizedProfileDef::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::IfcAsymmetricIShapeProfileDef, OdIfc4::IfcCircleHollowProfileDef, OdIfc4::IfcCircleProfileDef, OdIfc4::IfcCShapeProfileDef, OdIfc4::IfcEllipseProfileDef, OdIfc4::IfcIShapeProfileDef, OdIfc4::IfcLShapeProfileDef, OdIfc4::IfcRectangleHollowProfileDef, OdIfc4::IfcRectangleProfileDef, OdIfc4::IfcRoundedRectangleProfileDef, OdIfc4::IfcTrapeziumProfileDef, OdIfc4::IfcTShapeProfileDef, OdIfc4::IfcUShapeProfileDef, and OdIfc4::IfcZShapeProfileDef.

◆ outFields()

virtual OdResult OdIfc4::IfcParameterizedProfileDef::outFields ( OdDAI::OdSpfFilerBase * wrFiler)
overridevirtual

◆ putAttr() [1/2]

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

Reimplemented in OdIfc4::IfcAsymmetricIShapeProfileDef, OdIfc4::IfcCircleHollowProfileDef, OdIfc4::IfcCircleProfileDef, OdIfc4::IfcCShapeProfileDef, OdIfc4::IfcEllipseProfileDef, OdIfc4::IfcIShapeProfileDef, OdIfc4::IfcLShapeProfileDef, OdIfc4::IfcRectangleHollowProfileDef, OdIfc4::IfcRectangleProfileDef, OdIfc4::IfcRoundedRectangleProfileDef, OdIfc4::IfcTrapeziumProfileDef, OdIfc4::IfcTShapeProfileDef, OdIfc4::IfcUShapeProfileDef, and OdIfc4::IfcZShapeProfileDef.

◆ putAttr() [2/2]

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

Reimplemented in OdIfc4::IfcAsymmetricIShapeProfileDef, OdIfc4::IfcCircleHollowProfileDef, OdIfc4::IfcCircleProfileDef, OdIfc4::IfcCShapeProfileDef, OdIfc4::IfcEllipseProfileDef, OdIfc4::IfcIShapeProfileDef, OdIfc4::IfcLShapeProfileDef, OdIfc4::IfcRectangleHollowProfileDef, OdIfc4::IfcRectangleProfileDef, OdIfc4::IfcRoundedRectangleProfileDef, OdIfc4::IfcTrapeziumProfileDef, OdIfc4::IfcTShapeProfileDef, OdIfc4::IfcUShapeProfileDef, and OdIfc4::IfcZShapeProfileDef.

◆ setPosition()

void OdIfc4::IfcParameterizedProfileDef::setPosition ( const OdDAIObjectId & Position)

Sets the value of Position attribute. This attribute represents position coordinate system of the parameterized profile definition. If not specified, no translation and no rotation is applied.

Parameters
Position[in] Position to set.

◆ testAttr() [1/2]

virtual bool OdIfc4::IfcParameterizedProfileDef::testAttr ( const char * explicitAttrName) const
overridevirtual

◆ testAttr() [2/2]

virtual bool OdIfc4::IfcParameterizedProfileDef::testAttr ( const OdIfc::OdIfcAttribute explicitAttrDef) const
overridevirtual

◆ type()

virtual OdIfc::OdIfcEntityType OdIfc4::IfcParameterizedProfileDef::type ( ) const
overridevirtual

◆ unsetAttr() [1/2]

◆ unsetAttr() [2/2]

Member Data Documentation

◆ m_Position

OdDAIObjectId OdIfc4::IfcParameterizedProfileDef::m_Position
protected

Definition at line 213 of file Ifc4/IfcParameterizedProfileDefAutoImpl.h.


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