CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
OdIfc2x_final::IfcProfileDef Class Reference

#include <IfcProfileDefAutoImpl.h>

Inheritance diagram for OdIfc2x_final::IfcProfileDef:
OdIfc::OdIfcEntity OdIfc2x_final::IfcArbitraryClosedProfileDef OdIfc2x_final::IfcArbitraryOpenProfileDef OdIfc2x_final::IfcCircleProfileDef OdIfc2x_final::IfcCompositeProfileDef OdIfc2x_final::IfcDerivedProfileDef OdIfc2x_final::IfcEllipseProfileDef OdIfc2x_final::IfcIshapeProfileDef OdIfc2x_final::IfcRectangleProfileDef OdIfc2x_final::IfcRoundedRectangleProfileDef OdIfc2x_final::IfcTrapeziumProfileDef

Public Member Functions

IfcProfileTypeEnum getProfileType () const
 
void setProfileType (IfcProfileTypeEnum ProfileType)
 
const OdAnsiString & getProfileName () const
 
void setProfileName (const OdAnsiString &ProfileName)
 
 IfcProfileDef ()
 
virtual OdResult inFields (OdDAI::OdSpfFilerBase *rdFiler)
 
virtual OdResult outFields (OdDAI::OdSpfFilerBase *wrFiler)
 
virtual OdDAI::Entity * getInstanceType () const
 
virtual OdRxValue getAttr (const char *attrName) const
 
virtual void unsetAttr (const char *explicitAttrName)
 
virtual bool testAttr (const char *explicitAttrName) const
 
virtual bool putAttr (const char *explicitAttrName, const OdRxValue &val)
 
virtual bool isKindOf (OdIfc::OdIfcEntityType entityType) const
 
virtual OdIfc::OdIfcEntityType type () const
 
virtual OdRxValue getAttr (const OdIfc::OdIfcAttribute attrDef) const
 
virtual void unsetAttr (const OdIfc::OdIfcAttribute explicitAttrDef)
 
virtual bool testAttr (const OdIfc::OdIfcAttribute explicitAttrDef) const
 
virtual bool putAttr (const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val)
 
- Public Member Functions inherited from OdIfc::OdIfcEntity
 ODRX_DECLARE_MEMBERS (OdIfcEntity)
 
 OdIfcEntity ()
 
 ~OdIfcEntity ()
 
virtual bool isKindOf (OdIfcEntityType entityType) const
 
bool isInstanceOf (OdIfcEntityType entityType) const
 
virtual OdIfcEntityType type () const
 
virtual OdRxValue getAttr (const OdIfcAttribute attrDef) const
 
virtual bool testAttr (const char *explicitAttrName) const
 
virtual bool testAttr (const OdIfcAttribute explicitAttrDef) const
 
virtual void unsetAttr (const char *explicitAttrName)
 
virtual void unsetAttr (const OdIfcAttribute explicitAttrDef)
 
virtual bool putAttr (const char *explicitAttrName, const OdRxValue &val)
 
virtual bool putAttr (const OdIfcAttribute explicitAttrDef, const OdRxValue &val)
 
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
 

Protected Attributes

OdDAI::Enum m_ProfileType
 
OdAnsiString m_ProfileName
 
- Protected Attributes inherited from OdIfc::OdIfcEntity
voidm_resPtr
 
IfcOpResult m_resolved
 

Additional Inherited Members

- Static Public Member Functions inherited from OdIfc::OdIfcEntity
static const OdGePoint3dasPoint3d (const OdIfcEntity *pEnt)
 
static const OdGePoint2dasPoint2d (const OdIfcEntity *pEnt)
 
static const OdGeVector3dasVector3d (const OdIfcEntity *pEnt)
 
static const OdGeVector2dasVector2d (const OdIfcEntity *pEnt)
 
static const OdGeMatrix2dasMatrix2d (const OdIfcEntity *pEnt)
 
