24#ifndef __AECGECOMPCURVE2D_H__
25#define __AECGECOMPCURVE2D_H__
35class AECGeInitSegments;
91 double& dBulge )
const;
109 double& dBulge )
const;
199 const AECGeInitSegments& rSegSource,
214 return GETBIT( m_nFlags, 1 );
221 SETBIT( m_nFlags, 1, bInvalid );
233 return (m_dBulge==0.0);
AECSubPtr< AECGeCompCurve2d > AECGeCompCurve2dSubPtr
OdSmartPtr< AECGeCompCurve2d > AECGeCompCurve2dPtr
#define AEC_DECLARE_MEMBERS(ClassName)
#define SETBIT(flags, bit, value)
#define GETBIT(flags, bit)
virtual OdUInt32 GetRawContourImpl(FacetModeler::Contour2D &rContour, OdUInt32 uSegmentKey=0) const
DOM.
AECAttributeSubPtr GetAttribute() const
void Translate(const OdGeVector2d &v)
void Init(const OdGeSegmentChain2d &rPolyline, const OdRxClass *pSegmentType=0)
bool IsCacheInvalid() const
static AECGeCompCurve2dPtr Create(const FacetModeler::Contour2D &rContour, const OdRxClass *pSegmentType=0)
void SetClosed(bool bClosed)
AECAttributePtr m_pAttribute
static AECGeCompCurve2dPtr Create(const OdGeSegmentChain2d &rPolyline, const OdRxClass *pSegmentType=0)
std::vector< SCompCurve2dVertex > m_aVertices
void GetRawContour(FacetModeler::Contour2D &rContour) const
virtual void InitSegmentsImpl(const FacetModeler::Contour2D &rContour, const AECGeInitSegments &rSegSource, const OdRxClass *pSegmentType=0)
DOM.
void SetAttribute(AECAttribute *pAttr)
virtual bool GetVertexByIndex(OdUInt32 iIndex, OdGePoint2d &ptVertex, double &dBulge) const
void SetCacheInvalid(bool bInvalid)
virtual bool GetSegmentByIndex(OdUInt32 iIndex, OdGePoint2d &ptVertex1, OdGePoint2d &ptVertex2, double &dBulge) const
const OdRxClass * m_pDefaultSegmentType
OdUInt32 GetVertexCount() const
OdUInt32 GetSegmentCount() const
virtual void CopyDataFrom(const AECGeCompCurve2d *pSource)
DOM.
AECGeSegment2dPtr GetSegmentByIndex(OdUInt32 iIndex) const
void SetDefaultSegmentType(const OdRxClass *pSegmentType)
AECImpArrayPtr GetSegments()
void Init(const FacetModeler::Contour2D &rContour, const OdRxClass *pSegmentType=0)