CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
AECIndexSpecifier Class Reference

#include <AECIndexSpecifier.h>

Inheritance diagram for AECIndexSpecifier:
AECImpObj OdRxObjectImpl< OdRxObject, AECImpObj > OdRxObject AECIndexSpecifierBoundaryEdge AECIndexSpecifierExplicit AECIndexSpecifierLocation

Public Types

enum  IndexSpecifierType { eBoundaryEdge = 0 , eExplicit = 1 , eLocation = 2 }
 

Public Member Functions

virtual bool IsAppliedTo (OdUInt16 iIndex, OdUInt16 iNumOfElements) const
 
bool IsAppliedTo (OdUInt16 iPositionIndex, AECGeNestedGridDivisionPtr pDivision, double dCellDimension) const
 
- Public Member Functions inherited from AECImpObj
const OdStringGetDescription () const
 
void SetDescription (const OdString &strDescription)
 
virtual void onObjectLoaded ()
 
virtual void SubClose ()
 DOM.
 
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.
 
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 OdRxObjectqueryX (const OdRxClass *pClass) const
 
virtual OdRxObjectx (const OdRxClass *pClass) const
 
virtual OdRxClassisA () 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
 

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.
 
OdUInt16 m_iMinSupportedVersion
 

Detailed Description

Abstract base class for Nested Grid Index Specifiers.

<group TA_API_Subobjects_GeNg>

Definition at line 37 of file AECIndexSpecifier.h.

Member Enumeration Documentation

◆ IndexSpecifierType

Type of the Index Specifier.

Enumerator
eBoundaryEdge 
eExplicit 
eLocation 

Definition at line 45 of file AECIndexSpecifier.h.

Member Function Documentation

◆ IsAppliedTo() [1/2]

virtual bool AECIndexSpecifier::IsAppliedTo ( OdUInt16  iIndex,
OdUInt16  iNumOfElements 
) const
virtual

Returns whether the specified primitive is included in this Index Specifier.

Parameters
iIndex[in] - index of primitive to check.
iNumOfElements[in] - total number of primitives.

Reimplemented in AECIndexSpecifierBoundaryEdge, AECIndexSpecifierExplicit, and AECIndexSpecifierLocation.

◆ IsAppliedTo() [2/2]

bool AECIndexSpecifier::IsAppliedTo ( OdUInt16  iPositionIndex,
AECGeNestedGridDivisionPtr  pDivision,
double  dCellDimension 
) const

Checks whether the cell with specified index is included in this Index Specifier.

Parameters
iPositionIndex[in] - index of cell to check.
pDivision[in] - division.
dCellDimension[in] - the dimension of division.
Remarks
For cell indices only.

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