static const OdGeMatrix3dasMatrix3d (const OdIfcEntity *pEnt)
 
static OdIfcCompoundPtr asCompound (OdSmartPtr< OdIfcEntity > pEnt)
 
static const OdCmEntityColorasRgbColor (const OdIfcEntity *pEnt)
 

Detailed Description

The profile definition in material association is required to be consistent with shape representations of the respective building elements.

The purpose of the profile definition within the sectioned spine is to define a varying cross sections at several positions along a spine curve. The subtype IfcDerivedProfileDef is particularly suited to provide the consecutive profiles to be based on transformations of the start profile and thus maintaining the identity of vertices and edges.

An IfcProfileDef is treated as bounded area if it is used within swept area solids. In this case, the inside of the profile is part of the profile. The attribute ProfileType is set to AREA. An IfcProfileDef is treated as a curve if it is used within swept surfaces. In this case, the inside of the profile (if the curve is closed) is not part of the profile. The attribute ProfileType is set to CURVE.

IfcLibraryReference is used to refer to a library which contains profile definitions. In this case, IfcLibraryReference.ItemReference contains the identifier of the profile within the library and is meant to be machine-readable (in contrast to IfcProfileDef.ProfileName which should be human-readable). IfcLibraryReference.Location and .Name or .ReferencedLibrary further describe the library.

If an external reference is provided, sending systems shall ensure that the shape of the profile definition object agrees with the definitions in the referenced classification or library.

Definition at line 90 of file Ifc2x_Final/IfcProfileDefAutoImpl.h.

Constructor & Destructor Documentation

◆ IfcProfileDef()

OdIfc2x_final::IfcProfileDef::IfcProfileDef ( )

Default constructor for the IfcProfileDef class.

Member Function Documentation

◆ getAttr() [1/2]

virtual OdRxValue OdIfc2x_final::IfcProfileDef::getAttr ( const char *  attrName) const
virtual

◆ getAttr() [2/2]

virtual OdRxValue OdIfc2x_final::IfcProfileDef::getAttr ( const OdIfc::OdIfcAttribute  attrDef) const
virtual

◆ getInstanceType()

virtual OdDAI::Entity * OdIfc2x_final::IfcProfileDef::getInstanceType ( ) const
virtual

◆ getProfileName()

const OdAnsiString & OdIfc2x_final::IfcProfileDef::getProfileName ( ) const

Returns a human-readable profile name.

Returns
A string that contains name of the profile definition.

◆ getProfileType()

IfcProfileTypeEnum OdIfc2x_final::IfcProfileDef::getProfileType ( ) const

Returns the type of geometry into which this profile definition is resolved.

Returns
Geometry type of the profile definition which is either a curve or a surface area. In case of curve the inside (the bounded area) is not part of the profile definition, in case of area - it is.

◆ inFields()

virtual OdResult OdIfc2x_final::IfcProfileDef::inFields ( OdDAI::OdSpfFilerBase *  rdFiler)
virtual

◆ isKindOf()

virtual bool OdIfc2x_final::IfcProfileDef::isKindOf ( OdIfc::OdIfcEntityType  entityType) const
virtual

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 OdIfc::OdIfcEntity.

Reimplemented in OdIfc2x_final::IfcArbitraryClosedProfileDef, OdIfc2x_final::IfcArbitraryOpenProfileDef, OdIfc2x_final::IfcArbitraryProfileDefWithVoids, OdIfc2x_final::IfcCircleProfileDef, OdIfc2x_final::IfcCompositeProfileDef, OdIfc2x_final::IfcDerivedProfileDef, OdIfc2x_final::IfcEllipseProfileDef, OdIfc2x_final::IfcIshapeProfileDef, OdIfc2x_final::IfcRectangleProfileDef, OdIfc2x_final::IfcRoundedRectangleProfileDef, and OdIfc2x_final::IfcTrapeziumProfileDef.

◆ outFields()

