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

#include <AECGeNestedGridDivision.h>

Inheritance diagram for AECGeNestedGridDivision:
AECImpObj OdRxObjectImpl< OdRxObject, AECImpObj > OdRxObject AECGeNestedGridDivisionByBaseHeights AECGeNestedGridDivisionByRise AECGeNestedGridDivisionDivideBy AECGeNestedGridDivisionManual AECGeNestedGridDivisionPline AECGeNestedGridDivisionRepeat

Public Types

enum  Orientation { eHorizontal = 0 , eVertical = 1 }
 

Public Member Functions

OdUInt16 GetIndex ()
 
const OdStringGetName () const
 
void SetName (const OdString &strDivisionName)
 
Orientation GetOrientation () const
 
void SetOrientation (Orientation eOrientation)
 
double GetStartOffset () const
 
void SetStartOffset (double dStartOffset)
 
double GetEndOffset () const
 
void SetEndOffset (double dEndOffset)
 
virtual OdUInt16 GetCellCount (double dDistUnderBaseline, double dDistAboveBaseHeight, double dGridDim) const
 
virtual void GetCellsDims (double dGridDim, std::vector< double > &aOffsets) const
 
- 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

Orientation m_eOrientation
 
OdUInt16 m_iDivisionIndex
 
double m_dStartOffset
 
double m_dEndOffset
 
OdString m_strDivisionName
 
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

Nested Grid Division.

<group TA_API_Subobjects_GeNg>

Definition at line 34 of file AECGeNestedGridDivision.h.

Member Enumeration Documentation

◆ Orientation

Grid orientation.

Enumerator
eHorizontal 
eVertical 

Definition at line 42 of file AECGeNestedGridDivision.h.

Member Function Documentation

◆ GetCellCount()

virtual OdUInt16 AECGeNestedGridDivision::GetCellCount ( double  dDistUnderBaseline,
double  dDistAboveBaseHeight,
double  dGridDim 
) const
virtual

Returns the number of cells within cell with this division assigned.

Parameters
dDistUnderBaseline[in] - the max distanse from the baseline to the edge of the grid.
dDistAboveBaseHeight[in] - the max distanse from the base height to the edge of the grid.
gridDimension[in] - dimension of grid

Reimplemented in AECGeNestedGridDivisionRepeat, AECGeNestedGridDivisionManual, AECGeNestedGridDivisionDivideBy, and AECGeNestedGridDivisionByBaseHeights.

◆ GetCellsDims()

virtual void AECGeNestedGridDivision::GetCellsDims ( double  dGridDim,
std::vector< double > &  aOffsets 
) const
virtual

◆ GetEndOffset()

double AECGeNestedGridDivision::GetEndOffset ( ) const

Returns end offset.

◆ GetIndex()

OdUInt16 AECGeNestedGridDivision::GetIndex ( )

Returns division index.

◆ GetName()

const OdString& AECGeNestedGridDivision::GetName ( ) const

Returns division name.

◆ GetOrientation()

Orientation AECGeNestedGridDivision::GetOrientation ( ) const

Returns division orientation.

◆ GetStartOffset()

double AECGeNestedGridDivision::GetStartOffset ( ) const

Returns start offset.

◆ SetEndOffset()

void AECGeNestedGridDivision::SetEndOffset ( double  dEndOffset)

Sets end offset.

◆ SetName()

void AECGeNestedGridDivision::SetName ( const OdString strDivisionName)

Sets division name.

◆ SetOrientation()

void AECGeNestedGridDivision::SetOrientation ( Orientation  eOrientation)

Sets division orientation.

◆ SetStartOffset()

void AECGeNestedGridDivision::SetStartOffset ( double  dStartOffset)

Sets start offset.

Member Data Documentation

◆ m_bIndexCorrect

bool AECGeNestedGridDivision::m_bIndexCorrect
protected

Definition at line 129 of file AECGeNestedGridDivision.h.

◆ m_dEndOffset

double AECGeNestedGridDivision::m_dEndOffset
protected

Definition at line 122 of file AECGeNestedGridDivision.h.

◆ m_dStartOffset

double AECGeNestedGridDivision::m_dStartOffset
protected

Definition at line 119 of file AECGeNestedGridDivision.h.

◆ m_eOrientation

Orientation AECGeNestedGridDivision::m_eOrientation
protected

Definition at line 113 of file AECGeNestedGridDivision.h.

◆ m_iDivisionIndex

OdUInt16 AECGeNestedGridDivision::m_iDivisionIndex
protected

Definition at line 116 of file AECGeNestedGridDivision.h.

◆ m_strDivisionName

OdString AECGeNestedGridDivision::m_strDivisionName
protected

Definition at line 125 of file AECGeNestedGridDivision.h.


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