CFx SDK Documentation  2023 SP0
Public Member Functions | List of all members
AECGeRing Class Reference

#include <AECGeRing.h>

Inheritance diagram for AECGeRing:
AECGeCompCurve2d AECImpObj OdRxObjectImpl< OdRxObject, AECImpObj > OdRxObject AECGeSlabLoop

Public Member Functions

bool IsHole () const
 
OdGePoint2d GetCenterOfMass () const
 
double GetArea () const
 
- Public Member Functions inherited from AECGeCompCurve2d
bool IsClosed () const
 
void SetClosed (bool bClosed)
 
OdUInt32 GetVertexCount () const
 
OdUInt32 GetSegmentCount () const
 
virtual bool GetVertexByIndex (OdUInt32 iIndex, OdGePoint2d &ptVertex, double &dBulge) const
 
virtual bool GetSegmentByIndex (OdUInt32 iIndex, OdGePoint2d &ptVertex1, OdGePoint2d &ptVertex2, double &dBulge) const
 
AECGeSegment2dPtr GetSegmentByIndex (OdUInt32 iIndex) const
 
AECImpArrayPtr GetSegments ()
 
void Init (const OdGeSegmentChain2d &rPolyline, const OdRxClass *pSegmentType=0)
 
void Init (const FacetModeler::Contour2D &rContour, const OdRxClass *pSegmentType=0)
 
void SetDefaultSegmentType (const OdRxClass *pSegmentType)
 
void GetRawContour (FacetModeler::Contour2D &rContour) const
 
AECAttributeSubPtr GetAttribute () const
 
void SetAttribute (AECAttribute *pAttr)
 
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
 

Additional Inherited Members

- Static Public Member Functions inherited from AECGeCompCurve2d
static AECGeCompCurve2dPtr Create (const OdGeSegmentChain2d &rPolyline, const OdRxClass *pSegmentType=0)
 
static AECGeCompCurve2dPtr Create (const FacetModeler::Contour2D &rContour, 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 Member Functions inherited from AECGeCompCurve2d
void regenDwgData ()
 DOM. More...
 
void regenDxfData ()
 DOM. More...
 
virtual void InitSegmentsImpl (const FacetModeler::Contour2D &rContour, const AECGeInitSegments &rSegSource, const OdRxClass *pSegmentType=0)
 DOM. More...
 
virtual OdUInt32 GetRawContourImpl (FacetModeler::Contour2D &rContour, OdUInt32 uSegmentKey=0) const
 DOM. More...
 
virtual void CopyDataFrom (const AECGeCompCurve2d *pSource)
 DOM. More...
 
bool IsCacheInvalid () const
 
void SetCacheInvalid (bool bInvalid)
 
- Protected Member Functions inherited from OdRxObjectImpl< OdRxObject, AECImpObj >
 ODRX_HEAP_OPERATORS ()
 
- Protected Attributes inherited from AECGeCompCurve2d
AECImpArray m_aSegments
 
OdUInt16 m_nFlags
 
bool m_bClosed
 
std::vector< SCompCurve2dVertexm_aVertices
 
double m_dLastVertexX
 
double m_dLastVertexY
 
AECAttributePtr m_pAttribute
 
const OdRxClassm_pDefaultSegmentType
 
- Protected Attributes inherited from AECImpObj
class AECSIBase * m_pImp
 DOM. More...
 
OdUInt16 m_iMinSupportedVersion
 

Detailed Description

AEC 2D Ring.

Remarks
Closed AEC 2D Curve.

<group TA_API_Subobjects_Ge>

Definition at line 37 of file AECGeRing.h.

Member Function Documentation

◆ GetArea()

double AECGeRing::GetArea ( ) const

Returns the area of the ring.

◆ GetCenterOfMass()

OdGePoint2d AECGeRing::GetCenterOfMass ( ) const

Returns the center of mass.

◆ IsHole()

bool AECGeRing::IsHole ( ) const

Returns whether this ring is a hole.

Remarks
For ring within a profile it is considered a hole if it has clockwise direction.

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