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

#include <AECCustomGridNode.h>

Inheritance diagram for AECCustomGridNode:
AECLayoutNode AECImpObj OdRxObjectImpl< OdRxObject, AECImpObj > OdRxObject

Public Types

enum  Type { eStart = 0 , eEnd = 1 , eIntersection = 2 }
 

Public Member Functions

Type GetType () const
 
void SetType (Type eType)
 
OdUInt32 GetSingleSegment () const
 
OdUInt32 GetSegmentCount () const
 
OdUInt32 GetSegmentByIndex (OdUInt32 iIndex) const
 
double GetParamByIndex (OdUInt32 iIndex) const
 
void SetToStarting (OdUInt32 iIndex)
 
void SetToEnding (OdUInt32 iIndex)
 
void SetToIntersection (OdUInt32 iIndex1, OdUInt32 iIndex2, double dParam1, double dParam2)
 
void SetToIntersection (const OdUInt32Array &aIndices, const OdDoubleArray &aParams)
 
- Public Member Functions inherited from AECLayoutNode
OdUInt32 GetIndex () const
 
void SetIndex (OdUInt32 iIndex)
 
- 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
 

Protected Attributes

Type m_eType
 
OdUInt32Array m_segmentIds
 
OdDoubleArray m_params
 
- Protected Attributes inherited from AECLayoutNode
OdUInt32 m_iIndex
 
bool m_bIndexCorrect
 
- Protected Attributes inherited from AECImpObj
class AECSIBase * m_pImp
 DOM. More...
 
OdUInt16 m_iMinSupportedVersion
 

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 ()
 

Detailed Description

Custom Grid Node.

<group TA_API_Subobjects_Layout>

Definition at line 36 of file AECCustomGridNode.h.

Member Enumeration Documentation

◆ Type

Custom node type.

Enumerator
eStart 
eEnd 
eIntersection 

Definition at line 44 of file AECCustomGridNode.h.

Member Function Documentation

◆ GetParamByIndex()

double AECCustomGridNode::GetParamByIndex ( OdUInt32  iIndex) const

Returns location on intersecting segment.

◆ GetSegmentByIndex()

OdUInt32 AECCustomGridNode::GetSegmentByIndex ( OdUInt32  iIndex) const

Returns intersecting segment index.

◆ GetSegmentCount()

OdUInt32 AECCustomGridNode::GetSegmentCount ( ) const

Returns the number of intersecting segments.

◆ GetSingleSegment()

OdUInt32 AECCustomGridNode::GetSingleSegment ( ) const

Returns single segment index.

Remarks
For intersection node returns first segment index.

◆ GetType()

Type AECCustomGridNode::GetType ( ) const

Returns the type of the node.

◆ SetToEnding()

void AECCustomGridNode::SetToEnding ( OdUInt32  iIndex)

Sets node to ending type.

◆ SetToIntersection() [1/2]

void AECCustomGridNode::SetToIntersection ( const OdUInt32Array aIndices,
const OdDoubleArray aParams 
)

Sets node to intersecting type.

◆ SetToIntersection() [2/2]

void AECCustomGridNode::SetToIntersection ( OdUInt32  iIndex1,
OdUInt32  iIndex2,
double  dParam1,
double  dParam2 
)

Sets node to intersecting type.

◆ SetToStarting()

void AECCustomGridNode::SetToStarting ( OdUInt32  iIndex)

Sets node to starting type.

◆ SetType()

void AECCustomGridNode::SetType ( Type  eType)

Sets the type of the node.

Member Data Documentation

◆ m_eType

Type AECCustomGridNode::m_eType
protected

Definition at line 110 of file AECCustomGridNode.h.

◆ m_params

OdDoubleArray AECCustomGridNode::m_params
protected

Definition at line 122 of file AECCustomGridNode.h.

◆ m_segmentIds

OdUInt32Array AECCustomGridNode::m_segmentIds
protected

Definition at line 116 of file AECCustomGridNode.h.


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