CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
OdIfc4x4::IfcSectionedSpine Class Reference

#include <IfcSectionedSpineAutoImpl.h>

Inheritance diagram for OdIfc4x4::IfcSectionedSpine:
OdIfc4x4::IfcGeometricRepresentationItem OdIfc4x4::IfcRepresentationItem OdIfc4x4::OdIFC4X4Instance OdIfc::OdIfcInstance

Public Member Functions

const OdDAIObjectId & getSpineCurve () const
 
void setSpineCurve (const OdDAIObjectId &SpineCurve)
 
void getCrossSections (OdDAIObjectIds &CrossSections) const
 
OdDAI::ListOfOdDAIObjectId & crossSections ()
 
void getCrossSectionPositions (OdDAIObjectIds &CrossSectionPositions) const
 
OdDAI::ListOfOdDAIObjectId & crossSectionPositions ()
 
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 OdIfc4x4::IfcRepresentationItem
void getInvLayerAssignment (OdDAIObjectIds &LayerAssignment) const
 
void getInvStyledByItem (OdDAIObjectIds &StyledByItem) const
 
- Public Member Functions inherited from OdIfc4x4::OdIFC4X4Instance
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_SpineCurve
 
OdDAI::ListOfOdDAIObjectId m_CrossSections
 
OdDAI::ListOfOdDAIObjectId m_CrossSectionPositions
 
- 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 IfcSectionedSpine is a representation of the shape of a three dimensional object composed by a number of planar cross sections, and a spine curve. The shape is defined between the first element of cross sections and the last element of the cross sections. A sectioned spine can be used to represent a surface or a solid but the interpolation of the shape between the cross sections is not defined.

  • Details - All cross sections have to define areas by a closed profile to allow for the representation of a solid. All cross sections have to define curves by an open or closed profile to allow for the representation of a surface. The cross sections are defined by subtypes of IfcProfileDef, where the consecutive profiles can be derived by a transformation of the start profile or the previous consecutive profile.

The image below illustrates an example of an IfcSectionedSpine. The SpineCurve is specified by an IfcCompositeCurve with two Segments. The Segments[1] has a ParentCurve of type IfcPolyline and a Transition = CONTSAMEGRADIENT. The Segments[2] has a ParentCurve of type IfcTrimmedCurve and a Transition = DISCONTINUOUS. Each CrossSectionPosition lies at a start or end point of the Segments. Each CrossSections are inserted by the CrossSectionPositions. The first two cross sections are of IfcRectangleProfileDef type, the third is of IfcDerivedProfileDef type.

<IMAGE ifcsectionedspine-layout1>

Definition at line 60 of file IFC4X4/IfcSectionedSpineAutoImpl.h.

Member Function Documentation

◆ comparedToEarlyImpl()

virtual bool OdIfc4x4::IfcSectionedSpine::comparedToEarlyImpl ( const OdDAI::ApplicationInstance * pOther,
OdRx::Ordering & ordering ) const
overridevirtual

Early-bound version of instances comparison.

Parameters
pOther[in] Other application instance.
ordering[out] Receives the ordering (comparison) status.
Returns
true if comparison was performed, false if method has no implementation, so late-bound version could be applied.
Remarks
If the method returns true, the ordering parameter can receive one of the following statuses:
Value Description kLessThan -1 This object < Other Object. kEqual 0 This object = Other Object. kGreaterThan 1 This object > Other Object. kNotOrderable 2 This class is not orderable.

Reimplemented from OdIfc4x4::IfcGeometricRepresentationItem.

◆ crossSectionPositions()

OdDAI::ListOfOdDAIObjectId & OdIfc4x4::IfcSectionedSpine::crossSectionPositions ( )

Returns the value of CrossSectionPositions attribute. This attribute represents position coordinate systems for the cross sections that form the sectioned spine. The profiles defining the cross sections are positioned within the xy plane of the corresponding position coordinate system.

Returns
Returns the value of CrossSectionPositions attribute.

◆ crossSections()

OdDAI::ListOfOdDAIObjectId & OdIfc4x4::IfcSectionedSpine::crossSections ( )

Returns the value of CrossSections attribute. This attribute represents a list of at least two cross sections, each defined within the xy plane of the position coordinate system of the cross section. The position coordinate system is specified by the corresponding list CrossSectionPositions.

Returns
Returns the value of CrossSections attribute.

