|
CFx SDK Documentation 2026 SP0
|
#include <IfcTrapeziumProfileDefAutoImpl.h>
Public Member Functions | |
| double | getBottomXDim () const |
| void | setBottomXDim (double BottomXDim) |
| double | getTopXDim () const |
| void | setTopXDim (double TopXDim) |
| double | getYDim () const |
| void | setYDim (double YDim) |
| double | getTopXOffset () const |
| void | setTopXOffset (double TopXOffset) |
| IfcTrapeziumProfileDef () | |
| 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::IfcParameterizedProfileDef | |
| const OdDAIObjectId & | getPosition () const |
| void | setPosition (const OdDAIObjectId &Position) |
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 OdGsCache * | gsNode () const |
| virtual OdUInt32 | subSetAttributes (OdGiDrawableTraits *traits) const |
| virtual bool | subWorldDraw (OdGiWorldDraw *wd) const |
| virtual OdDbStub * | ownerId () const |
Protected Attributes | |
| IfcPositiveLengthMeasure | m_BottomXDim |
| IfcPositiveLengthMeasure | m_TopXDim |
| IfcPositiveLengthMeasure | m_YDim |
| double | m_TopXOffset |
Protected Attributes inherited from OdIfc4::IfcParameterizedProfileDef | |
| OdDAIObjectId | m_Position |
Protected Attributes inherited from OdIfc4::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) |
IfcTrapeziumProfileDef defines a trapezium as the profile definition used by the swept surface geometry or the swept area solid. It is specified by its Top X and Bottom X extent and its Y extent as well as by the offset of the Top X extend, and placed within the 2D position coordinate system, established by the Position attribute. It is placed centric within the position coordinate system, in the center of the bounding box. The image below illustrates parameters of the trapezium profile definition.
<IMAGE ifctrapeziumprofiledef-layout1>
The parameterized profile defines its own position coordinate system. The underlying coordinate system is 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
or in case of sectioned spines the xy plane of each list member of IfcSectionedSpine.CrossSectionPositions. By using offsets of the position location, the parameterized profile can be positioned centric (using x,y offsets = 0.), or at any position relative to the profile. Explicit coordinate offsets are used to define cardinal points (e.g. upper-left bound).
Definition at line 60 of file Ifc4/IfcTrapeziumProfileDefAutoImpl.h.
| OdIfc4::IfcTrapeziumProfileDef::IfcTrapeziumProfileDef | ( | ) |
Default constructor for the IfcTrapeziumProfileDef class.
|
overridevirtual |
Early-bound version of instances comparison.
| pOther | [in] Other application instance. |
| ordering | [out] Receives the ordering (comparison) status. |
Reimplemented from OdIfc4::IfcParameterizedProfileDef.
|
overridevirtual |
Returns an attribute value for the specified attribute name.
| attrName | [in] Name of an attribute to query. |
Reimplemented from OdIfc4::IfcParameterizedProfileDef.
|
overridevirtual |
Returns an attribute value for the specified attribute definition.
| attrDef | [in] Attribute definition to query. |
Reimplemented from OdIfc4::IfcParameterizedProfileDef.
| double OdIfc4::IfcTrapeziumProfileDef::getBottomXDim | ( | ) | const |
Returns the value of BottomXDim attribute. This attribute represents the extent of the bottom line measured along the implicit x-axis.
|
overridevirtual |
Returns a type of a class instance.
Reimplemented from OdIfc4::IfcParameterizedProfileDef.
| double OdIfc4::IfcTrapeziumProfileDef::getTopXDim | ( | ) | const |
Returns the value of TopXDim attribute. This attribute represents the extent of the top line measured along the implicit x-axis.
| double OdIfc4::IfcTrapeziumProfileDef::getTopXOffset | ( | ) | const |
Returns the value of TopXOffset attribute. This attribute represents offset from the beginning of the top line to the bottom line, measured along the implicit x-axis.
| double OdIfc4::IfcTrapeziumProfileDef::getYDim | ( | ) | const |
Returns the value of YDim attribute. This attribute represents the extent of the distance between the parallel bottom and top lines measured along the implicit y-axis.
|
overridevirtual |
Reads object's data from the specified filer.
| rdFiler | [in] Pointer to a filer from which to read the data. |
Reimplemented from OdIfc4::IfcParameterizedProfileDef.
|
overridevirtual |
Checks whether the specified instance is the object derived from or belongs to this class.
| entityType | [in] Entity to check. |
Reimplemented from OdIfc4::IfcParameterizedProfileDef.
|
overridevirtual |
Writes object's data the the specified filer.
| wrFiler | [in] Pointer to a filer to which to write the data. |
Reimplemented from OdIfc4::IfcParameterizedProfileDef.
|
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 OdIfc4::IfcParameterizedProfileDef.
|
overridevirtual |
Sets the specified attribute with a given value.
| explicitAttrDef | [in] Explicit attribute definition to set. |
| val | [in] Value to set. |
Reimplemented from OdIfc4::IfcParameterizedProfileDef.
| void OdIfc4::IfcTrapeziumProfileDef::setBottomXDim | ( | double | BottomXDim | ) |
Sets the value of BottomXDim attribute. This attribute represents the extent of the bottom line measured along the implicit x-axis.
| BottomXDim | [in] BottomXDim attribute to set. |
| void OdIfc4::IfcTrapeziumProfileDef::setTopXDim | ( | double | TopXDim | ) |
Sets the value of TopXDim attribute. This attribute represents the extent of the top line measured along the implicit x-axis.
| TopXDim | [in] TopXDim to set. |
| void OdIfc4::IfcTrapeziumProfileDef::setTopXOffset | ( | double | TopXOffset | ) |
Sets the value of TopXOffset attribute. This attribute represents offset from the beginning of the top line to the bottom line, measured along the implicit x-axis.
| TopXOffset | [in] TopXOffset to set. |
| void OdIfc4::IfcTrapeziumProfileDef::setYDim | ( | double | YDim | ) |
Sets the value of YDim attribute. This attribute represents the extent of the distance between the parallel bottom and top lines measured along the implicit y-axis.
| YDim | [in] YDim to set. |
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrName | [in] Explicit name of the attribute to test. |
Reimplemented from OdIfc4::IfcParameterizedProfileDef.
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrDef | [in] Attribute definition to test. |
Reimplemented from OdIfc4::IfcParameterizedProfileDef.
|
overridevirtual |
Returns the type of this entity.
Reimplemented from OdIfc4::IfcParameterizedProfileDef.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrName | [in] Explicit name of the attribute to reset. |
Reimplemented from OdIfc4::IfcParameterizedProfileDef.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrDef | [in] Explicit definition that represents an attribute to reset. |
Reimplemented from OdIfc4::IfcParameterizedProfileDef.
|
protected |
Definition at line 263 of file Ifc4/IfcTrapeziumProfileDefAutoImpl.h.
|
protected |
Definition at line 264 of file Ifc4/IfcTrapeziumProfileDefAutoImpl.h.
|
protected |
Definition at line 266 of file Ifc4/IfcTrapeziumProfileDefAutoImpl.h.
|
protected |
Definition at line 265 of file Ifc4/IfcTrapeziumProfileDefAutoImpl.h.