CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
OdIfc4x2::IfcExtrudedAreaSolid Class Reference

#include <IfcExtrudedAreaSolidAutoImpl.h>

Inheritance diagram for OdIfc4x2::IfcExtrudedAreaSolid:
OdIfc4x2::IfcSweptAreaSolid OdIfc4x2::IfcSolidModel OdIfc4x2::IfcGeometricRepresentationItem OdIfc4x2::IfcRepresentationItem OdIfc4x2::OdIfc4x2Instance OdIfc::OdIfcInstance OdIfc4x2::IfcExtrudedAreaSolidTapered

Public Member Functions

const OdDAIObjectId & getExtrudedDirection () const
 
void setExtrudedDirection (const OdDAIObjectId &ExtrudedDirection)
 
double getDepth () const
 
void setDepth (double Depth)
 
 IfcExtrudedAreaSolid ()
 
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::IfcSweptAreaSolid
const OdDAIObjectId & getSweptArea () const
 
void setSweptArea (const OdDAIObjectId &SweptArea)
 
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 OdGsCachegsNode () const
 
virtual OdUInt32 subSetAttributes (OdGiDrawableTraits *traits) const
 
virtual bool subWorldDraw (OdGiWorldDraw *wd) const
 
virtual OdDbStub * ownerId () const
 

Protected Attributes

OdDAIObjectId m_ExtrudedDirection
 
IfcPositiveLengthMeasure m_Depth
 
- Protected Attributes inherited from OdIfc4x2::IfcSweptAreaSolid
OdDAIObjectId m_SweptArea
 
OdDAIObjectId m_Position
 
- Protected Attributes inherited from OdIfc::OdIfcInstance
voidm_resPtr
 
IfcOpResult m_resolved
 

Additional Inherited Members

- Static Public Member Functions inherited from OdIfc::OdIfcInstance
static const OdGePoint3dasPoint3d (const OdIfcInstance *inst)
 
static const OdGePoint2dasPoint2d (const OdIfcInstance *inst)
 
static const OdGeVector3dasVector3d (const OdIfcInstance *inst)
 
static const OdGeVector2dasVector2d (const OdIfcInstance *inst)
 
static const OdGeMatrix2dasMatrix2d (const OdIfcInstance *inst)
 
static const OdGeMatrix3dasMatrix3d (const OdIfcInstance *inst)
 
static OdIfcCompoundPtr asCompound (OdSmartPtr< OdIfcInstance > inst)
 
static const OdCmEntityColorasRgbColor (const OdIfcInstance *inst)
 

Detailed Description

The IfcExtrudedAreaSolid is defined by sweeping a cross section provided by a profile definition.

  • Details - The direction of the extrusion is given by the ExtrudedDirection attribute and the length of the extrusion is given by the Depth attribute. If the planar area has inner boundaries (holes defined), then those holes are swept into holes of the solid. The image below illustrates geometric parameters of the extruded area solid. The extruded area solid defines the extrusion of a 2D area by an direction and depth. The result is a solid.

<IMAGE ifcextrudedareasolid-fig1>

The image below illustrates geometric parameters and additional positioning parameters of the extruded area solid. The extruded area solid defines the extrusion of a 2D area by an direction and depth. The 2D area, provided by a parameterized profile definition, can be positioned relative to the object coordinate system (other then by default at 0.,0. with no rotation). The result is a solid that can be repositioned within the object coordinate system.

<IMAGE ifcextrudedareasolid-fig2>

  • Texture Use Definition - For side faces, textures are aligned facing upright continuously along the sides with origin at the first point of an arbitrary profile, and following the outer bound of the profile counter-clockwise (as seen from above). For parameterized profiles, the origin is defined at the +Y extent for rounded profiles (having no sharp edge) and the first sharp edge counter-clockwise from the +Y extent for all other profiles. Textures are stretched or repeated on each side along the outer boundary of the profile according to RepeatS. Textures are stretched or repeated on each side along the extrusion axis according to RepeatT.

For top and bottom caps, textures are aligned facing front-to-back, with the origin at the minimum X and Y extent. Textures are stretched or repeated on the top and bottom to the extent of each face according to RepeatS and RepeatT.

The image below illustrates default texture mapping with a repeated texture (RepeatS=True and RepeatT=True). 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 ifcextrudedareasolid-texture>

Definition at line 73 of file Ifc4x2/IfcExtrudedAreaSolidAutoImpl.h.

Constructor & Destructor Documentation

