CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
OdIfc::OdIfcSegment Class Referenceabstract

#include <IfcSegment.h>

Inheritance diagram for OdIfc::OdIfcSegment:
OdIfc::OdIfcGeometricRepresentationItem OdIfc::OdIfcRepresentationItem OdIfc::OdIfcCachedCompound OdIfc::OdIfcCompound OdIfc::OdIfcCurveSegment

Public Member Functions

void compose () ODRX_OVERRIDE
 
virtual OdGeCurve3dgetGeCurveCopy ()
 
virtual const OdGeCurve3dgetGeCurve ()=0
 
bool is3dSeg () const
 
virtual bool isSameSense () const =0
 
bool draw (OdGiWorldDraw *pWd) const =0
 
- Public Member Functions inherited from OdIfc::OdIfcGeometricRepresentationItem
virtual OdDAI::OdBodyVariant bodyContainer () const
 
- Public Member Functions inherited from OdIfc::OdIfcRepresentationItem
virtual ~OdIfcRepresentationItem ()
 
virtual OdUInt32 subSetAttributes (OdGiDrawableTraits *pTraits) const
 
virtual bool subWorldDraw (OdGiWorldDraw *wd) const
 
virtual OdResult transformBy (const OdGeMatrix3d &transform)
 
- Public Member Functions inherited from OdIfc::OdIfcCachedCompound
 OdIfcCachedCompound ()
 
virtual void setGsNode (OdGsCache *pGsNode)
 
virtual OdGsCachegsNode () const
 
- Public Member Functions inherited from OdIfc::OdIfcCompound
void compose () override
 
OdIfcEntityType type ()
 
OdRxValue getAttr (const OdIfcAttribute attrDef) const
 
virtual OdRxValue getAttr (const OdAnsiString &attrName) const
 
OdIfcModelowningModel () const
 
bool isKindOf (OdIfcEntityType type) const
 
bool isInstanceOf (OdIfcEntityType entityType) const
 
const OdAnsiString & typeName ()
 
OdIfcFileowningIfcFile () const
 
OdStepFile * owningStepFile () const override
 
virtual bool isPersistent () const
 
virtual OdDbStub * id () const
 
virtual OdDbStub * ownerId () const
 
virtual void xmitPropagateModify ()
 

Additional Inherited Members

- Static Public Member Functions inherited from OdIfc::OdIfcCompound
static const OdIfcInstanceearlyAccess (const OdIfcCompound *compound)
 
- Protected Member Functions inherited from OdIfc::OdIfcRepresentationItem
void updateTraitsAuxData (OdGiWorldDraw *wd) const
 
void resetTraitsAuxData (OdGiWorldDraw *wd) const
 
OdResult setAttributes (OdGiWorldDraw *pWd) const
 
- Protected Attributes inherited from OdIfc::OdIfcCachedCompound
OdGsCachem_pGsNode
 
- Protected Attributes inherited from OdIfc::OdIfcCompound
OdIfcInstancem_pEntInst
 

Detailed Description

A base class that implements storing and handling geometrical data about a definition of an IfcSegment.

Definition at line 45 of file IfcSegment.h.

Member Function Documentation

◆ compose()

void OdIfc::OdIfcSegment::compose ( )
virtual

Composes geometry for the curve segment object.

Reimplemented from OdIfc::OdIfcRepresentationItem.

◆ draw()

bool OdIfc::OdIfcSegment::draw ( OdGiWorldDraw * pWd) const
pure virtual

Draws the segment to the <exref target="https://docs.opendesign.com/tv_api_cpp/OdGiWorldDraw.html">OdGiWorldDraw interface</exref>.

Parameters
pWd[in] A raw pointer to the object for the entity-level vectorization.
Returns
true if the segment was successfully drawn; otherwise, the method returns false.

Reimplemented from OdIfc::OdIfcRepresentationItem.

Implemented in OdIfc::OdIfcCurveSegment.

◆ getGeCurve()

virtual const OdGeCurve3d * OdIfc::OdIfcSegment::getGeCurve ( )
pure virtual

Retrieves the underlying Ge curve object in read-only mode.

Returns
A constant raw pointer to the underlying Ge curve represented with an <exref target="https://docs.opendesign.com/tkernel_api_cpp/OdGeCurve3d.html">OdGeCurve3d</exref> object.

Implemented in OdIfc::OdIfcCurveSegment.

◆ getGeCurveCopy()

virtual OdGeCurve3d * OdIfc::OdIfcSegment::getGeCurveCopy ( )
virtual

Returns a copy of the underlying Ge curve.

Returns
A raw pointer to the <exref target="https://docs.opendesign.com/tkernel_api_cpp/OdGeCurve3d.html">OdGeCurve3d</exref> object that represents the copy of the underlaying Ge curve.

Reimplemented in OdIfc::OdIfcCurveSegment.

◆ is3dSeg()

bool OdIfc::OdIfcSegment::is3dSeg ( ) const

Retrieves the current value of the 3D segment flag. 3D segment flag determines whether the segment object is a 3D segment (if the flag value equals true) or not (in this case the flag value equals false).

Returns
true if the segment object is a 3D segment; otherwise, the method returns false.

◆ isSameSense()

virtual bool OdIfc::OdIfcSegment::isSameSense ( ) const
pure virtual

Returns the current value of the same sense flag.

Returns
true if the same sense flag is on; otherwise the method returns false.

Implemented in OdIfc::OdIfcCurveSegment.


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