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

#include <AECGeProfile.h>

Inheritance diagram for AECGeProfile:
AECImpObj OdRxObjectImpl< OdRxObject, AECImpObj > OdRxObject AECGeRoofProfile

Public Member Functions

OdUInt32 GetRingCount () const
 
AECGeRingSubPtr GetRingByIndex (OdUInt32 iIndex) const
 
AECImpArraySubPtr GetRings ()
 
void GetExtents (OdGeExtents2d &cExtents) const
 
double GetArea () const
 
OdGePoint2d GetCenterOfMass () const
 
void Init (const OdGeSegmentChain2d &rPolyline, const OdRxClass *pSegmentType=0)
 
void Init (const FacetModeler::Profile2D &rProfile, const OdRxClass *pSegmentType=0)
 
void InitFrom (const FacetModeler::Profile2D &rProfile, const AECGeProfile *pSource, const OdRxClass *pSegmentType=0)
 
void SetDefaultSegmentType (const OdRxClass *pSegmentType)
 
void SetDefaultRingType (const OdRxClass *pRingType)
 
void GetRawProfile (FacetModeler::Profile2D &rProfile) const
 
AECAttributeSubPtr GetAttribute () const
 
void SetAttribute (AECAttribute *pAttr)
 
bool IsCacheInvalid () const
 
void SetCacheInvalid (bool bInvalid)
 
void Translate (const OdGeVector2d &v)
 
- 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
 

Static Public Member Functions

static AECGeProfilePtr CreateStandard (const OdRxClass *pSegmentType=0, const OdRxClass *pLoopType=0)
 
static AECGeProfilePtr Create (const OdGeSegmentChain2d &rPolyline, const OdRxClass *pSegmentType=0)
 
static AECGeProfilePtr Create (const FacetModeler::Profile2D &rProfile, const OdRxClass *pSegmentType=0)
 
- 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 Attributes

AECImpArray m_aRings
 
OdUInt16 m_nFlags
 
AECAttributePtr m_pAttribute
 
const OdRxClassm_pDefaultSegmentType
 
const OdRxClassm_pDefaultRingType
 
- Protected Attributes inherited from AECImpObj
class AECSIBase * m_pImp
 DOM. More...
 
OdUInt16 m_iMinSupportedVersion
 

Additional Inherited Members

- Protected Member Functions inherited from OdRxObjectImpl< OdRxObject, AECImpObj >
 ODRX_HEAP_OPERATORS ()
 

Detailed Description

AEC Profile.

Remarks
Contains the array of loops. Some of these loops are considered as holes.

<group TA_API_Subobjects_Ge>

Definition at line 46 of file AECGeProfile.h.

Member Function Documentation

◆ Create() [1/2]

static AECGeProfilePtr AECGeProfile::Create ( const FacetModeler::Profile2D rProfile,
const OdRxClass pSegmentType = 0 
)
static

Creates AEC Profile.

◆ Create() [2/2]

static AECGeProfilePtr AECGeProfile::Create ( const OdGeSegmentChain2d rPolyline,
const OdRxClass pSegmentType = 0 
)
static

Creates AEC Profile.

◆ CreateStandard()

static AECGeProfilePtr AECGeProfile::CreateStandard ( const OdRxClass pSegmentType = 0,
const OdRxClass pLoopType = 0 
)
static

Creates standard rectangular profile.

◆ GetArea()

double AECGeProfile::GetArea ( ) const

Returns the area of the profile.

◆ GetAttribute()

AECAttributeSubPtr AECGeProfile::GetAttribute ( ) const

Returns attached attribute.

◆ GetCenterOfMass()

OdGePoint2d AECGeProfile::GetCenterOfMass ( ) const

Returns the center of mass.

◆ GetExtents()

void AECGeProfile::GetExtents ( OdGeExtents2d cExtents) const

Returns the extents of profile.

◆ GetRawProfile()

void AECGeProfile::GetRawProfile ( FacetModeler::Profile2D rProfile) const

Returns raw profile.

◆ GetRingByIndex()

AECGeRingSubPtr AECGeProfile::GetRingByIndex ( OdUInt32  iIndex) const

Returns ring by index.

Throws:

Cause eInvalidIndex Specified index is out of bounds

◆ GetRingCount()

OdUInt32 AECGeProfile::GetRingCount ( ) const

Returns the number of rings in profile.

◆ GetRings()

AECImpArraySubPtr AECGeProfile::GetRings ( )

Returns the array of rings.

◆ Init() [1/2]

void AECGeProfile::Init ( const FacetModeler::Profile2D rProfile,
const OdRxClass pSegmentType = 0 
)

Initializes AEC Profile.

◆ Init() [2/2]

void AECGeProfile::Init ( const OdGeSegmentChain2d rPolyline,
const OdRxClass pSegmentType = 0 
)

Initializes AEC Profile.

◆ InitFrom()

void AECGeProfile::InitFrom ( const FacetModeler::Profile2D rProfile,
const AECGeProfile pSource,
const OdRxClass pSegmentType = 0 
)

Initializes AEC Profile.

◆ IsCacheInvalid()

bool AECGeProfile::IsCacheInvalid ( ) const
inline

Cache invalidation. If true should be updated next when time is asked for.

Definition at line 150 of file AECGeProfile.h.

◆ SetAttribute()

void AECGeProfile::SetAttribute ( AECAttribute pAttr)

Attaches attribute.

◆ SetCacheInvalid()

void AECGeProfile::SetCacheInvalid ( bool  bInvalid)
inline

Cache invalidation.

Definition at line 157 of file AECGeProfile.h.

◆ SetDefaultRingType()

void AECGeProfile::SetDefaultRingType ( const OdRxClass pRingType)

Sets default ring type for Init methods

◆ SetDefaultSegmentType()

void AECGeProfile::SetDefaultSegmentType ( const OdRxClass pSegmentType)

Sets default segment type for Init methods

◆ Translate()

void AECGeProfile::Translate ( const OdGeVector2d v)

Translates profile.

Member Data Documentation

◆ m_aRings

AECImpArray AECGeProfile::m_aRings
protected

Definition at line 168 of file AECGeProfile.h.

◆ m_nFlags

OdUInt16 AECGeProfile::m_nFlags
protected

Definition at line 171 of file AECGeProfile.h.

◆ m_pAttribute

AECAttributePtr AECGeProfile::m_pAttribute
protected

Definition at line 174 of file AECGeProfile.h.

◆ m_pDefaultRingType

const OdRxClass* AECGeProfile::m_pDefaultRingType
protected

Definition at line 180 of file AECGeProfile.h.

◆ m_pDefaultSegmentType

const OdRxClass* AECGeProfile::m_pDefaultSegmentType
protected

Definition at line 177 of file AECGeProfile.h.


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