CFx SDK Documentation
2023 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) |
Public Member Functions inherited from AECImpObj | |
const OdString & | GetDescription () const |
void | SetDescription (const OdString &strDescription) |
virtual void | onObjectLoaded () |
virtual void | SubClose () |
DOM. More... | |
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. 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 OdRxObject * | queryX (const OdRxClass *pClass) const |
virtual OdRxObject * | x (const OdRxClass *pClass) const |
virtual OdRxClass * | isA () 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 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. 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 | |
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. More... | |
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 208 of file AECGeCompCurve2d.h.
bool AECGeCompCurve2d::IsClosed | ( | ) | const |
Returns whether the curve is closed.
|
protected |
DOM.
|
protected |
DOM.
void AECGeCompCurve2d::SetAttribute | ( | AECAttribute * | pAttr | ) |
Attaches attribute.
|
inlineprotected |
Cache invalidation.
Definition at line 215 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 189 of file AECGeCompCurve2d.h.
|
protected |
Definition at line 244 of file AECGeCompCurve2d.h.
|
protected |
Definition at line 256 of file AECGeCompCurve2d.h.
|
protected |
Definition at line 250 of file AECGeCompCurve2d.h.
|
protected |
Definition at line 259 of file AECGeCompCurve2d.h.
|
protected |
Definition at line 262 of file AECGeCompCurve2d.h.
|
protected |
Definition at line 247 of file AECGeCompCurve2d.h.
|
protected |
Definition at line 265 of file AECGeCompCurve2d.h.
|
protected |
Definition at line 268 of file AECGeCompCurve2d.h.