CFx SDK Documentation 2024 SP0
|
#include <AECIndexSpecifier.h>
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 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 |
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 () | |
Protected Attributes inherited from AECImpObj | |
class AECSIBase * | m_pImp |
DOM. | |
OdUInt16 | m_iMinSupportedVersion |
Abstract base class for Nested Grid Index Specifiers.
<group TA_API_Subobjects_GeNg>
Definition at line 37 of file AECIndexSpecifier.h.
Type of the Index Specifier.
Enumerator | |
---|---|
eBoundaryEdge | |
eExplicit | |
eLocation |
Definition at line 45 of file AECIndexSpecifier.h.
|
virtual |
Returns whether the specified primitive is included in this Index Specifier.
iIndex | [in] - index of primitive to check. |
iNumOfElements | [in] - total number of primitives. |
Reimplemented in AECIndexSpecifierBoundaryEdge, AECIndexSpecifierExplicit, and AECIndexSpecifierLocation.
bool AECIndexSpecifier::IsAppliedTo | ( | OdUInt16 | iPositionIndex, |
AECGeNestedGridDivisionPtr | pDivision, | ||
double | dCellDimension | ||
) | const |
Checks whether the cell with specified index is included in this Index Specifier.
iPositionIndex | [in] - index of cell to check. |
pDivision | [in] - division. |
dCellDimension | [in] - the dimension of division. |