◆ IfcExtrudedAreaSolid()

OdIfc4x2::IfcExtrudedAreaSolid::IfcExtrudedAreaSolid ( )

Default constructor for the IfcExtrudedAreaSolid class.

Member Function Documentation

◆ getAttr() [1/2]

virtual OdRxValue OdIfc4x2::IfcExtrudedAreaSolid::getAttr ( const char * attrName) const
overridevirtual

Returns an attribute value for the specified attribute name.

Parameters
attrName[in] Name of an attribute to query.
Returns
OdRxValue object that represents a generic variant type value.

Reimplemented from OdIfc4x2::IfcSweptAreaSolid.

Reimplemented in OdIfc4x2::IfcExtrudedAreaSolidTapered.

◆ getAttr() [2/2]

virtual OdRxValue OdIfc4x2::IfcExtrudedAreaSolid::getAttr ( const OdIfc::OdIfcAttribute attrDef) const
overridevirtual

Returns an attribute value for the specified attribute definition.

Parameters
attrDef[in] Attribute definition to query.
Returns
OdRxValue object that represents a generic variant type value.

Reimplemented from OdIfc4x2::IfcSweptAreaSolid.

Reimplemented in OdIfc4x2::IfcExtrudedAreaSolidTapered.

◆ getDepth()

double OdIfc4x2::IfcExtrudedAreaSolid::getDepth ( ) const

Returns the value of Depth attribute. This attribute represents the distance the surface is to be swept along the ExtrudedDirection.

Returns
Returns the value of Depth attribute.

◆ getExtrudedDirection()

const OdDAIObjectId & OdIfc4x2::IfcExtrudedAreaSolid::getExtrudedDirection ( ) const

Returns the value of ExtrudedDirection attribute. This attribute represents the direction in which the surface, provided by SweptArea is to be swept.

Returns
Returns the value of ExtrudedDirection attribute.

◆ getInstanceType()

virtual OdDAI::Entity * OdIfc4x2::IfcExtrudedAreaSolid::getInstanceType ( ) const
overridevirtual

Returns a type of a class instance.

Returns
Pointer to the <exref target=https://docs.opendesign.com/tkernel_api_cpp/OdDAI__Entity.html>>OdDAI::Entity</exref> type that determines an entity definition within a schema.

Reimplemented from OdIfc4x2::IfcSweptAreaSolid.

Reimplemented in OdIfc4x2::IfcExtrudedAreaSolidTapered.

◆ inFields()

virtual OdResult OdIfc4x2::IfcExtrudedAreaSolid::inFields ( OdDAI::OdSpfFilerBase * rdFiler)
overridevirtual

Reads object's data from the specified filer.

Parameters
rdFiler[in] Pointer to a filer from which to read the data.
Returns
A value of OdResult type that contains the result of the method execution.

Reimplemented from OdIfc4x2::IfcSweptAreaSolid.

Reimplemented in OdIfc4x2::IfcExtrudedAreaSolidTapered.

◆ isKindOf()

virtual bool OdIfc4x2::IfcExtrudedAreaSolid::isKindOf ( OdIfc::OdIfcEntityType entityType) const
overridevirtual

Checks whether the specified instance is the object derived from or belongs to this class.

Parameters
entityType[in] Entity to check.
Returns
true if the specified instance is the object derived from or belongs to this class, false otherwise.

Reimplemented from OdIfc4x2::IfcSweptAreaSolid.

Reimplemented in OdIfc4x2::IfcExtrudedAreaSolidTapered.

◆ outFields()

virtual OdResult OdIfc4x2::IfcExtrudedAreaSolid::outFields ( OdDAI::OdSpfFilerBase * wrFiler)
overridevirtual

Writes object's data the the specified filer.

Parameters
wrFiler[in] Pointer to a filer to which to write the data.
Returns
A value of OdResult type that contains the result of the method execution.

Reimplemented from OdIfc4x2::IfcSweptAreaSolid.

Reimplemented in OdIfc4x2::IfcExtrudedAreaSolidTapered.

◆ putAttr() [1/2]

virtual bool OdIfc4x2::IfcExtrudedAreaSolid::putAttr ( const char * explicitAttrName,
const OdRxValue & val )
overridevirtual

Sets the specified attribute with a given value.

Parameters
explicitAttrName[in] Explicit name of the attribute to set.
val[in] Value to set.
Returns
true if the value is successfully set for the specified attribute, false otherwise.

