CFx SDK Documentation
2020SP3
|
Go to the documentation of this file.
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; };
234 #endif //__FMIMP_SIMPLE_CONTOUR2D_H__
Result _normalizeIndex(OdUInt32 &iVertIndex) const
const OdGePoint2d & _endPt() const
Result _insertVerticesAt(OdUInt32 iIndex, OdUInt32 iCount, const OdGePoint2d *paPoints, const double *paBulges=0, const Attributes2D *pAttrs=0)
virtual Result set(const OdGePoint2d &ptA, const OdGePoint2d &ptB, double dBulge, const Attributes2D &rAttr)
void _reserveVertices(OdUInt32 iReservedSize)
SimpleContour2DImplData()
virtual Attributes2D & attributes4U()
virtual IContour2D * clone() const
const OdGePoint2d & point() const
const OdGePoint2d & _startPt() const
void _reset(OdUInt32 iVertexCount=0, bool bClosed=false)
OdUInt32 _numVerts() const
ContourImplClass _implClass() const
const double & bulge() const
Result _removeVertices(OdUInt32 iIndex, OdUInt32 iCount=1)
ImplSeg2D(const VertexData &rVData, const OdGePoint2d &rPt)
OdUInt32 _numSegments() const
void _setModifiedVerts(OdUInt32, OdUInt32=1)
virtual ~SimpleContour2DImplData()
void _resize(OdUInt32 iNewVertNum)
virtual const Attributes2D & attributes() const
const VertexData & _vertex(OdUInt32 iIndex) const
VertexData & _vertex(OdUInt32 iIndex)
Result _getSegment(OdUInt32 iIndex, ImplSeg2D &rSeg) const
void _setClosed(bool bClosed)
Attributes2D & _attr() const
virtual const OdGePoint2d & startPt() const
void _setModifiedSegs(OdUInt32, OdUInt32=1)
VertexData(const OdGePoint2d &rPt, double dBulge=0.0)
Attributes2D & attributes() const
VertexData(const OdGePoint2d &rPt, double dBulge, const Attributes2D &rAttr)
virtual double bulge() const
void set(const VertexData &rVData, const OdGePoint2d &rPt)
virtual const OdGePoint2d & endPt() const