CFx SDK Documentation  2023 SP0
Public Member Functions | List of all members
AECGeSegment2d Class Reference

#include <AECGeSegment2d.h>

Inheritance diagram for AECGeSegment2d:
AECImpObj OdRxObjectImpl< OdRxObject, AECImpObj > OdRxObject AECGeCompSegment AECGeCustomGridSegment AECGeNestedGridSegment AECGeRoofSegment AECGeSlabEdge AECSpaceSurface

Public Member Functions

AECDefs::SegmentType GetType () const
 
void GetStartPoint (OdGePoint2d &ptStart) const
 
void GetEndPoint (OdGePoint2d &ptEnd) const
 
double GetBulge () const
 
AECDefs::SegmentEdgePosition GetPosition () const
 
void SetPosition (AECDefs::SegmentEdgePosition ePosition)
 
bool IsVisible () const
 
void SetVisible (bool bVisible)
 
virtual OdUInt32 GetSubsegmentCount () const
 
AECAttributeSubPtr GetAttribute () const
 
void SetAttribute (AECAttributePtr pAttr)
 
virtual void copyFrom (const OdRxObject *pSource)
 
void Get (FacetModeler::Segment2D &cSegment) const
 
void Set (const OdGePoint2d &ptStart, const OdGePoint2d &ptEnd, double dBulge=0)
 
void Set (const FacetModeler::Segment2D &cSegment)
 
void SetFullCircle (const OdGePoint2d &ptCenter, double dRadius, bool bClockwise)
 DOM. More...
 
- Public Member Functions inherited from AECImpObj
const OdStringGetDescription () const
 
void SetDescription (const OdString &strDescription)
 
virtual void onObjectLoaded ()
 
virtual void SubClose ()
 DOM. More...
 
OdRxObjectGetOwner () const
 
OdRxObjectGetOwner (OdRxClass *pClass) const
 
void addRefSubPtr ()
 
void releaseSubPtr ()
 
void assertReadEnabled () const
 
void assertWriteEnabled (bool autoUndo=true, bool recordModified=true)
 
bool isReadEnabled () const
 
bool isWriteEnabled () const
 
OdDbDatabasedatabase () const
 
virtual OdUInt16 minSupportedVersion () const
 
void SetOwner (OdDbObject *pOwner)
 DOM. More...
 
void SetOwner (AECImpObj *pOwner)
 DOM. More...
 
class AECSIBase * GetImpl () const
 DOM. More...
 
virtual OdResult dwgInFieldsEx20 (AECDbDwgFiler *pFiler)
 DOM. More...
 
virtual OdResult dwgInFieldsEx1 (AECDbDwgFiler *pFiler)
 DOM. More...
 
- Public Member Functions inherited from OdRxObjectImpl< OdRxObject, AECImpObj >
 OdRxObjectImpl ()
 
void addRef ()
 
void release ()
 
long numRefs () const
 
- 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
 
bool isKindOf (const OdRxClass *pClass) const
 
virtual OdRxObjectPtr clone () const
 
virtual OdRx::Ordering comparedTo (const OdRxObject *pOther) const
 
virtual bool isEqualTo (const OdRxObject *pOther) const
 

Additional Inherited Members

- Static Public Member Functions inherited from OdRxObjectImpl< OdRxObject, AECImpObj >
static OdSmartPtr< AECImpObjcreateObject ()
 
- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 
- Protected Member Functions inherited from OdRxObjectImpl< OdRxObject, AECImpObj >
 ODRX_HEAP_OPERATORS ()
 
- Protected Attributes inherited from AECImpObj
class AECSIBase * m_pImp
 DOM. More...
 
OdUInt16 m_iMinSupportedVersion
 

Detailed Description

Base class for AEC 2D Segments.

<group TA_API_Subobjects_Ge>

Definition at line 35 of file AECGeSegment2d.h.

Member Function Documentation

◆ copyFrom()

virtual void AECGeSegment2d::copyFrom ( const OdRxObject pSource)
virtual

◆ Get()

void AECGeSegment2d::Get ( FacetModeler::Segment2D cSegment) const

Returns raw segment.

◆ GetAttribute()

AECAttributeSubPtr AECGeSegment2d::GetAttribute ( ) const

Returns attached attribute.

◆ GetBulge()

double AECGeSegment2d::GetBulge ( ) const

Returns bulge.

◆ GetEndPoint()

void AECGeSegment2d::GetEndPoint ( OdGePoint2d ptEnd) const

Returns end point.

◆ GetPosition()

AECDefs::SegmentEdgePosition AECGeSegment2d::GetPosition ( ) const

Returns edge position.

◆ GetStartPoint()

void AECGeSegment2d::GetStartPoint ( OdGePoint2d ptStart) const

Returns start point.

◆ GetSubsegmentCount()

virtual OdUInt32 AECGeSegment2d::GetSubsegmentCount ( ) const
virtual

Returns the number of subsegments.

Remarks
Value different from 1 found only in Roof Segments.

Reimplemented in AECGeRoofSegment.

◆ GetType()

AECDefs::SegmentType AECGeSegment2d::GetType ( ) const

Returns segment type.

◆ IsVisible()

bool AECGeSegment2d::IsVisible ( ) const

Returns whether this edge is visible.

◆ Set() [1/2]

void AECGeSegment2d::Set ( const FacetModeler::Segment2D cSegment)

Sets segment's geometry.

◆ Set() [2/2]

void AECGeSegment2d::Set ( const OdGePoint2d ptStart,
const OdGePoint2d ptEnd,
double  dBulge = 0 
)

Sets segment's geometry.

◆ SetAttribute()

void AECGeSegment2d::SetAttribute ( AECAttributePtr  pAttr)

Attaches attribute.

◆ SetFullCircle()

void AECGeSegment2d::SetFullCircle ( const OdGePoint2d ptCenter,
double  dRadius,
bool  bClockwise 
)

DOM.

◆ SetPosition()

void AECGeSegment2d::SetPosition ( AECDefs::SegmentEdgePosition  ePosition)

Sets edge position.

◆ SetVisible()

void AECGeSegment2d::SetVisible ( bool  bVisible)

Sets whether this edge is visible.


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