|
CFx SDK Documentation 2026 SP0
|
#include <IfcRectangularPyramidAutoImpl.h>
Public Member Functions | |
| double | getXLength () const |
| void | setXLength (double XLength) |
| double | getYLength () const |
| void | setYLength (double YLength) |
| double | getHeight () const |
| void | setHeight (double Height) |
| IfcRectangularPyramid () | |
| 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 OdIfc2x3::IfcCsgPrimitive3D | |
| const OdDAIObjectId & | getPosition () const |
| void | setPosition (const OdDAIObjectId &Position) |
Public Member Functions inherited from OdIfc2x3::IfcRepresentationItem | |
| void | getInvLayerAssignments (OdDAIObjectIds &LayerAssignments) const |
| void | getInvStyledByItem (OdDAIObjectIds &StyledByItem) const |
Public Member Functions inherited from OdIfc2x3::OdIfc2x3Instance | |
| 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_Height |
Protected Attributes inherited from OdIfc2x3::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 IfcRectangularPyramid is a Construction Solid Geometry (CSG) 3D primitive. It is a solid with a rectangular base and a point called apex as the top. The tapers from the base to the top. The axis from the center of the base to the apex is perpendicular to the base. The inherited Position attribute defines the IfcAxisPlacement3D and provides the location and orientation of the pyramid: SELF\IfcCsgPrimitive3D.Position: The location and orientation of the axis system for the primitive. SELF\IfcCsgPrimitive3D.Position.Location: The center of the circular area being the bottom face of the cone. SELF\IfcCsgPrimitive3D.Position.Position[3]: The z-axis of the inherited placement coordinate system provides the center axis of the IfcRightCircularCone, and the apex is at the Height value applied to the positive direction of the z-axis. The BottomRadius defines the circular base at the xy-plane of the placement coordinate system.
<IMAGE ifcrectangularpyramid-layout1>
The image below illustrates default texture mapping with a clamped texture (RepeatS=False and RepeatT=False). The image on the left shows the texture where the S axis points to the right and the T axis points up. The image on the right shows the texture applied to the geometry where the X axis points back to the right, the Y axis points back to the left, and the Z axis points up.
<IMAGE ifcrectangularpyramid-texture>
Definition at line 66 of file Ifc2x3/IfcRectangularPyramidAutoImpl.h.
| OdIfc2x3::IfcRectangularPyramid::IfcRectangularPyramid | ( | ) |
Default constructor for the IfcRectangularPyramid class.
|
overridevirtual |
Early-bound version of instances comparison.
| pOther | [in] Other application instance. |
| ordering | [out] Receives the ordering (comparison) status. |
Reimplemented from OdIfc2x3::IfcCsgPrimitive3D.
|
overridevirtual |
Returns an attribute value for the specified attribute name.
| attrName | [in] Name of an attribute to query. |
Reimplemented from OdIfc2x3::IfcCsgPrimitive3D.
|
overridevirtual |
Returns an attribute value for the specified attribute definition.
| attrDef | [in] Attribute definition to query. |
Reimplemented from OdIfc2x3::IfcCsgPrimitive3D.
| double OdIfc2x3::IfcRectangularPyramid::getHeight | ( | ) | const |
Returns the value of Height attribute. This attribute represents the height of the apex above the plane of the base, measured in the direction of the placement Z axis, the SELF\IfcCsgPrimitive3D.Position.P[2].
|
overridevirtual |
Returns a type of a class instance.
Reimplemented from OdIfc2x3::IfcCsgPrimitive3D.
| double OdIfc2x3::IfcRectangularPyramid::getXLength | ( | ) | const |
Returns the value of XLength attribute. This attribute represents the length of the base measured along the placement X axis. It is provided by the inherited axis placement through SELF\IfcCsgPrimitive3D.Position.P[1].
| double OdIfc2x3::IfcRectangularPyramid::getYLength | ( | ) | const |
Returns the value of YLength attribute. This attribute represents the length of the base measured along the placement Y axis. It is provided by the inherited axis placement through SELF\IfcCsgPrimitive3D.Position.P[2].
|
overridevirtual |
Reads object's data from the specified filer.
| rdFiler | [in] Pointer to a filer from which to read the data. |
Reimplemented from OdIfc2x3::IfcCsgPrimitive3D.
|
overridevirtual |
Checks whether the specified instance is the object derived from or belongs to this class.
| entityType | [in] Entity to check. |
Reimplemented from OdIfc2x3::IfcCsgPrimitive3D.
|
overridevirtual |
Writes object's data the the specified filer.
| wrFiler | [in] Pointer to a filer to which to write the data. |
Reimplemented from OdIfc2x3::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 OdIfc2x3::IfcCsgPrimitive3D.
|
overridevirtual |
Sets the specified attribute with a given value.
| explicitAttrDef | [in] Explicit attribute definition to set. |
| val | [in] Value to set. |
Reimplemented from OdIfc2x3::IfcCsgPrimitive3D.
| void OdIfc2x3::IfcRectangularPyramid::setHeight | ( | double | Height | ) |
Sets the value of Height attribute. This attribute represents the height of the apex above the plane of the base, measured in the direction of the placement Z axis, the SELF\IfcCsgPrimitive3D.Position.P[2].
| Height | [in] Height to set. |
| void OdIfc2x3::IfcRectangularPyramid::setXLength | ( | double | XLength | ) |
Sets the value of XLength attribute. This attribute represents the length of the base measured 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 OdIfc2x3::IfcRectangularPyramid::setYLength | ( | double | YLength | ) |
Sets the value of YLength attribute. This attribute represents the length of the base measured along the placement Y axis. It is provided by the inherited axis placement through SELF\IfcCsgPrimitive3D.Position.P[2].
| YLength | [in] YLength to set. |
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrName | [in] Explicit name of the attribute to test. |
Reimplemented from OdIfc2x3::IfcCsgPrimitive3D.
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrDef | [in] Attribute definition to test. |
Reimplemented from OdIfc2x3::IfcCsgPrimitive3D.
|
overridevirtual |
Returns the type of this entity.
Reimplemented from OdIfc2x3::IfcCsgPrimitive3D.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrName | [in] Explicit name of the attribute to reset. |
Reimplemented from OdIfc2x3::IfcCsgPrimitive3D.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrDef | [in] Explicit definition that represents an attribute to reset. |
Reimplemented from OdIfc2x3::IfcCsgPrimitive3D.
|
protected |
Definition at line 262 of file Ifc2x3/IfcRectangularPyramidAutoImpl.h.
|
protected |
Definition at line 260 of file Ifc2x3/IfcRectangularPyramidAutoImpl.h.
|
protected |
Definition at line 261 of file Ifc2x3/IfcRectangularPyramidAutoImpl.h.