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

#include <IfcProfileDefAutoImpl.h>

Inheritance diagram for OdIfc2x2_final::IfcProfileDef:
OdIfc::OdIfcEntity OdIfc2x2_final::IfcArbitraryClosedProfileDef OdIfc2x2_final::IfcArbitraryOpenProfileDef OdIfc2x2_final::IfcCompositeProfileDef OdIfc2x2_final::IfcDerivedProfileDef OdIfc2x2_final::IfcParameterizedProfileDef OdIfc2x2_final::IfcArbitraryProfileDefWithVoids OdIfc2x2_final::IfcCShapeProfileDef OdIfc2x2_final::IfcCircleProfileDef OdIfc2x2_final::IfcCraneRailAShapeProfileDef OdIfc2x2_final::IfcCraneRailFShapeProfileDef OdIfc2x2_final::IfcEllipseProfileDef OdIfc2x2_final::IfcIShapeProfileDef OdIfc2x2_final::IfcLShapeProfileDef OdIfc2x2_final::IfcRectangleProfileDef OdIfc2x2_final::IfcTShapeProfileDef OdIfc2x2_final::IfcTrapeziumProfileDef OdIfc2x2_final::IfcUShapeProfileDef OdIfc2x2_final::IfcZShapeProfileDef

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 Ifc2x2_Final/IfcProfileDefAutoImpl.h.

Constructor & Destructor Documentation

◆ IfcProfileDef()

OdIfc2x2_final::IfcProfileDef::IfcProfileDef ( )

Default constructor for the IfcProfileDef class.

Member Function Documentation

◆ getAttr() [1/2]

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

◆ getAttr() [2/2]

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

◆ getInstanceType()

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

◆ getProfileName()

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

Returns a human-readable profile name.

Returns
A string that contains name of the profile definition.

◆ getProfileType()

IfcProfileTypeEnum OdIfc2x2_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 OdIfc2x2_final::IfcProfileDef::inFields ( OdDAI::OdSpfFilerBase *  rdFiler)
virtual

◆ isKindOf()

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

◆ outFields()

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

◆ putAttr() [1/2]

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

◆ putAttr() [2/2]

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

◆ setProfileName()

void OdIfc2x2_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 OdIfc2x2_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 OdIfc2x2_final::IfcProfileDef::testAttr ( const char *  explicitAttrName) const
virtual

◆ testAttr() [2/2]

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

◆ type()

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

◆ unsetAttr() [1/2]

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

◆ unsetAttr() [2/2]

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

Member Data Documentation

◆ m_ProfileName

OdAnsiString OdIfc2x2_final::IfcProfileDef::m_ProfileName
protected

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

◆ m_ProfileType

OdDAI::Enum OdIfc2x2_final::IfcProfileDef::m_ProfileType
protected

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


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