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

#include <IfcIndexedPolyCurveAutoImpl.h>

Inheritance diagram for OdIfc4x4::IfcIndexedPolyCurve:
OdIfc4x4::IfcBoundedCurve OdIfc4x4::IfcCurve OdIfc4x4::IfcGeometricRepresentationItem OdIfc4x4::IfcRepresentationItem OdIfc4x4::OdIFC4X4Instance OdIfc::OdIfcInstance

Public Member Functions

const OdDAIObjectId & getPoints () const
 
void setPoints (const OdDAIObjectId &Points)
 
void getSegments (OdArray< OdDAI::Select > &Segments) const
 
void getSegmentsWrapperArray (OdArray< IfcSegmentIndexSelect > &Segments) const
 
OdDAI::ListOfSelect & segments ()
 
OdDAI::Boolean getSelfIntersect () const
 
void setSelfIntersect (OdDAI::Boolean SelfIntersect)
 
 IfcIndexedPolyCurve ()
 
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_Points
 
OdDAI::ListOfSelect m_Segments
 
OdDAI::Boolean 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

The IfcIndexedPolyCurve is a bounded curve with only linear and circular arc segments defined by a Cartesian point list and an optional list of segments, providing indices into the Cartesian point list. In the case that the list of Segments is not provided, all points in the IfcCartesianPointList are connected by straight line segments in the order they appear in the IfcCartesianPointList. In the case that the list of Segments is provided, it is interpreted as such: Segment of IfcLineIndex type: The first index is the start point of the polyline segment, the last index is the end point of the polyline segment. If more than two indices are included, then all intermediate indices define intermediate points of the polyline connected in the order of appearance of the indices; Segment of IfcArcIndex type: The first index is the start point of the circular arc, the second index is a point on arc, the third index is the end point of the circular arc. The three points are not co-linear. In case that this informal proposition is not maintained, the arc segment are treated as a polyline segment.

Definition at line 50 of file IFC4X4/IfcIndexedPolyCurveAutoImpl.h.

Constructor & Destructor Documentation

◆ IfcIndexedPolyCurve()

OdIfc4x4::IfcIndexedPolyCurve::IfcIndexedPolyCurve ( )

Default constructor for the IfcIndexedPolyCurve class.

Member Function Documentation

◆ comparedToEarlyImpl()

virtual bool OdIfc4x4::IfcIndexedPolyCurve::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::IfcBoundedCurve.

◆ getAttr() [1/2]

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

◆ getInstanceType()

virtual OdDAI::Entity * OdIfc4x4::IfcIndexedPolyCurve::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::IfcBoundedCurve.

◆ getPoints()

const OdDAIObjectId & OdIfc4x4::IfcIndexedPolyCurve::getPoints ( ) const

Returns the value of Points attribute. This attribute represents a list of points, provided by a point list of either two or three dimensions, that is used to define the polycurve. If the Segments attribute is not provided, the polycurve is generated as a polyline by connecting the points in the order of their appearance in the point list. If the Segments attribute is provided, the segments determine how the points are to be used to create straight and circular arc segments.

Returns
Returns the value of Points attribute.

◆ getSegments()

void OdIfc4x4::IfcIndexedPolyCurve::getSegments ( OdArray< OdDAI::Select > & Segments) const

Gets the value of Segments attribute. This attribute represents list of straight line and circular arc segments, each providing a list of indices into the Cartesian point list. Indices should preserve consecutive connectivity between the segments, the start index of the next segment is identical with the end index of the previous segment.

Parameters
Segments[out] Receives the Segments attribute.

◆ getSegmentsWrapperArray()

void OdIfc4x4::IfcIndexedPolyCurve::getSegmentsWrapperArray ( OdArray< IfcSegmentIndexSelect > & Segments) const

Gets the value of Segments attribute. This attribute represents list of straight line and circular arc segments, each providing a list of indices into the Cartesian point list. Indices should preserve consecutive connectivity between the segments, the start index of the next segment is identical with the end index of the previous segment.

Parameters
Segments[out] Receives the Segments attribute.

◆ getSelfIntersect()

OdDAI::Boolean OdIfc4x4::IfcIndexedPolyCurve::getSelfIntersect ( ) const

Returns the value of SelfIntersect attribute. This attribute indicates whether the curve intersects itself.

Returns
Returns the value of SelfIntersect attribute.

◆ inFields()

virtual OdResult OdIfc4x4::IfcIndexedPolyCurve::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::IfcIndexedPolyCurve::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::IfcBoundedCurve.

◆ outFields()

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

◆ segments()

OdDAI::ListOfSelect & OdIfc4x4::IfcIndexedPolyCurve::segments ( )

Returns the value of Segments attribute. This attribute represents list of straight line and circular arc segments, each providing a list of indices into the Cartesian point list. Indices should preserve consecutive connectivity between the segments, the start index of the next segment is identical with the end index of the previous segment.

Returns
Returns the value of Segments attribute.

◆ setPoints()

void OdIfc4x4::IfcIndexedPolyCurve::setPoints ( const OdDAIObjectId & Points)

Sets the value of Points attribute. This attribute represents a list of points, provided by a point list of either two or three dimensions, that is used to define the polycurve. If the Segments attribute is not provided, the polycurve is generated as a polyline by connecting the points in the order of their appearance in the point list. If the attribute Segments is provided, the segments determine how the points are to be used to create straight and circular arc segments.

Parameters
Points[in] Points to set.

◆ setSelfIntersect()

void OdIfc4x4::IfcIndexedPolyCurve::setSelfIntersect ( OdDAI::Boolean SelfIntersect)

Sets the value of SelfIntersect attribute. This attribute indicates whether the curve intersects itself.

Parameters
SelfIntersect[in] SelfIntersect attribute to set.

◆ testAttr() [1/2]

virtual bool OdIfc4x4::IfcIndexedPolyCurve::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::IfcIndexedPolyCurve::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::IfcIndexedPolyCurve::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::IfcBoundedCurve.

◆ unsetAttr() [1/2]

virtual void OdIfc4x4::IfcIndexedPolyCurve::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::IfcIndexedPolyCurve::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_Points

OdDAIObjectId OdIfc4x4::IfcIndexedPolyCurve::m_Points
protected

Definition at line 264 of file IFC4X4/IfcIndexedPolyCurveAutoImpl.h.

◆ m_Segments

OdDAI::ListOfSelect OdIfc4x4::IfcIndexedPolyCurve::m_Segments
protected

Definition at line 265 of file IFC4X4/IfcIndexedPolyCurveAutoImpl.h.

◆ m_SelfIntersect

OdDAI::Boolean OdIfc4x4::IfcIndexedPolyCurve::m_SelfIntersect
protected

Definition at line 267 of file IFC4X4/IfcIndexedPolyCurveAutoImpl.h.


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