CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
OdIfc::OdIfcCurveSegment Class Reference

#include <IfcCurveSegment.h>

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

Public Member Functions

void compose () ODRX_OVERRIDE
 
virtual OdGeCurve3dgetGeCurveCopy () ODRX_OVERRIDE
 
virtual const OdGeCurve3dgetGeCurve () ODRX_OVERRIDE
 
bool isSameSense () const ODRX_OVERRIDE
 
bool draw (OdGiWorldDraw *pWd) const ODRX_OVERRIDE
 
bool calculateHeights (double len, double &height) const
 
bool getStartLength (double &len) const
 
- Public Member Functions inherited from OdIfc::OdIfcSegment
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 OdIfcBodyVariant 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
 
virtual OdResult transfromBy (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
virtual void compose ()
 
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
 
virtual bool isPersistent () const
 
virtual OdDbStub * id () const
 
virtual void setGsNode (OdGsCache *pGsNode)
 
virtual OdGsCachegsNode () const
 
virtual OdUInt32 subSetAttributes (OdGiDrawableTraits *traits) const
 
virtual bool subWorldDraw (OdGiWorldDraw *wd) const
 
virtual void subViewportDraw (OdGiViewportDraw *vd) const
 
- Public Member Functions inherited from OdGiDrawable
 ODRX_DECLARE_MEMBERS (OdGiDrawable)
 
virtual DrawableType drawableType () const
 
ODRX_SEALED_VIRTUAL OdUInt32 setAttributes (OdGiDrawableTraits *pTraits) const ODRX_SEALED
 
ODRX_SEALED_VIRTUAL bool worldDraw (OdGiWorldDraw *pWd) const ODRX_SEALED
 
ODRX_SEALED_VIRTUAL void viewportDraw (OdGiViewportDraw *pVd) const ODRX_SEALED
 
virtual bool isPersistent () const =0
 
virtual OdDbStub * id () const =0
 
virtual void setGsNode (OdGsCache *pGsNode)=0
 
virtual OdGsCachegsNode () const =0
 
ODRX_SEALED_VIRTUAL OdUInt32 viewportDrawLogicalFlags (OdGiViewportDraw *pVd) const ODRX_SEALED
 
virtual OdResult getGeomExtents (OdGeExtents3d &extents) const
 
ODRX_SEALED_VIRTUAL OdUInt32 regenSupportFlags () const ODRX_SEALED
 
- Public Member Functions inherited from OdRxObject
 ODRX_HEAP_OPERATORS ()
 
 OdRxObject ()
 
virtual ~OdRxObject ()
 
virtual OdRxObjectqueryX (const OdRxClass *pClass) const
 
virtual OdRxObjectx (const OdRxClass *pClass) const
 
virtual OdRxClassisA () const
 
virtual void addRef ()=0
 
virtual void release ()=0
 
virtual long numRefs () const
 
bool isKindOf (const OdRxClass *pClass) const
 
virtual OdRxObjectPtr clone () const
 
virtual void copyFrom (const OdRxObject *pSource)
 
virtual OdRx::Ordering comparedTo (const OdRxObject *pOther) const
 
virtual bool isEqualTo (const OdRxObject *pOther) const
 

Additional Inherited Members

- Public Types inherited from OdGiDrawable
enum  SetAttributesFlags {
  kDrawableNone = 0 , kDrawableIsAnEntity = 1 , kDrawableUsesNesting = 2 , kDrawableIsCompoundObject = 4 ,
  kDrawableViewIndependentViewportDraw = 8 , kDrawableIsInvisible = 16 , kDrawableHasAttributes = 32 , kDrawableRegenTypeDependantGeometry = 64 ,
  kDrawableIsDimension = (kDrawableIsAnEntity + kDrawableIsCompoundObject + 128) , kDrawableRegenDraw = 256 , kDrawableStandardDisplaySingleLOD = 512 , kDrawableShadedDisplaySingleLOD = 1024 ,
  kDrawableViewDependentViewportDraw = 2048 , kDrawableBlockDependentViewportDraw = 4096 , kDrawableIsExternalReference = 8192 , kDrawableNotPlottable = 16384 ,
  kDrawableNotAllowLCS = 32768 , kDrawableMergeControlOff = 65536 , kLastFlag = kDrawableMergeControlOff
}
 
enum  DrawableType {
  kGeometry = 0 , kDistantLight = 1 , kPointLight = 2 , kSpotLight = 3 ,
  kAmbientLight , kSolidBackground , kGradientBackground , kImageBackground ,
  kGroundPlaneBackground , kViewport , kWebLight , kSkyBackground ,
  kImageBasedLightingBackground
}
 
- Static Public Member Functions inherited from OdIfc::OdIfcCompound
static OdIfcEntityPtr earlyAccess (OdIfcCompound *pInst)
 
- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 
- Protected Member Functions inherited from OdIfc::OdIfcRepresentationItem
void updateTraitsAuxData (OdGiWorldDraw *wd) const
 
void resetTraitsAuxData (OdGiWorldDraw *wd) const
 
OdResult setAttributes (OdGiWorldDraw *pWd) const
 
- Protected Member Functions inherited from OdGiDrawable
 OdGiDrawable ()
 
virtual OdUInt32 subSetAttributes (OdGiDrawableTraits *traits) const =0
 
virtual bool subWorldDraw (OdGiWorldDraw *wd) const =0
 
virtual void subViewportDraw (OdGiViewportDraw *vd) const =0
 
virtual OdUInt32 subViewportDrawLogicalFlags (OdGiViewportDraw *vd) const
 
virtual OdUInt32 subRegenSupportFlags () const
 
- Protected Attributes inherited from OdIfc::OdIfcCachedCompound
OdGsCachem_pGsNode
 
- Protected Attributes inherited from OdIfc::OdIfcCompound
OdIfcEntitym_pEntInst
 

Detailed Description

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

Definition at line 47 of file IfcCurveSegment.h.

Member Function Documentation

◆ calculateHeights()

bool OdIfc::OdIfcCurveSegment::calculateHeights ( double  len,
double &  height 
) const

Calculates the height of the curve segment.

Parameters
len[in] A length of the curve segment.
height[out] A placeholder for a double value that contains the calculated height.
Returns
true of the height was successfully calculated; otherwise, the method returns false.
Remarks
The method calculates the height value, stores it in the passed placeholder parameter, and returns it to a calling subroutine.

◆ compose()

void OdIfc::OdIfcCurveSegment::compose ( )
virtual

Composes the curve segment object.

Reimplemented from OdIfc::OdIfcRepresentationItem.

◆ draw()

bool OdIfc::OdIfcCurveSegment::draw ( OdGiWorldDraw pWd) const
virtual

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

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

Implements OdIfc::OdIfcSegment.

◆ getGeCurve()

virtual const OdGeCurve3d * OdIfc::OdIfcCurveSegment::getGeCurve ( )
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/OdGeCurve3d.html">OdGeCurve3d</exref> object.

Implements OdIfc::OdIfcSegment.

◆ getGeCurveCopy()

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

Returns a copy of the underlying Ge curve.

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

Reimplemented from OdIfc::OdIfcSegment.

◆ getStartLength()

bool OdIfc::OdIfcCurveSegment::getStartLength ( double &  len) const

Retrieves the start length of the curve segment.

Parameters
len[out] A placeholder for a double value that contains the start length.
Returns
true if the start length was successfully calculated and returned to a calling subroutine; otherwise, the method returns false.
Remarks
The method calculates the start length, stores it in the passed parameter, and returns it to a calling subroutine. The start length is calculated accordingly to the segment placement location.

◆ isSameSense()

bool OdIfc::OdIfcCurveSegment::isSameSense ( ) const
virtual

Returns the current value of the same sence flag.

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

Implements OdIfc::OdIfcSegment.


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