Reimplemented from OdIfc4x2::IfcSweptAreaSolid.

Reimplemented in OdIfc4x2::IfcExtrudedAreaSolidTapered.

◆ putAttr() [2/2]

virtual bool OdIfc4x2::IfcExtrudedAreaSolid::putAttr ( const OdIfc::OdIfcAttribute explicitAttrDef,
const OdRxValue & val )
overridevirtual

Sets the specified attribute with a given value.

Parameters
explicitAttrDef[in] Explicit attribute definition to set.
val[in] Value to set.
Returns
true if the value is successfully set for the specified attribute, false otherwise.

Reimplemented from OdIfc4x2::IfcSweptAreaSolid.

Reimplemented in OdIfc4x2::IfcExtrudedAreaSolidTapered.

◆ setDepth()

void OdIfc4x2::IfcExtrudedAreaSolid::setDepth ( double Depth)

Sets the value of Depth attribute. This attribute represents the distance the surface is to be swept along the ExtrudedDirection.

Parameters
Depth[in] Depth to set.

◆ setExtrudedDirection()

void OdIfc4x2::IfcExtrudedAreaSolid::setExtrudedDirection ( const OdDAIObjectId & ExtrudedDirection)

Sets the value of ExtrudedDirection attribute. This attribute represents the direction in which the surface, provided by SweptArea is to be swept.

Parameters
ExtrudedDirection[in] Extruded direction to set.

◆ testAttr() [1/2]

virtual bool OdIfc4x2::IfcExtrudedAreaSolid::testAttr ( const char * explicitAttrName) const
overridevirtual

Checks whether the specified attribute is set.

Parameters
explicitAttrName[in] Explicit name of the attribute to test.
Returns
true if the specified attribute is set, false otherwise.

Reimplemented from OdIfc4x2::IfcSweptAreaSolid.

Reimplemented in OdIfc4x2::IfcExtrudedAreaSolidTapered.

◆ testAttr() [2/2]

virtual bool OdIfc4x2::IfcExtrudedAreaSolid::testAttr ( const OdIfc::OdIfcAttribute explicitAttrDef) const
overridevirtual

Checks whether the specified attribute is set.

Parameters
explicitAttrDef[in] Attribute definition to test.
Returns
true if the specified attribute is set, false otherwise.

Reimplemented from OdIfc4x2::IfcSweptAreaSolid.

Reimplemented in OdIfc4x2::IfcExtrudedAreaSolidTapered.

◆ type()

virtual OdIfc::OdIfcEntityType OdIfc4x2::IfcExtrudedAreaSolid::type ( ) const
overridevirtual

Returns the type of this entity.

Returns
A value of the <exref target=https://docs.opendesign.com/tkernel_api_cpp/OdIfc__OdIfcEntityType.html>>OdIfc::OdIfcEntityType</exref> type that represents type of this entity.

Reimplemented from OdIfc4x2::IfcSweptAreaSolid.

Reimplemented in OdIfc4x2::IfcExtrudedAreaSolidTapered.

◆ unsetAttr() [1/2]

virtual void OdIfc4x2::IfcExtrudedAreaSolid::unsetAttr ( const char * explicitAttrName)
overridevirtual

Resets a value for the specified attribute.

Parameters
explicitAttrName[in] Explicit name of the attribute to reset.

Reimplemented from OdIfc4x2::IfcSweptAreaSolid.

Reimplemented in OdIfc4x2::IfcExtrudedAreaSolidTapered.

◆ unsetAttr() [2/2]

virtual void OdIfc4x2::IfcExtrudedAreaSolid::unsetAttr ( const OdIfc::OdIfcAttribute explicitAttrDef)
overridevirtual

Resets a value for the specified attribute.

Parameters
explicitAttrDef[in] Explicit definition that represents an attribute to reset.

Reimplemented from OdIfc4x2::IfcSweptAreaSolid.

Reimplemented in OdIfc4x2::IfcExtrudedAreaSolidTapered.

Member Data Documentation

◆ m_Depth

IfcPositiveLengthMeasure OdIfc4x2::IfcExtrudedAreaSolid::m_Depth
protected

Definition at line 228 of file Ifc4x2/IfcExtrudedAreaSolidAutoImpl.h.

◆ m_ExtrudedDirection

OdDAIObjectId OdIfc4x2::IfcExtrudedAreaSolid::m_ExtrudedDirection
protected

Definition at line 227 of file Ifc4x2/IfcExtrudedAreaSolidAutoImpl.h.


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