CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Classes | Public Member Functions | Protected Attributes | List of all members
AECGridAssemblyCell Class Reference

#include <AECGridAssemblyCell.h>

Inheritance diagram for AECGridAssemblyCell:
AECLayoutCell AECImpObj OdRxObjectImpl< OdRxObject, AECImpObj > OdRxObject

Classes

union  Flags1
 DOM. More...
 

Public Member Functions

void GetCellPath (std::vector< OdUInt16 > &aPath) const
 
void SetCellPath (const std::vector< OdUInt16 > &aPath)
 
OdUInt16 GetCellAssignmentIndex () const
 
void SetCellAssignmentIndex (OdUInt16 iCellAssignmentIndex)
 
bool GetInfillIndex (OdUInt16 &iIndex) const
 
void SetInfillIndex (OdUInt16 iIndex)
 
OdDbObjectId GetInfillStyle () const
 
void SetInfillStyle (const OdDbObjectId &hpidInfillStyle)
 
bool IsConsumed () const
 
void SetIsConsumed (bool bOn)
 
bool IsRectangular () const
 
void SetIsRectangular (bool bOn)
 
bool IsSplitted () const
 
void SetIsSplitted (bool bOn)
 
bool IsCutStartMiter () const
 
void SetIsCutStartMiter (bool bOn)
 
bool IsCutEndMiter () const
 
void SetIsCutEndMiter (bool bOn)
 
void GetMinMaxPoints (OdGePoint2d &ptLower, OdGePoint2d &ptUpper) const
 
void SetMinMaxPoints (const OdGePoint2d &ptLower, const OdGePoint2d &ptUpper)
 
void GetInteriorMinMaxPoints (OdGePoint2d &ptLower, OdGePoint2d &ptUpper) const
 
void SetInteriorMinMaxPoints (const OdGePoint2d &ptLower, const OdGePoint2d &ptUpper)
 
AECGeProfileSubPtr GetInteriorProfile () const
 
AECGeProfileSubPtr NewInteriorProfile ()
 
void RemoveInteriorProfile ()
 
- Public Member Functions inherited from AECLayoutCell
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.
 
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
 

Protected Attributes

Flags1 m_uFlags1
 
OdUInt16 m_iCellAssignmentIndex
 
OdDbHardPointerId m_hpidInfillStyle
 
double m_dInteriorMinX
 
double m_dInteriorMaxX
 
double m_dInteriorMinY
 
double m_dInteriorMaxY
 
AECGeProfilePtr m_pInteriorProfile
 
double m_dMinX
 
double m_dMaxX
 
double m_dMinY
 
double m_dMaxY
 
OdUInt16 m_iInfillIndex
 
std::vector< OdUInt16m_aPathToCell
 
- Protected Attributes inherited from AECLayoutCell
OdUInt32 m_iCellIndex
 
- 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< 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

Grid Assembly cell.

<group TA_API_Subobjects_Ga>

Definition at line 39 of file AECGridAssemblyCell.h.

Member Function Documentation

◆ GetCellAssignmentIndex()

OdUInt16 AECGridAssemblyCell::GetCellAssignmentIndex ( ) const

Returns internal index of cell assignment from style.

Remarks
Used if no cell definition override is applied.

◆ GetCellPath()

void AECGridAssemblyCell::GetCellPath ( std::vector< OdUInt16 > &  aPath) const

Returns the path to cell.

Remarks
Indices in array represent cell indices.

◆ GetInfillIndex()

bool AECGridAssemblyCell::GetInfillIndex ( OdUInt16 iIndex) const

Returns index of infill component from style.

Parameters
iIndex[out] - index of infill component.
Returns
Indicates that the cell is overridden and infill index returned is valid.

◆ GetInfillStyle()

OdDbObjectId AECGridAssemblyCell::GetInfillStyle ( ) const

Returns Object ID of AEC object representing infill style.

Remarks
The type of object returned may be the following: AECDbCurtainWallUnit AECDbDoor AECDbPolygon AECDbWinow

◆ GetInteriorMinMaxPoints()

void AECGridAssemblyCell::GetInteriorMinMaxPoints ( OdGePoint2d ptLower,
OdGePoint2d ptUpper 
) const

Returns interior extents of the cell.

Parameters
ptLower[out] - lower point of extents.
ptUpper[out] - upper point of extents.

◆ GetInteriorProfile()

AECGeProfileSubPtr AECGridAssemblyCell::GetInteriorProfile ( ) const

Returns the interior profile.

Remarks
Valid only for non-rectangular cells.

◆ GetMinMaxPoints()

void AECGridAssemblyCell::GetMinMaxPoints ( OdGePoint2d ptLower,
OdGePoint2d ptUpper 
) const

Returns exterior extents of the cell.

Parameters
ptLower[out] - lower point of extents.
ptUpper[out] - upper point of extents.

◆ IsConsumed()

bool AECGridAssemblyCell::IsConsumed ( ) const

Returns whether the cell is consumed by another.

◆ IsCutEndMiter()

bool AECGridAssemblyCell::IsCutEndMiter ( ) const

Returns whether the cell is cut with end miter.

◆ IsCutStartMiter()

bool AECGridAssemblyCell::IsCutStartMiter ( ) const

Returns whether the cell is cut with start miter.

◆ IsRectangular()

bool AECGridAssemblyCell::IsRectangular ( ) const

