|
CFx SDK Documentation 2026 SP0
|
#include <IfcBlockAutoImpl.h>
Public Member Functions | |
| double | getXLength () const |
| void | setXLength (double XLength) |
| double | getYLength () const |
| void | setYLength (double YLength) |
| double | getZLength () const |
| void | setZLength (double ZLength) |
| IfcBlock () | |
| 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 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 OdIfc4x2::IfcCsgPrimitive3D | |
| const OdDAIObjectId & | getPosition () const |
| void | setPosition (const OdDAIObjectId &Position) |
Public Member Functions inherited from OdIfc4x2::IfcRepresentationItem | |
| void | getInvLayerAssignment (OdDAIObjectIds &LayerAssignment) const |
| void | getInvStyledByItem (OdDAIObjectIds &StyledByItem) const |
Public Member Functions inherited from OdIfc4x2::OdIfc4x2Instance | |
| 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_XLength |
| IfcPositiveLengthMeasure | m_YLength |
| IfcPositiveLengthMeasure | m_ZLength |
Protected Attributes inherited from OdIfc4x2::IfcCsgPrimitive3D | |
| OdDAIObjectId | m_Position |
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) |
The IfcBlock is a Construction Solid Geometry (CSG) 3D primitive. It is defined by a position and a positive distance along the three orthogonal axes.
The XLength, YLength, and ZLength attributes define the size of the IfcBlock along the three axes. The image below illustrates geometric parameters of a block where the block positioned within its own placement coordinate system. The values for XLength, YLength, and ZLength are applied to the positive direction of the X, Y, and Z axis.
<IMAGE ifcblock-layout1>
<IMAGE ifcblock-texture>
Definition at line 63 of file Ifc4x2/IfcBlockAutoImpl.h.
| OdIfc4x2::IfcBlock::IfcBlock | ( | ) |
Default constructor for the IfcBlock class.
|
overridevirtual |
Returns an attribute value for the specified attribute name.
| attrName | [in] Name of an attribute to query. |
Reimplemented from OdIfc4x2::IfcCsgPrimitive3D.
|
overridevirtual |
Returns an attribute value for the specified attribute definition.
| attrDef | [in] Attribute definition to query. |
Reimplemented from OdIfc4x2::IfcCsgPrimitive3D.
|
overridevirtual |
Returns a type of a class instance.
Reimplemented from OdIfc4x2::IfcCsgPrimitive3D.
| double OdIfc4x2::IfcBlock::getXLength | ( | ) | const |
Returns the value of XLength attribute. This attribute represents the size of the block along the placement X axis. It is provided by the inherited axis placement through SELF\IfcCsgPrimitive3D.Position.P[1].
| double OdIfc4x2::IfcBlock::getYLength | ( | ) | const |
Returns the value of YLength attribute. This attribute represents the size of the block along the placement Y axis. It is provided by the inherited axis placement through SELF\IfcCsgPrimitive3D.Position.P[2].
| double OdIfc4x2::IfcBlock::getZLength | ( | ) | const |
Returns the value of ZLength attribute. This attribute represents the size of the block along the placement Z axis. It is provided by the inherited axis placement through SELF\IfcCsgPrimitive3D.Position.P[3].
|
overridevirtual |
Reads object's data from the specified filer.
| rdFiler | [in] Pointer to a filer from which to read the data. |
Reimplemented from OdIfc4x2::IfcCsgPrimitive3D.
|
overridevirtual |
Checks whether the specified instance is the object derived from or belongs to this class.
| entityType | [in] Entity to check. |
Reimplemented from OdIfc4x2::IfcCsgPrimitive3D.
|
overridevirtual |
Writes object's data the the specified filer.
| wrFiler | [in] Pointer to a filer to which to write the data. |
Reimplemented from OdIfc4x2::IfcCsgPrimitive3D.
|
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 OdIfc4x2::IfcCsgPrimitive3D.
|
overridevirtual |
Sets the specified attribute with a given value.
| explicitAttrDef | [in] Explicit attribute definition to set. |
| val | [in] Value to set. |
Reimplemented from OdIfc4x2::IfcCsgPrimitive3D.
| void OdIfc4x2::IfcBlock::setXLength | ( | double | XLength | ) |
Sets the value of XLength attribute. This attribute represents the size of the block along the placement X axis. It is provided by the inherited axis placement through SELF\IfcCsgPrimitive3D.Position.P[1].
| XLength | [in] XLength to set. |
| void OdIfc4x2::IfcBlock::setYLength | ( | double | YLength | ) |
Sets the value of YLength attribute. This attribute represents the size of the block along the placement Y axis. It is provided by the inherited axis placement through SELF\IfcCsgPrimitive3D.Position.P[2].
| YLength | [in] YLength to set. |
| void OdIfc4x2::IfcBlock::setZLength | ( | double | ZLength | ) |
Sets the value of ZLength attribute. This attribute represents the size of the block along the placement Z axis. It is provided by the inherited axis placement through SELF\IfcCsgPrimitive3D.Position.P[3].
| ZLength | [in] ZLength to set. |
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrName | [in] Explicit name of the attribute to test. |
Reimplemented from OdIfc4x2::IfcCsgPrimitive3D.
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrDef | [in] Attribute definition to test. |
Reimplemented from OdIfc4x2::IfcCsgPrimitive3D.
|
overridevirtual |
Returns the type of this entity.
Reimplemented from OdIfc4x2::IfcCsgPrimitive3D.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrName | [in] Explicit name of the attribute to reset. |
Reimplemented from OdIfc4x2::IfcCsgPrimitive3D.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrDef | [in] Explicit definition that represents an attribute to reset. |
Reimplemented from OdIfc4x2::IfcCsgPrimitive3D.
|
protected |
Definition at line 238 of file Ifc4x2/IfcBlockAutoImpl.h.
|
protected |
Definition at line 239 of file Ifc4x2/IfcBlockAutoImpl.h.
|
protected |
Definition at line 240 of file Ifc4x2/IfcBlockAutoImpl.h.