|
CFx SDK Documentation 2026 SP0
|
#include <IfcIndexedPolyCurveAutoImpl.h>
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 OdIfc4::IfcRepresentationItem | |
| void | getInvLayerAssignment (OdDAIObjectIds &LayerAssignment) const |
| void | getInvStyledByItem (OdDAIObjectIds &StyledByItem) const |
Public Member Functions inherited from OdIfc4::OdIfc4Instance | |
| 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 OdGsCache * | gsNode () 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 | |
| void * | m_resPtr |
| IfcOpResult | m_resolved |
Additional Inherited Members | |
Static Public Member Functions inherited from OdIfc::OdIfcInstance | |
| static const OdGePoint3d * | asPoint3d (const OdIfcInstance *inst) |
| static const OdGePoint2d * | asPoint2d (const OdIfcInstance *inst) |
| static const OdGeVector3d * | asVector3d (const OdIfcInstance *inst) |
| static const OdGeVector2d * | asVector2d (const OdIfcInstance *inst) |
| static const OdGeMatrix2d * | asMatrix2d (const OdIfcInstance *inst) |
| static const OdGeMatrix3d * | asMatrix3d (const OdIfcInstance *inst) |
| static OdIfcCompoundPtr | asCompound (OdSmartPtr< OdIfcInstance > inst) |
| static const OdCmEntityColor * | asRgbColor (const OdIfcInstance *inst) |
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 Ifc4/IfcIndexedPolyCurveAutoImpl.h.
| OdIfc4::IfcIndexedPolyCurve::IfcIndexedPolyCurve | ( | ) |
Default constructor for the IfcIndexedPolyCurve class.
|
overridevirtual |
Early-bound version of instances comparison.
| pOther | [in] Other application instance. |
| ordering | [out] Receives the ordering (comparison) status. |
Reimplemented from OdIfc4::IfcBoundedCurve.
|
overridevirtual |
Returns an attribute value for the specified attribute name.
| attrName | [in] Name of an attribute to query. |
|
overridevirtual |
Returns an attribute value for the specified attribute definition.
| attrDef | [in] Attribute definition to query. |
Reimplemented from OdIfc4::IfcRepresentationItem.
|
overridevirtual |
Returns a type of a class instance.
Reimplemented from OdIfc4::IfcBoundedCurve.
| const OdDAIObjectId & OdIfc4::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.
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.
| Segments | [out] Receives the Segments attribute. |
| void OdIfc4::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.
| Segments | [out] Receives the Segments attribute. |
| OdDAI::Boolean OdIfc4::IfcIndexedPolyCurve::getSelfIntersect | ( | ) | const |
Returns the value of SelfIntersect attribute. This attribute indicates whether the curve intersects itself.
|
overridevirtual |
Reads object's data from the specified filer.
| rdFiler | [in] Pointer to a filer from which to read the data. |
Reimplemented from OdIfc4::IfcRepresentationItem.
|
overridevirtual |
Checks whether the specified instance is the object derived from or belongs to this class.
| entityType | [in] Entity to check. |
Reimplemented from OdIfc4::IfcBoundedCurve.
|
overridevirtual |
Writes object's data the the specified filer.
| wrFiler | [in] Pointer to a filer to which to write the data. |
Reimplemented from OdIfc4::IfcRepresentationItem.
|
overridevirtual |
Sets the specified attribute with a given value.
| explicitAttrName | [in] Explicit name of the attribute to set. |
| val | [in] Value to set. |
Reimplemented from OdIfc::OdIfcInstance.
|
overridevirtual |
Sets the specified attribute with a given value.
| explicitAttrDef | [in] Explicit attribute definition to set. |
| val | [in] Value to set. |
Reimplemented from OdIfc4::IfcRepresentationItem.
| OdDAI::ListOfSelect & OdIfc4::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.
| void OdIfc4::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.
| Points | [in] Points to set. |
| void OdIfc4::IfcIndexedPolyCurve::setSelfIntersect | ( | OdDAI::Boolean | SelfIntersect | ) |
Sets the value of SelfIntersect attribute. This attribute indicates whether the curve intersects itself.
| SelfIntersect | [in] SelfIntersect attribute to set. |
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrName | [in] Explicit name of the attribute to test. |
Reimplemented from OdIfc4::IfcRepresentationItem.
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrDef | [in] Attribute definition to test. |
Reimplemented from OdIfc4::IfcRepresentationItem.
|
overridevirtual |
Returns the type of this entity.
Reimplemented from OdIfc4::IfcBoundedCurve.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrName | [in] Explicit name of the attribute to reset. |
Reimplemented from OdIfc4::IfcRepresentationItem.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrDef | [in] Explicit definition that represents an attribute to reset. |
Reimplemented from OdIfc4::IfcRepresentationItem.
|
protected |
Definition at line 264 of file Ifc4/IfcIndexedPolyCurveAutoImpl.h.
|
protected |
Definition at line 265 of file Ifc4/IfcIndexedPolyCurveAutoImpl.h.
|
protected |
Definition at line 267 of file Ifc4/IfcIndexedPolyCurveAutoImpl.h.