Returns whether the cell is rectangular.

◆ IsSplitted()

bool AECGridAssemblyCell::IsSplitted ( ) const

Returns whether the cell is split.

◆ NewInteriorProfile()

AECGeProfileSubPtr AECGridAssemblyCell::NewInteriorProfile ( )

Creates new interior profile.

◆ RemoveInteriorProfile()

void AECGridAssemblyCell::RemoveInteriorProfile ( )

Removes interior profile.

◆ SetCellAssignmentIndex()

void AECGridAssemblyCell::SetCellAssignmentIndex ( OdUInt16  iCellAssignmentIndex)

Sets internal index of cell assignment from style.

Remarks
Used if no cell definition override is applied.

◆ SetCellPath()

void AECGridAssemblyCell::SetCellPath ( const std::vector< OdUInt16 > &  aPath)

Sets the path to cell.

Remarks
Indices in array represent cell indices.

◆ SetInfillIndex()

void AECGridAssemblyCell::SetInfillIndex ( OdUInt16  iIndex)

Sets index of infill component from style.

Parameters
iIndex[in] - index of infill component.
Remarks
Sets the flag that the cell is overridden and infill index is valid.

◆ SetInfillStyle()

void AECGridAssemblyCell::SetInfillStyle ( const OdDbObjectId hpidInfillStyle)

Sets Object ID of AEC object representing infill style.

Remarks
The type of object returned may be the following: AECDbCurtainWallUnit AECDbDoor AECDbPolygon AECDbWinow

◆ SetInteriorMinMaxPoints()

void AECGridAssemblyCell::SetInteriorMinMaxPoints ( const OdGePoint2d ptLower,
const OdGePoint2d ptUpper 
)

Sets interior extents of the cell.

Parameters
ptLower[in] - lower point of extents.
ptUpper[in] - upper point of extents.

◆ SetIsConsumed()

void AECGridAssemblyCell::SetIsConsumed ( bool  bOn)

Sets the flag whether the cell is consumed by another.

◆ SetIsCutEndMiter()

void AECGridAssemblyCell::SetIsCutEndMiter ( bool  bOn)

Sets the flag whether the cell is cut with end miter.

◆ SetIsCutStartMiter()

void AECGridAssemblyCell::SetIsCutStartMiter ( bool  bOn)

Sets the flag whether the cell is cut with start miter.

◆ SetIsRectangular()

void AECGridAssemblyCell::SetIsRectangular ( bool  bOn)

Sets the flag whether the cell is rectangular.

◆ SetIsSplitted()

void AECGridAssemblyCell::SetIsSplitted ( bool  bOn)

Sets the flag whether the cell is split.

◆ SetMinMaxPoints()

void AECGridAssemblyCell::SetMinMaxPoints ( const OdGePoint2d ptLower,
const OdGePoint2d ptUpper 
)

Sets exterior extents of the cell.

Parameters
ptLower[in] - lower point of extents.
ptUpper[in] - upper point of extents.

Member Data Documentation

◆ m_aPathToCell

std::vector<OdUInt16> AECGridAssemblyCell::m_aPathToCell
protected

Definition at line 303 of file AECGridAssemblyCell.h.

◆ m_dInteriorMaxX

double AECGridAssemblyCell::m_dInteriorMaxX
protected

Definition at line 271 of file AECGridAssemblyCell.h.

◆ m_dInteriorMaxY

double AECGridAssemblyCell::m_dInteriorMaxY
protected

Definition at line 279 of file AECGridAssemblyCell.h.

◆ m_dInteriorMinX

double AECGridAssemblyCell::m_dInteriorMinX
protected

Definition at line 267 of file AECGridAssemblyCell.h.

◆ m_dInteriorMinY

double AECGridAssemblyCell::m_dInteriorMinY
protected

Definition at line 275 of file AECGridAssemblyCell.h.

◆ m_dMaxX

double AECGridAssemblyCell::m_dMaxX
protected

Definition at line 289 of file AECGridAssemblyCell.h.

◆ m_dMaxY

double AECGridAssemblyCell::m_dMaxY
protected

Definition at line 295 of file AECGridAssemblyCell.h.

◆ m_dMinX

double AECGridAssemblyCell::m_dMinX
protected

Definition at line 286 of file AECGridAssemblyCell.h.

◆ m_dMinY

double AECGridAssemblyCell::m_dMinY
protected

Definition at line 292 of file AECGridAssemblyCell.h.

◆ m_hpidInfillStyle

OdDbHardPointerId AECGridAssemblyCell::m_hpidInfillStyle
protected

Definition at line 263 of file AECGridAssemblyCell.h.

◆ m_iCellAssignmentIndex

OdUInt16 AECGridAssemblyCell::m_iCellAssignmentIndex
protected

Definition at line 259 of file AECGridAssemblyCell.h.

◆ m_iInfillIndex

OdUInt16 AECGridAssemblyCell::m_iInfillIndex
protected

Definition at line 299 of file AECGridAssemblyCell.h.

◆ m_pInteriorProfile

AECGeProfilePtr AECGridAssemblyCell::m_pInteriorProfile
protected

Definition at line 283 of file AECGridAssemblyCell.h.

◆ m_uFlags1

Flags1 AECGridAssemblyCell::m_uFlags1
protected

Definition at line 256 of file AECGridAssemblyCell.h.


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