CFx SDK Documentation 2024 SP0
|
#include <IfcProfileDefAutoImpl.h>
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 OdGsCache * | gsNode () 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 | |
void * | m_resPtr |
IfcOpResult | m_resolved |
Additional Inherited Members | |
Static Public Member Functions inherited from OdIfc::OdIfcEntity | |
static const OdGePoint3d * | asPoint3d (const OdIfcEntity *pEnt) |
static const OdGePoint2d * | asPoint2d (const OdIfcEntity *pEnt) |
static const OdGeVector3d * | asVector3d (const OdIfcEntity *pEnt) |
static const OdGeVector2d * | asVector2d (const OdIfcEntity *pEnt) |
static const OdGeMatrix2d * | asMatrix2d (const OdIfcEntity *pEnt) |
static const OdGeMatrix3d * | asMatrix3d (const OdIfcEntity *pEnt) |
static OdIfcCompoundPtr | asCompound (OdSmartPtr< OdIfcEntity > pEnt) |
static const OdCmEntityColor * | asRgbColor (const OdIfcEntity *pEnt) |
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.
OdIfc2x_final::IfcProfileDef::IfcProfileDef | ( | ) |
Default constructor for the IfcProfileDef class.
|
virtual |
Returns an attribute value for the specified attribute name.
attrName | [in] Name of an attribute to query. |
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.
|
virtual |
Returns an attribute value for the specified attribute definition.
attrDef | [in] Attribute definition to query. |
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.
|
virtual |
Returns a type of a class instance.
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.
const OdAnsiString & OdIfc2x_final::IfcProfileDef::getProfileName | ( | ) | const |
Returns a human-readable profile name.
IfcProfileTypeEnum OdIfc2x_final::IfcProfileDef::getProfileType | ( | ) | const |
Returns the type of geometry into which this profile definition is resolved.
|
virtual |
Reads object's data from the specified filer.
rdFiler | [in] Pointer to a filer from which to read the data. |
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.
|
virtual |
Checks whether the specified instance is the object derived from or belongs to this class.
entityType | [in] Entity to check. |
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.
|
virtual |
Writes object's data the the specified filer.
wrFiler | [in] Pointer to a filer to which to write the data. |
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.
|
virtual |
Sets the specified attribute with a given value.
explicitAttrName | [in] Explicit name of the attribute to set. |
val | [in] Value to set. |
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.
|
virtual |
Sets the specified attribute with a given value.
explicitAttrDef | [in] Explicit attribute definition to set. |
val | [in] Value to set. |
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.
void OdIfc2x_final::IfcProfileDef::setProfileName | ( | const OdAnsiString & | ProfileName | ) |
Sets a human-readable name of the profile definition.
ProfileName | [in] Name of the profile definition. |
void OdIfc2x_final::IfcProfileDef::setProfileType | ( | IfcProfileTypeEnum | ProfileType | ) |
Sets the type of geometry for the profile definition.
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. |
|
virtual |
Checks whether the specified attribute is set.
explicitAttrName | [in] Explicit name of the attribute to test. |
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.
|
virtual |
Checks whether the specified attribute is set.
explicitAttrDef | [in] Attribute definition to test. |
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.
|
virtual |
Returns the type of this entity.
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.
|
virtual |
Resets a value for the specified attribute.
explicitAttrName | [in] Explicit name of the attribute to reset. |
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.
|
virtual |
Resets a value for the specified attribute.
explicitAttrDef | [in] Explicit definition that represents an attribute to reset. |
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.
|
protected |
Definition at line 242 of file Ifc2x_Final/IfcProfileDefAutoImpl.h.
|
protected |
Definition at line 241 of file Ifc2x_Final/IfcProfileDefAutoImpl.h.