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

#include <IfcAlignmentCurveAutoImpl.h>

Inheritance diagram for OdIfc4x2::IfcAlignmentCurve:
OdIfc4x2::IfcBoundedCurve OdIfc4x2::IfcCurve OdIfc4x2::IfcGeometricRepresentationItem OdIfc4x2::IfcRepresentationItem OdIfc4x2::OdIfc4x2Instance OdIfc::OdIfcInstance

Public Member Functions

const OdDAIObjectId & getHorizontal () const
 
void setHorizontal (const OdDAIObjectId &Horizontal)
 
const OdDAIObjectId & getVertical () const
 
void setVertical (const OdDAIObjectId &Vertical)
 
const OdAnsiString & getTag () const
 
void setTag (const OdAnsiString &Tag)
 
 IfcAlignmentCurve ()
 
virtual OdResult inFields (OdDAI::OdSpfFilerBase *rdFiler) override
 
virtual OdResult outFields (OdDAI::OdSpfFilerBase *wrFiler) override
 
virtual void setInverseCounterParts () 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::IfcBoundedCurve
OdDAIObjectId getInvPositioningElement () const
 
- 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_Horizontal
 
OdDAIObjectId m_Vertical
 
OdAnsiString m_Tag
 
- 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 IfcAlignmentCurve describes a 3D curve based on a 2D vertical curve defined along the path of a 2D horizontal curve.

Definition at line 42 of file Ifc4x2/IfcAlignmentCurveAutoImpl.h.

Constructor & Destructor Documentation

◆ IfcAlignmentCurve()

OdIfc4x2::IfcAlignmentCurve::IfcAlignmentCurve ( )

Default constructor for the IfcAlignmentCurve class.

Member Function Documentation

◆ getAttr() [1/2]

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

◆ getAttr() [2/2]

virtual OdRxValue OdIfc4x2::IfcAlignmentCurve::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::IfcBoundedCurve.

◆ getHorizontal()

const OdDAIObjectId & OdIfc4x2::IfcAlignmentCurve::getHorizontal ( ) const

Returns the value of Horizontal attribute. This attribute represents the horizontal component of the curve.

Returns
Returns the value of Horizontal attribute.

◆ getInstanceType()

virtual OdDAI::Entity * OdIfc4x2::IfcAlignmentCurve::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::IfcBoundedCurve.

◆ getTag()

const OdAnsiString & OdIfc4x2::IfcAlignmentCurve::getTag ( ) const

Returns the value of Tag attribute. This attribute represents optional identifier of the curve, which can be used to correlate points from a variable cross-section.

Returns
Returns the value of Tag attribute.

◆ getVertical()

const OdDAIObjectId & OdIfc4x2::IfcAlignmentCurve::getVertical ( ) const

Returns the value of Vertical attribute. This attribute represents the vertical component of the curve, which is defined relative to the horizontal curve.

Returns
Returns the value of Vertical attribute.

◆ inFields()

virtual OdResult OdIfc4x2::IfcAlignmentCurve::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::IfcBoundedCurve.

◆ isKindOf()

virtual bool OdIfc4x2::IfcAlignmentCurve::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::IfcBoundedCurve.

◆ outFields()

virtual OdResult OdIfc4x2::IfcAlignmentCurve::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::IfcBoundedCurve.

◆ putAttr() [1/2]

virtual bool OdIfc4x2::IfcAlignmentCurve::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 OdIfc::OdIfcInstance.

◆ putAttr() [2/2]

virtual bool OdIfc4x2::IfcAlignmentCurve::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::IfcBoundedCurve.

◆ setHorizontal()

void OdIfc4x2::IfcAlignmentCurve::setHorizontal ( const OdDAIObjectId & Horizontal)

Sets the value of Horizontal attribute. This attribute represents the horizontal component of the curve.

Parameters
Horizontal[in] Horizontal attribute to set.

◆ setInverseCounterParts()

virtual void OdIfc4x2::IfcAlignmentCurve::setInverseCounterParts ( )
overridevirtual

Sets the object ID of this instance to inverse attributes of related instances according to schema specification of inverse attributes.

◆ setTag()

void OdIfc4x2::IfcAlignmentCurve::setTag ( const OdAnsiString & Tag)

Sets the value of Tag attribute. This attribute represents optional identifier of the curve, which can be used to correlate points from a variable cross-section.

Parameters
Tag[in] Tag attribute to set.

◆ setVertical()

void OdIfc4x2::IfcAlignmentCurve::setVertical ( const OdDAIObjectId & Vertical)

Sets the value of Vertical attribute. This attribute represents the vertical component of the curve, which is defined relative to the horizontal curve.

Parameters
Vertical[in] Vertical attribute to set.

◆ testAttr() [1/2]

virtual bool OdIfc4x2::IfcAlignmentCurve::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::IfcBoundedCurve.

◆ testAttr() [2/2]

virtual bool OdIfc4x2::IfcAlignmentCurve::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::IfcBoundedCurve.

◆ type()

virtual OdIfc::OdIfcEntityType OdIfc4x2::IfcAlignmentCurve::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::IfcBoundedCurve.

◆ unsetAttr() [1/2]

virtual void OdIfc4x2::IfcAlignmentCurve::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::IfcBoundedCurve.

◆ unsetAttr() [2/2]

virtual void OdIfc4x2::IfcAlignmentCurve::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::IfcBoundedCurve.

Member Data Documentation

◆ m_Horizontal

OdDAIObjectId OdIfc4x2::IfcAlignmentCurve::m_Horizontal
protected

Definition at line 218 of file Ifc4x2/IfcAlignmentCurveAutoImpl.h.

◆ m_Tag

OdAnsiString OdIfc4x2::IfcAlignmentCurve::m_Tag
protected

Definition at line 220 of file Ifc4x2/IfcAlignmentCurveAutoImpl.h.

◆ m_Vertical

OdDAIObjectId OdIfc4x2::IfcAlignmentCurve::m_Vertical
protected

Definition at line 219 of file Ifc4x2/IfcAlignmentCurveAutoImpl.h.


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