23#ifndef __FMIMP_SIMPLE_CONTOUR2D_H__
24#define __FMIMP_SIMPLE_CONTOUR2D_H__
58 : m_ptStart(rPt), m_dBulge(dBulge) { }
61 : m_ptStart(rPt), m_dBulge(dBulge), m_Attr(rAttr) { }
66 inline const double &
bulge()
const {
return m_dBulge; };
67 inline double &
bulge() {
return m_dBulge; };
82 : m_pVertex(&rVData), m_pEndPt( &rPt ) { };
85 { m_pVertex = &rVData; m_pEndPt = &rPt; };
148 inline bool _closed()
const {
return m_bClosed; };
164 return m_vecVertices[iIndex];
173 return m_vecVertices[iIndex];
183 inline void _setClosed(
bool bClosed ) { m_bClosed = bClosed; };
virtual Result set(const OdGePoint2d &ptA, const OdGePoint2d &ptB, double dBulge, const Attributes2D &rAttr)
virtual const Attributes2D & attributes() const
virtual double bulge() const
virtual const OdGePoint2d & endPt() const
void set(const VertexData &rVData, const OdGePoint2d &rPt)
const OdGePoint2d & _endPt() const
ImplSeg2D(const VertexData &rVData, const OdGePoint2d &rPt)
Attributes2D & _attr() const
virtual Attributes2D & attributes4U()
virtual const OdGePoint2d & startPt() const
const OdGePoint2d & _startPt() const
VertexData(const OdGePoint2d &rPt, double dBulge, const Attributes2D &rAttr)
const double & bulge() const
const OdGePoint2d & point() const
Attributes2D & attributes() const
VertexData(const OdGePoint2d &rPt, double dBulge=0.0)
void _setClosed(bool bClosed)
void _setModifiedSegs(OdUInt32, OdUInt32=1)
Result _getSegment(OdUInt32 iIndex, ImplSeg2D &rSeg) const
void _resize(OdUInt32 iNewVertNum)
VertexData & _vertex(OdUInt32 iIndex)
OdUInt32 _numSegments() const
ContourImplClass _implClass() const
const VertexData & _vertex(OdUInt32 iIndex) const
void _setModifiedVerts(OdUInt32, OdUInt32=1)
Result _insertVerticesAt(OdUInt32 iIndex, OdUInt32 iCount, const OdGePoint2d *paPoints, const double *paBulges=0, const Attributes2D *pAttrs=0)
Result _removeVertices(OdUInt32 iIndex, OdUInt32 iCount=1)
SimpleContour2DImplData()
virtual ~SimpleContour2DImplData()
void _reserveVertices(OdUInt32 iReservedSize)
OdUInt32 _numVerts() const
Result _normalizeIndex(OdUInt32 &iVertIndex) const
void _reset(OdUInt32 iVertexCount=0, bool bClosed=false)
virtual IContour2D * clone() const