◆ getAttr() [1/2]

virtual OdRxValue OdIfc4x4::IfcSectionedSpine::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 OdIfc4x4::IfcSectionedSpine::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 OdIfc4x4::IfcRepresentationItem.

◆ getCrossSectionPositions()

void OdIfc4x4::IfcSectionedSpine::getCrossSectionPositions ( OdDAIObjectIds & CrossSectionPositions) const

Gets the value of CrossSectionPositions attribute. This attribute represents position coordinate systems for the cross sections that form the sectioned spine. The profiles defining the cross sections are positioned within the xy plane of the corresponding position coordinate system.

Parameters
CrossSectionPositions[out] Receives the CrossSectionPositions attribute.

◆ getCrossSections()

void OdIfc4x4::IfcSectionedSpine::getCrossSections ( OdDAIObjectIds & CrossSections) const

Gets the value of CrossSections attribute. This attribute represents a list of at least two cross sections, each defined within the xy plane of the position coordinate system of the cross section. The position coordinate system is specified by the corresponding list CrossSectionPositions.

Parameters
CrossSections[out] Receives the CrossSections attribute.

◆ getInstanceType()

virtual OdDAI::Entity * OdIfc4x4::IfcSectionedSpine::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 OdIfc4x4::IfcGeometricRepresentationItem.

◆ getSpineCurve()

const OdDAIObjectId & OdIfc4x4::IfcSectionedSpine::getSpineCurve ( ) const

Returns the value of SpineCurve attribute. This attribute represents a single composite curve, that defines the spine curve. Each of the composite curve segments correspond to the part between two cross-sections.

Returns
Returns the value of SpineCurve attribute.

◆ inFields()

virtual OdResult OdIfc4x4::IfcSectionedSpine::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 OdIfc4x4::IfcRepresentationItem.

◆ isKindOf()

virtual bool OdIfc4x4::IfcSectionedSpine::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 OdIfc4x4::IfcGeometricRepresentationItem.

◆ outFields()

virtual OdResult OdIfc4x4::IfcSectionedSpine::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 OdIfc4x4::IfcRepresentationItem.

◆ putAttr() [1/2]

virtual bool OdIfc4x4::IfcSectionedSpine::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 OdIfc4x4::IfcSectionedSpine::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 OdIfc4x4::IfcRepresentationItem.

◆ setSpineCurve()

void OdIfc4x4::IfcSectionedSpine::setSpineCurve ( const OdDAIObjectId & SpineCurve)

Sets the value of SpineCurve attribute. This attribute represents a single composite curve, that defines the spine curve. Each of the composite curve segments correspond to the part between two cross-sections.

Parameters
SpineCurve[in] Spine curve to set.

◆ testAttr() [1/2]

virtual bool OdIfc4x4::IfcSectionedSpine::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 OdIfc4x4::IfcRepresentationItem.

◆ testAttr() [2/2]

virtual bool OdIfc4x4::IfcSectionedSpine::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 OdIfc4x4::IfcRepresentationItem.

◆ type()

virtual OdIfc::OdIfcEntityType OdIfc4x4::IfcSectionedSpine::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 OdIfc4x4::IfcGeometricRepresentationItem.

◆ unsetAttr() [1/2]

virtual void OdIfc4x4::IfcSectionedSpine::unsetAttr ( const char * explicitAttrName)
overridevirtual

Resets a value for the specified attribute.

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

Reimplemented from OdIfc4x4::IfcRepresentationItem.

◆ unsetAttr() [2/2]

virtual void OdIfc4x4::IfcSectionedSpine::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 OdIfc4x4::IfcRepresentationItem.

Member Data Documentation

◆ m_CrossSectionPositions

OdDAI::ListOfOdDAIObjectId OdIfc4x4::IfcSectionedSpine::m_CrossSectionPositions
protected

Definition at line 253 of file IFC4X4/IfcSectionedSpineAutoImpl.h.

◆ m_CrossSections

OdDAI::ListOfOdDAIObjectId OdIfc4x4::IfcSectionedSpine::m_CrossSections
protected

Definition at line 252 of file IFC4X4/IfcSectionedSpineAutoImpl.h.

◆ m_SpineCurve

OdDAIObjectId OdIfc4x4::IfcSectionedSpine::m_SpineCurve
protected

Definition at line 251 of file IFC4X4/IfcSectionedSpineAutoImpl.h.


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