CFx SDK Documentation 2024 SP0
|
#include <AECGeProfile.h>
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 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 |
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< AECImpObj > | createObject () |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
Protected Attributes | |
AECImpArray | m_aRings |
OdUInt16 | m_nFlags |
AECAttributePtr | m_pAttribute |
const OdRxClass * | m_pDefaultSegmentType |
const OdRxClass * | m_pDefaultRingType |
Protected Attributes inherited from AECImpObj | |
class AECSIBase * | m_pImp |
DOM. | |
OdUInt16 | m_iMinSupportedVersion |
Additional Inherited Members | |
Protected Member Functions inherited from OdRxObjectImpl< OdRxObject, AECImpObj > | |
ODRX_HEAP_OPERATORS () | |
AEC Profile.
<group TA_API_Subobjects_Ge>
Definition at line 46 of file AECGeProfile.h.
|
static |
Creates AEC Profile.
|
static |
Creates AEC Profile.
|
static |
Creates standard rectangular profile.
double AECGeProfile::GetArea | ( | ) | const |
Returns the area of the profile.
AECAttributeSubPtr AECGeProfile::GetAttribute | ( | ) | const |
Returns attached attribute.
OdGePoint2d AECGeProfile::GetCenterOfMass | ( | ) | const |
Returns the center of mass.
void AECGeProfile::GetExtents | ( | OdGeExtents2d & | cExtents | ) | const |
Returns the extents of profile.
void AECGeProfile::GetRawProfile | ( | FacetModeler::Profile2D & | rProfile | ) | const |
Returns raw profile.
AECGeRingSubPtr AECGeProfile::GetRingByIndex | ( | OdUInt32 | iIndex | ) | const |
Returns ring by index.
Throws:
Cause eInvalidIndex Specified index is out of bounds
OdUInt32 AECGeProfile::GetRingCount | ( | ) | const |
Returns the number of rings in profile.
AECImpArraySubPtr AECGeProfile::GetRings | ( | ) |
Returns the array of rings.
void AECGeProfile::Init | ( | const FacetModeler::Profile2D & | rProfile, |
const OdRxClass * | pSegmentType = 0 |
||
) |
Initializes AEC Profile.
void AECGeProfile::Init | ( | const OdGeSegmentChain2d & | rPolyline, |
const OdRxClass * | pSegmentType = 0 |
||
) |
Initializes AEC Profile.
void AECGeProfile::InitFrom | ( | const FacetModeler::Profile2D & | rProfile, |
const AECGeProfile * | pSource, | ||
const OdRxClass * | pSegmentType = 0 |
||
) |
Initializes AEC Profile.
|
inline |
Cache invalidation. If true should be updated next when time is asked for.
Definition at line 150 of file AECGeProfile.h.
void AECGeProfile::SetAttribute | ( | AECAttribute * | pAttr | ) |
Attaches attribute.
|
inline |
Cache invalidation.
Definition at line 157 of file AECGeProfile.h.
Sets default ring type for Init methods
Sets default segment type for Init methods
void AECGeProfile::Translate | ( | const OdGeVector2d & | v | ) |
Translates profile.
|
protected |
Definition at line 168 of file AECGeProfile.h.
|
protected |
Definition at line 171 of file AECGeProfile.h.
|
protected |
Definition at line 174 of file AECGeProfile.h.
|
protected |
Definition at line 180 of file AECGeProfile.h.
|
protected |
Definition at line 177 of file AECGeProfile.h.