CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
OdIfc::OdIfcCurve Class Reference

#include <IfcCurve.h>

Inheritance diagram for OdIfc::OdIfcCurve:
OdIfc::OdIfcGeometricRepresentationItem OdIfc::OdIfcRepresentationItem OdIfc::OdIfcCachedCompound OdIfc::OdIfcCompound OdIfc::OdIfcBoundedCurve OdIfc::OdIfcSpiral OdIfc::OdIfcCompositeCurve OdIfc::OdIfcGradientCurve OdIfc::OdIfcSegmentedReferenceCurve

Public Member Functions

virtual OdGe::EntityId entityId () const
 
virtual OdGeCurve3dgetGeCurveCopy () const
 
const OdGeCurve3dgetGeCurve () const
 
OdResult transformBy (const OdGeMatrix3d &transform) override
 
virtual double paramAtLength (double length) const
 
virtual OdGePoint3d evalPoint (double param, OdGeVector3dArray &derivs) const
 
virtual bool is3d () const
 
void setIs3d (bool val)
 
- Public Member Functions inherited from OdIfc::OdIfcGeometricRepresentationItem
virtual OdDAI::OdBodyVariant bodyContainer () const
 
- Public Member Functions inherited from OdIfc::OdIfcRepresentationItem
virtual ~OdIfcRepresentationItem ()
 
virtual void compose ()
 
virtual bool draw (OdGiWorldDraw *pWd) const
 
virtual OdUInt32 subSetAttributes (OdGiDrawableTraits *pTraits) const
 
virtual bool subWorldDraw (OdGiWorldDraw *wd) const
 
- 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 ()
 

Protected Member Functions

void getMatrix (OdIfcInstancePtr pPosition, OdGeMatrix3d &matr)
 
- Protected Member Functions inherited from OdIfc::OdIfcRepresentationItem
void updateTraitsAuxData (OdGiWorldDraw *wd) const
 
void resetTraitsAuxData (OdGiWorldDraw *wd) const
 
OdResult setAttributes (OdGiWorldDraw *pWd) const
 

Protected Attributes

OdGeMatrix3d m_transform
 
OdGeCurve3dPtr m_pCurve
 
- Protected Attributes inherited from OdIfc::OdIfcCachedCompound
OdGsCachem_pGsNode
 
- Protected Attributes inherited from OdIfc::OdIfcCompound
OdIfcInstancem_pEntInst
 

Additional Inherited Members

- Static Public Member Functions inherited from OdIfc::OdIfcCompound
static const OdIfcInstanceearlyAccess (const OdIfcCompound *compound)
 

Detailed Description

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

Definition at line 47 of file IfcCurve.h.

Member Function Documentation

◆ entityId()

virtual OdGe::EntityId OdIfc::OdIfcCurve::entityId ( ) const
inlinevirtual

Retrieves the identifier of an underlying Ge curve.

Returns
An <exref target="OdGe::EntityId"></exref> object that contains the underlaying Ge curve identifier.

Definition at line 59 of file IfcCurve.h.

◆ evalPoint()

virtual OdGePoint3d OdIfc::OdIfcCurve::evalPoint ( double param,
OdGeVector3dArray & derivs ) const
virtual

Calculates position and first derivative of the curve by parameter value.

Parameters
param[in] Parameter value.
derivs[out] An OdGeVector3dArray which contains first derivative of the curve in parameter.
Returns
Position on the curve as OdGePoint3d instance.

Reimplemented in OdIfc::OdIfcGradientCurve.

◆ getGeCurve()

const OdGeCurve3d * OdIfc::OdIfcCurve::getGeCurve ( ) const
inline

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

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

Definition at line 71 of file IfcCurve.h.

◆ getGeCurveCopy()

virtual OdGeCurve3d * OdIfc::OdIfcCurve::getGeCurveCopy ( ) const
inlinevirtual

Returns a copy of the underlying Ge curve.

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

Definition at line 65 of file IfcCurve.h.

◆ getMatrix()

void OdIfc::OdIfcCurve::getMatrix ( OdIfcInstancePtr pPosition,
OdGeMatrix3d & matr )
protected

◆ is3d()

virtual bool OdIfc::OdIfcCurve::is3d ( ) const
inlinevirtual

Defines whether the curve is a 3D object.

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

Reimplemented in OdIfc::OdIfcCompositeCurve.

Definition at line 99 of file IfcCurve.h.

◆ paramAtLength()

virtual double OdIfc::OdIfcCurve::paramAtLength ( double length) const
virtual

Retrieves parameter value by provided curve length.

Parameters
length[in] Length from the curve start.
Returns
Parameter value along the curve.

Reimplemented in OdIfc::OdIfcGradientCurve.

◆ setIs3d()

void OdIfc::OdIfcCurve::setIs3d ( bool val)
inline

Sets a new value of the 3D flag for the curve. 3D flag determines whether the curve is a 3D object (if it equals true) or not (in this case the flag value equals false).

Parameters
val[in] A new value of the flag to be set.

Definition at line 106 of file IfcCurve.h.

◆ transformBy()

OdResult OdIfc::OdIfcCurve::transformBy ( const OdGeMatrix3d & transform)
overridevirtual

Applies the specified transformation to the object.

Parameters
transform[in] A transformation matrix to be applied.
Returns
eOk value if the transformation operation was successful; otherwise, the method returns an appropriate error code.

Reimplemented from OdIfc::OdIfcRepresentationItem.

Member Data Documentation

◆ m_pCurve

OdGeCurve3dPtr OdIfc::OdIfcCurve::m_pCurve
protected

Definition at line 113 of file IfcCurve.h.

◆ m_transform

OdGeMatrix3d OdIfc::OdIfcCurve::m_transform
protected

Definition at line 111 of file IfcCurve.h.


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