|
CFx SDK Documentation 2024 SP0
|
#include <AECGeCompCurve2d.h>
Classes | |
| struct | SCompCurve2dVertex |
| DOM. More... | |
Public Member Functions | |
| 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) |
| void | Reverse () |
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 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< AECImpObj > | createObject () |
Static Public Member Functions inherited from OdRxObject | |
| static OdRxObjectPtr | cast (const OdRxObject *pointer) |
| static OdRxClass * | desc () |
Protected Member Functions | |
| void | regenDwgData () |
| DOM. | |
| void | regenDxfData () |
| DOM. | |
| virtual void | InitSegmentsImpl (const FacetModeler::Contour2D &rContour, const AECGeInitSegments &rSegSource, const OdRxClass *pSegmentType=0) |
| DOM. | |
| virtual OdUInt32 | GetRawContourImpl (FacetModeler::Contour2D &rContour, OdUInt32 uSegmentKey=0) const |
| DOM. | |
| virtual void | CopyDataFrom (const AECGeCompCurve2d *pSource) |
| DOM. | |
| bool | IsCacheInvalid () const |
| void | SetCacheInvalid (bool bInvalid) |
Protected Member Functions inherited from OdRxObjectImpl< OdRxObject, AECImpObj > | |
| ODRX_HEAP_OPERATORS () | |
Protected Attributes | |
| AECImpArray | m_aSegments |
| OdUInt16 | m_nFlags |
| bool | m_bClosed |
| std::vector< SCompCurve2dVertex > | m_aVertices |
| double | m_dLastVertexX |
| double | m_dLastVertexY |
| AECAttributePtr | m_pAttribute |
| const OdRxClass * | m_pDefaultSegmentType |
Protected Attributes inherited from AECImpObj | |
| class AECSIBase * | m_pImp |
| DOM. | |
| OdUInt16 | m_iMinSupportedVersion |
Friends | |
| class | AECGeProfile |
AEC 2D Curve.
<group TA_API_Subobjects_Ge>
Definition at line 52 of file AECGeCompCurve2d.h.
|
protectedvirtual |
DOM.
Reimplemented in AECGeSlabLoop.
|
static |
Creates AEC Complex Curve.
|
static |
Creates AEC Complex Curve.
| cPolyline2d | [in] - geometry representation of the curve. |
| pSegmentType | [in] - segment type. |
| AECAttributeSubPtr AECGeCompCurve2d::GetAttribute | ( | ) | const |
Returns attached attribute.
| void AECGeCompCurve2d::GetRawContour | ( | FacetModeler::Contour2D & | rContour | ) | const |
Returns raw contour.
|
protectedvirtual |
DOM.
| AECGeSegment2dPtr AECGeCompCurve2d::GetSegmentByIndex | ( | OdUInt32 | iIndex | ) | const |
Returns segment by index.
|
virtual |
Returns segment by index.
| iIndex | [in] - segment index |
| ptVertex1 | [out] - the location of start vertex |
| ptVertex2 | [out] - the location of end vertex |
| dBulge | [out] - bulge for this segment |
Throws eInvalidIndex exception in case of invalid index.
| OdUInt32 AECGeCompCurve2d::GetSegmentCount | ( | ) | const |
Returns the number of vertices in curve.
| AECImpArrayPtr AECGeCompCurve2d::GetSegments | ( | ) |
Returns array of segments.
|
virtual |
Returns vertex by index.
| iIndex | [in] - vertex index |
| ptVertex | [out] - the location of the vertex |
| dBulge | [out] - bulge for the segment coming from the vertex |
Throws eInvalidIndex exception in case of invalid index.
| OdUInt32 AECGeCompCurve2d::GetVertexCount | ( | ) | const |
Returns the number of vertices in curve.
| void AECGeCompCurve2d::Init | ( | const FacetModeler::Contour2D & | rContour, |
| const OdRxClass * | pSegmentType = 0 |
||
| ) |
Creates AEC Complex Curve.
| void AECGeCompCurve2d::Init | ( | const OdGeSegmentChain2d & | rPolyline, |
| const OdRxClass * | pSegmentType = 0 |
||
| ) |
Creates AEC Complex Curve.
|
protectedvirtual |
DOM.
|
inlineprotected |
Cache invalidation. If true should be updated next when time is asked for.
Definition at line 213 of file AECGeCompCurve2d.h.
| bool AECGeCompCurve2d::IsClosed | ( | ) | const |
Returns whether the curve is closed.
|
protected |
DOM.
|
protected |
DOM.
| void AECGeCompCurve2d::Reverse | ( | ) |
Reverses the contour.
| void AECGeCompCurve2d::SetAttribute | ( | AECAttribute * | pAttr | ) |
Attaches attribute.
|
inlineprotected |
Cache invalidation.
Definition at line 220 of file AECGeCompCurve2d.h.
| void AECGeCompCurve2d::SetClosed | ( | bool | bClosed | ) |
Sets whether the curve is closed.
Sets default segment type for Init methods
| void AECGeCompCurve2d::Translate | ( | const OdGeVector2d & | v | ) |
Translates profile.
|
friend |
Definition at line 194 of file AECGeCompCurve2d.h.
|
protected |
Definition at line 249 of file AECGeCompCurve2d.h.
|
protected |
Definition at line 261 of file AECGeCompCurve2d.h.
|
protected |
Definition at line 255 of file AECGeCompCurve2d.h.
|
protected |
Definition at line 264 of file AECGeCompCurve2d.h.
|
protected |
Definition at line 267 of file AECGeCompCurve2d.h.
|
protected |
Definition at line 252 of file AECGeCompCurve2d.h.
|
protected |
Definition at line 270 of file AECGeCompCurve2d.h.
|
protected |
Definition at line 273 of file AECGeCompCurve2d.h.