CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
OdIfc2x_final::IfcCompositeCurve Class Reference

#include <IfcCompositeCurveAutoImpl.h>

Inheritance diagram for OdIfc2x_final::IfcCompositeCurve:
OdIfc2x_final::IfcBoundedCurve OdIfc2x_final::IfcCurve OdIfc2x_final::IfcGeometricRepresentationItem OdIfc2x_final::IfcRepresentationItem OdIfc2x_final::OdIfc2x_FinalInstance OdIfc::OdIfcInstance OdIfc2x_final::Ifc2DCompositeCurve

Public Member Functions

void getSegments (OdDAIObjectIds &Segments) const
 
OdDAI::ListOfOdDAIObjectId & segments ()
 
OdDAI::Logical getSelfIntersect () const
 
void setSelfIntersect (OdDAI::Logical SelfIntersect)
 
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 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

OdDAI::ListOfOdDAIObjectId m_Segments
 
OdDAI::Logical m_SelfIntersect
 
- 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 IfcCompositeCurve is a continuous curve composed of curve segments that are joined end-to-end. The parameterization of the composite curve is an accumulation of the parametric ranges of the referenced bounded curves.

  • Example - The illustration below shows an example of a composite curve.

<IMAGE ifc_ifccompositecurve_overview>

A composite curve consists of a line and an arc segment:

Line parameterization: IfcPolyline with start= 0.,0. end= 0.,1., SameSense= TRUE, parametric length = 1. Arch parameterization: IfcTrimmedCurve with start= 180', end= 90', SameSense= FALSE, parametric length = 90. Then the parameterization of the composite curve is: IfcCompositeCurve with 0 ≤ T ≤ 1 (line segment) and 1 ≤ T ≤ 91 (arc segment), parametric length = 91.

Definition at line 52 of file Ifc2x_Final/IfcCompositeCurveAutoImpl.h.

Member Function Documentation

◆ getAttr() [1/2]

virtual OdRxValue OdIfc2x_final::IfcCompositeCurve::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 OdIfc2x_final::IfcCompositeCurve::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 OdIfc::OdIfcInstance.

◆ getInstanceType()

virtual OdDAI::Entity * OdIfc2x_final::IfcCompositeCurve::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 OdIfc2x_final::IfcBoundedCurve.

Reimplemented in OdIfc2x_final::Ifc2DCompositeCurve.

◆ getSegments()

void OdIfc2x_final::IfcCompositeCurve::getSegments ( OdDAIObjectIds & Segments) const

Gets the value of Segments attribute. Segments is the component bounded curves, their transitions and senses. The transition attribute for the last segment defines the transition between the end of the last segment and the start of the first; this transition attribute can take the value discontinuous, which indicates an open curve.

Parameters
Segments[out] Receives object identifiers of the composite curve segments.
Remarks
For IfcGradientCurve and IfcSegmentedReferenceCurve the segments define the interpolation between segment start and and segment end.

◆ getSelfIntersect()

OdDAI::Logical OdIfc2x_final::IfcCompositeCurve::getSelfIntersect ( ) const

Returns the value of SelfIntersect attribute. SelfIntersect is an indication of whether the curve intersects itself.

Returns
Returns the value of SelfIntersect attribute.

◆ inFields()

virtual OdResult OdIfc2x_final::IfcCompositeCurve::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.

◆ isKindOf()

virtual bool OdIfc2x_final::IfcCompositeCurve::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 OdIfc2x_final::IfcBoundedCurve.

Reimplemented in OdIfc2x_final::Ifc2DCompositeCurve.

◆ outFields()

virtual OdResult OdIfc2x_final::IfcCompositeCurve::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.

◆ putAttr() [1/2]

virtual bool OdIfc2x_final::IfcCompositeCurve::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 OdIfc2x_final::IfcCompositeCurve::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 OdIfc::OdIfcInstance.

◆ segments()

OdDAI::ListOfOdDAIObjectId & OdIfc2x_final::IfcCompositeCurve::segments ( )

Returns the value of Segments attribute. Segments represents the component bounded curves, their transitions and senses. The transition attribute for the last segment defines the transition between the end of the last segment and the start of the first; this transition attribute can take the value discontinuous which indicates an open curve.

Returns
Object identifiers of the composite curve segments.
Remarks
For IfcGradientCurve and IfcSegmentedReferenceCurve the segments define the interpolation between segment start and and segment end.

◆ setSelfIntersect()

void OdIfc2x_final::IfcCompositeCurve::setSelfIntersect ( OdDAI::Logical SelfIntersect)

Sets the value of SelfIntersect attribute. SelfIntersect is an indication of whether the curve intersects itself.

Parameters
SelfIntersect[in] SelfIntersect attribute to set.

◆ testAttr() [1/2]

virtual bool OdIfc2x_final::IfcCompositeCurve::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 OdIfc::OdIfcInstance.

◆ testAttr() [2/2]

virtual bool OdIfc2x_final::IfcCompositeCurve::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 OdIfc::OdIfcInstance.

◆ type()

virtual OdIfc::OdIfcEntityType OdIfc2x_final::IfcCompositeCurve::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 OdIfc2x_final::IfcBoundedCurve.

Reimplemented in OdIfc2x_final::Ifc2DCompositeCurve.

◆ unsetAttr() [1/2]

virtual void OdIfc2x_final::IfcCompositeCurve::unsetAttr ( const char * explicitAttrName)
overridevirtual

Resets a value for the specified attribute.

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

Reimplemented from OdIfc::OdIfcInstance.

◆ unsetAttr() [2/2]

virtual void OdIfc2x_final::IfcCompositeCurve::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 OdIfc::OdIfcInstance.

Member Data Documentation

◆ m_Segments

OdDAI::ListOfOdDAIObjectId OdIfc2x_final::IfcCompositeCurve::m_Segments
protected

Definition at line 207 of file Ifc2x_Final/IfcCompositeCurveAutoImpl.h.

◆ m_SelfIntersect

OdDAI::Logical OdIfc2x_final::IfcCompositeCurve::m_SelfIntersect
protected

Definition at line 208 of file Ifc2x_Final/IfcCompositeCurveAutoImpl.h.


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