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

#include <IfcRevolvedAreaSolidAutoImpl.h>

Inheritance diagram for OdIfc4x2::IfcRevolvedAreaSolid:
OdIfc4x2::IfcSweptAreaSolid OdIfc4x2::IfcSolidModel OdIfc4x2::IfcGeometricRepresentationItem OdIfc4x2::IfcRepresentationItem OdIfc4x2::OdIfc4x2Instance OdIfc::OdIfcInstance OdIfc4x2::IfcRevolvedAreaSolidTapered

Public Member Functions

const OdDAIObjectId & getAxis () const
 
void setAxis (const OdDAIObjectId &Axis)
 
double getAngle () const
 
void setAngle (double Angle)
 
 IfcRevolvedAreaSolid ()
 
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_Axis
 
double m_Angle
 
- 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

An IfcRevolvedAreaSolid is a solid created by revolving a cross section provided by a profile definition about an axis.

  • Details - The resulting solid is positioned by the IfcSweptAreaSolid.Position relative to the object coordinate system. If provided, it allows to reposition the revolved solid. If not provided, it defaults to the current object coordinate system. The axis and the cross section is in the same plane, prior to any repositioning. The image below illustrates geometric parameters of the revolved solid. The revolved area solid defines the revolution of a 2D area (given by a profile definition) by an axis and angle. The result is a solid.

<IMAGE ifcrevolvedareasolid-fig1>

The AxisLine can have any orientation within the XY plane, it does not have to be parallel to the y-axis as shown in the illustration. The image below illustrates repositioned revolved area solid geometry.

<IMAGE ifcrevolvedareasolid-fig2>

  • Texture Use Definition - For side faces, textures are aligned facing upright 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 outermost (longest) revolution path according to RepeatT, where coordinates are compressed towards the axis of revolution.

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 ifcrevolvedareasolid-texture>

Definition at line 75 of file Ifc4x2/IfcRevolvedAreaSolidAutoImpl.h.

Constructor & Destructor Documentation

◆ IfcRevolvedAreaSolid()

OdIfc4x2::IfcRevolvedAreaSolid::IfcRevolvedAreaSolid ( )

Default constructor for the IfcRevolvedAreaSolid class.

Member Function Documentation

◆ getAngle()

double OdIfc4x2::IfcRevolvedAreaSolid::getAngle ( ) const

Returns the value of Angle attribute. This attribute represents the angle through which the sweep is made. This angle is measured from the plane of the swept area provided by the XY plane of the position coordinate system.

Returns
Returns the value of Angle attribute.

◆ getAttr() [1/2]

virtual OdRxValue OdIfc4x2::IfcRevolvedAreaSolid::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::IfcRevolvedAreaSolidTapered.

◆ getAttr() [2/2]

virtual OdRxValue OdIfc4x2::IfcRevolvedAreaSolid::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::IfcRevolvedAreaSolidTapered.

◆ getAxis()

const OdDAIObjectId & OdIfc4x2::IfcRevolvedAreaSolid::getAxis ( ) const

Returns the value of Axis attribute. This attribute represents axis about which revolution takes place.

Returns
Returns the value of Axis attribute.

◆ getInstanceType()

virtual OdDAI::Entity * OdIfc4x2::IfcRevolvedAreaSolid::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::IfcRevolvedAreaSolidTapered.

◆ inFields()

virtual OdResult OdIfc4x2::IfcRevolvedAreaSolid::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::IfcRevolvedAreaSolidTapered.

◆ isKindOf()

virtual bool OdIfc4x2::IfcRevolvedAreaSolid::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::IfcRevolvedAreaSolidTapered.

◆ outFields()

virtual OdResult OdIfc4x2::IfcRevolvedAreaSolid::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::IfcRevolvedAreaSolidTapered.

◆ putAttr() [1/2]

virtual bool OdIfc4x2::IfcRevolvedAreaSolid::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::IfcRevolvedAreaSolidTapered.

◆ putAttr() [2/2]

virtual bool OdIfc4x2::IfcRevolvedAreaSolid::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::IfcRevolvedAreaSolidTapered.

◆ setAngle()

void OdIfc4x2::IfcRevolvedAreaSolid::setAngle ( double Angle)

Sets the value of Angle attribute. This attribute represents the angle through which the sweep is made. This angle is measured from the plane of the swept area provided by the XY plane of the position coordinate system.

Parameters
Angle[in] Angle to set.

◆ setAxis()

void OdIfc4x2::IfcRevolvedAreaSolid::setAxis ( const OdDAIObjectId & Axis)

Sets the value of Axis attribute. This attribute represents axis about which revolution takes place.

Parameters
Axis[in] Axis to set.

◆ testAttr() [1/2]

virtual bool OdIfc4x2::IfcRevolvedAreaSolid::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::IfcRevolvedAreaSolidTapered.

◆ testAttr() [2/2]

virtual bool OdIfc4x2::IfcRevolvedAreaSolid::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::IfcRevolvedAreaSolidTapered.

◆ type()

virtual OdIfc::OdIfcEntityType OdIfc4x2::IfcRevolvedAreaSolid::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::IfcRevolvedAreaSolidTapered.

◆ unsetAttr() [1/2]

virtual void OdIfc4x2::IfcRevolvedAreaSolid::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::IfcRevolvedAreaSolidTapered.

◆ unsetAttr() [2/2]

virtual void OdIfc4x2::IfcRevolvedAreaSolid::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::IfcRevolvedAreaSolidTapered.

Member Data Documentation

◆ m_Angle

double OdIfc4x2::IfcRevolvedAreaSolid::m_Angle
protected

Definition at line 232 of file Ifc4x2/IfcRevolvedAreaSolidAutoImpl.h.

◆ m_Axis

OdDAIObjectId OdIfc4x2::IfcRevolvedAreaSolid::m_Axis
protected

Definition at line 231 of file Ifc4x2/IfcRevolvedAreaSolidAutoImpl.h.


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