virtual OdResult OdIfc2x_final::IfcProfileDef::outFields ( OdDAI::OdSpfFilerBase *  wrFiler)
virtual

◆ putAttr() [1/2]

virtual bool OdIfc2x_final::IfcProfileDef::putAttr ( const char *  explicitAttrName,
const OdRxValue val 
)
virtual

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 OdIfc::OdIfcEntity.

Reimplemented in OdIfc2x_final::IfcArbitraryClosedProfileDef, OdIfc2x_final::IfcArbitraryOpenProfileDef, OdIfc2x_final::IfcArbitraryProfileDefWithVoids, OdIfc2x_final::IfcCircleProfileDef, OdIfc2x_final::IfcCompositeProfileDef, OdIfc2x_final::IfcDerivedProfileDef, OdIfc2x_final::IfcEllipseProfileDef, OdIfc2x_final::IfcIshapeProfileDef, OdIfc2x_final::IfcRectangleProfileDef, OdIfc2x_final::IfcRoundedRectangleProfileDef, and OdIfc2x_final::IfcTrapeziumProfileDef.

◆ putAttr() [2/2]

virtual bool OdIfc2x_final::IfcProfileDef::putAttr ( const OdIfc::OdIfcAttribute  explicitAttrDef,
const OdRxValue val 
)
virtual

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 OdIfc::OdIfcEntity.

Reimplemented in OdIfc2x_final::IfcArbitraryClosedProfileDef, OdIfc2x_final::IfcArbitraryOpenProfileDef, OdIfc2x_final::IfcArbitraryProfileDefWithVoids, OdIfc2x_final::IfcCircleProfileDef, OdIfc2x_final::IfcCompositeProfileDef, OdIfc2x_final::IfcDerivedProfileDef, OdIfc2x_final::IfcEllipseProfileDef, OdIfc2x_final::IfcIshapeProfileDef, OdIfc2x_final::IfcRectangleProfileDef, OdIfc2x_final::IfcRoundedRectangleProfileDef, and OdIfc2x_final::IfcTrapeziumProfileDef.

◆ setProfileName()

void OdIfc2x_final::IfcProfileDef::setProfileName ( const OdAnsiString &  ProfileName)

Sets a human-readable name of the profile definition.

Parameters
ProfileName[in] Name of the profile definition.

◆ setProfileType()

void OdIfc2x_final::IfcProfileDef::setProfileType ( IfcProfileTypeEnum  ProfileType)

Sets the type of geometry for the profile definition.

Parameters
ProfileType[in] Profile type to set. In case of curve the profile should be referenced by a swept surface, in case of area the profile should be referenced by a swept area solid.

◆ testAttr() [1/2]

virtual bool OdIfc2x_final::IfcProfileDef::testAttr ( const char *  explicitAttrName) const
virtual

◆ testAttr() [2/2]

virtual bool OdIfc2x_final::IfcProfileDef::testAttr ( const OdIfc::OdIfcAttribute  explicitAttrDef) const
virtual

◆ type()

virtual OdIfc::OdIfcEntityType OdIfc2x_final::IfcProfileDef::type ( ) const
virtual

◆ unsetAttr() [1/2]

virtual void OdIfc2x_final::IfcProfileDef::unsetAttr ( const char *  explicitAttrName)
virtual

◆ unsetAttr() [2/2]

virtual void OdIfc2x_final::IfcProfileDef::unsetAttr ( const OdIfc::OdIfcAttribute  explicitAttrDef)
virtual

Member Data Documentation

◆ m_ProfileName

OdAnsiString OdIfc2x_final::IfcProfileDef::m_ProfileName
protected

Definition at line 242 of file Ifc2x_Final/IfcProfileDefAutoImpl.h.

◆ m_ProfileType

OdDAI::Enum OdIfc2x_final::IfcProfileDef::m_ProfileType
protected

Definition at line 241 of file Ifc2x_Final/IfcProfileDefAutoImpl.h.


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