CFx SDK Documentation 2024 SP0
|
#include <AECCustomGridNode.h>
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 OdString & | GetDescription () const |
void | SetDescription (const OdString &strDescription) |
virtual void | onObjectLoaded () |
virtual void | SubClose () |
DOM. | |
OdRxObject * | GetOwner () const |
OdRxObject * | GetOwner (OdRxClass *pClass) const |
void | addRefSubPtr () |
void | releaseSubPtr () |
void | assertReadEnabled () const |
void | assertWriteEnabled (bool autoUndo=true, bool recordModified=true) |
bool | isReadEnabled () const |
bool | isWriteEnabled () const |
OdDbDatabase * | database () const |
void | copyFrom (const OdRxObject *pOther) |
virtual OdUInt16 | minSupportedVersion () const |
void | SetOwner (OdDbObject *pOwner) |
DOM. | |
void | SetOwner (AECImpObj *pOwner) |
DOM. | |
class AECSIBase * | GetImpl () const |
DOM. | |
virtual OdResult | dwgInFieldsEx20 (AECDbDwgFiler *pFiler) |
DOM. | |
virtual OdResult | dwgInFieldsEx1 (AECDbDwgFiler *pFiler) |
DOM. | |
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 OdRxObject * | queryX (const OdRxClass *pClass) const |
virtual OdRxObject * | x (const OdRxClass *pClass) const |
virtual OdRxClass * | isA () 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 |
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. | |
OdUInt16 | m_iMinSupportedVersion |
Additional Inherited Members | |
Static Public Member Functions inherited from OdRxObjectImpl< OdRxObject, AECImpObj > | |
static OdSmartPtr< AECImpObj > | createObject () |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
Protected Member Functions inherited from OdRxObjectImpl< OdRxObject, AECImpObj > | |
ODRX_HEAP_OPERATORS () | |
Custom Grid Node.
<group TA_API_Subobjects_Layout>
Definition at line 36 of file AECCustomGridNode.h.
Custom node type.
Enumerator | |
---|---|
eStart | |
eEnd | |
eIntersection |
Definition at line 44 of file AECCustomGridNode.h.
double AECCustomGridNode::GetParamByIndex | ( | OdUInt32 | iIndex | ) | const |
Returns location on intersecting segment.
Returns intersecting segment index.
OdUInt32 AECCustomGridNode::GetSegmentCount | ( | ) | const |
Returns the number of intersecting segments.
OdUInt32 AECCustomGridNode::GetSingleSegment | ( | ) | const |
Returns single segment index.
Type AECCustomGridNode::GetType | ( | ) | const |
Returns the type of the node.
void AECCustomGridNode::SetToIntersection | ( | const OdUInt32Array & | aIndices, |
const OdDoubleArray & | aParams | ||
) |
Sets node to intersecting type.
void AECCustomGridNode::SetToIntersection | ( | OdUInt32 | iIndex1, |
OdUInt32 | iIndex2, | ||
double | dParam1, | ||
double | dParam2 | ||
) |
Sets node to intersecting type.
|
protected |
Definition at line 110 of file AECCustomGridNode.h.
|
protected |
Definition at line 122 of file AECCustomGridNode.h.
|
protected |
Definition at line 116 of file AECCustomGridNode.h.