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

#include <AECSectionSegment.h>

Inheritance diagram for AECSectionSegment:
AECImpObj OdRxObjectImpl< OdRxObject, AECImpObj > OdRxObject

Public Types

enum  Component {
  eUnknownComp = 0 , eDefiningLine = 1 , eHidden = 2 , eErased = 3 ,
  eSubdivision1 = 4 , eSubdivision2 = 5 , eSubdivision3 = 6 , eSubdivision4 = 7 ,
  eSubdivision5 = 8 , eSubdivision6 = 9 , eSubdivision7 = 10 , eSubdivision8 = 11 ,
  eSubdivision9 = 12 , eSubdivision10 = 13 , eOuterShrinkwrap = 14 , eInnerShrinkwrap = 15
}
 
enum  LineworkType { eNormalLinework = 0 , eCustomLinework = 1 , eOverridenLinework = 2 }
 

Public Member Functions

Component GetComponentIndex () const
 
void SetComponentIndex (Component eComp)
 
const OdGePoint2dGetStartVertex () const
 
void SetStartVertex (const OdGePoint2d &ptVertex)
 
const OdGePoint2dGetEndVertex () const
 
void SetEndVertex (const OdGePoint2d &ptVertex)
 
bool IsCustomLinework () const
 
void SetIsCustomLinework (bool bCustom)
 
bool IsOverridenComponent () const
 
void SetIsOverridenComponent (bool bOverriden)
 
LineworkType GetLineworkType () const
 
void SetLineworkType (LineworkType type)
 
OdUInt32 GetMaintainedDispCompEntId () const
 
void SetMaintainedDispCompEntId (OdUInt32 nId)
 
- 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
 
void copyFrom (const OdRxObject *pOther)
 
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

2D Section segment.

<group TA_API_Subobjects_Section>

Definition at line 35 of file AECSectionSegment.h.

Member Enumeration Documentation

◆ Component

Alignment for the entity.

Enumerator
eUnknownComp 
eDefiningLine 
eHidden 
eErased 
eSubdivision1 
eSubdivision2 
eSubdivision3 
eSubdivision4 
eSubdivision5 
eSubdivision6 
eSubdivision7 
eSubdivision8 
eSubdivision9 
eSubdivision10 
eOuterShrinkwrap 
eInnerShrinkwrap 

Definition at line 43 of file AECSectionSegment.h.

◆ LineworkType

Enumerator
eNormalLinework 
eCustomLinework 
eOverridenLinework 

Definition at line 63 of file AECSectionSegment.h.

Member Function Documentation

◆ GetComponentIndex()

Component AECSectionSegment::GetComponentIndex ( ) const

Returns the index of display component.

◆ GetEndVertex()

const OdGePoint2d& AECSectionSegment::GetEndVertex ( ) const

Returns the end vertex.

◆ GetLineworkType()

LineworkType AECSectionSegment::GetLineworkType ( ) const

Returns linework type.

◆ GetMaintainedDispCompEntId()

OdUInt32 AECSectionSegment::GetMaintainedDispCompEntId ( ) const

◆ GetStartVertex()

const OdGePoint2d& AECSectionSegment::GetStartVertex ( ) const

Returns the start vertex.

◆ IsCustomLinework()

bool AECSectionSegment::IsCustomLinework ( ) const
inline

Returns whether this segment is custom.

Remarks
Custom segment was not generated. It was added manually and it is not removed on regeneration.

Definition at line 153 of file AECSectionSegment.h.

◆ IsOverridenComponent()

bool AECSectionSegment::IsOverridenComponent ( ) const
inline

Returns whether the component index is manually overriden.

Definition at line 163 of file AECSectionSegment.h.

◆ SetComponentIndex()

void AECSectionSegment::SetComponentIndex ( Component  eComp)

Sets the index of display component.

◆ SetEndVertex()

void AECSectionSegment::SetEndVertex ( const OdGePoint2d ptVertex)

Sets the end vertex.

◆ SetIsCustomLinework()

void AECSectionSegment::SetIsCustomLinework ( bool  bCustom)
inline

Sets whether this segment is custom.

Remarks
Custom segment was not generated. It was added manually and it is not removed on regeneration.

Definition at line 158 of file AECSectionSegment.h.

◆ SetIsOverridenComponent()

void AECSectionSegment::SetIsOverridenComponent ( bool  bOverriden)
inline

Sets whether the component index is manually overriden.

Definition at line 168 of file AECSectionSegment.h.

◆ SetLineworkType()

void AECSectionSegment::SetLineworkType ( LineworkType  type)

Sets linework type.

◆ SetMaintainedDispCompEntId()

void AECSectionSegment::SetMaintainedDispCompEntId ( OdUInt32  nId)

◆ SetStartVertex()

void AECSectionSegment::SetStartVertex ( const OdGePoint2d ptVertex)

Sets the start vertex.


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