GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
octave_polygon Class Reference
Collaboration diagram for octave_polygon:

Public Member Functions

 octave_polygon (QPolygonF p)
 
 octave_polygon (void)
 
 ~octave_polygon (void)
 
void add (QPolygonF p)
 
int count (void) const
 
QList< QPolygonF > reconstruct (void)
 
void reset (void)
 

Static Public Member Functions

static bool eq (QPointF p1, QPointF p2)
 
static QPolygonF mergepoly (QPolygonF poly1, QPolygonF poly2)
 

Private Attributes

QList< QPolygonF > m_polygons
 

Detailed Description

Definition at line 148 of file octave-svgconvert.cc.

Constructor & Destructor Documentation

◆ octave_polygon() [1/2]

octave_polygon::octave_polygon ( void  )
inline

Definition at line 151 of file octave-svgconvert.cc.

◆ octave_polygon() [2/2]

octave_polygon::octave_polygon ( QPolygonF  p)
inline

Definition at line 154 of file octave-svgconvert.cc.

References m_polygons.

◆ ~octave_polygon()

octave_polygon::~octave_polygon ( void  )
inline

Definition at line 157 of file octave-svgconvert.cc.

Member Function Documentation

◆ add()

void octave_polygon::add ( QPolygonF  p)
inline

Definition at line 317 of file octave-svgconvert.cc.

References m_polygons, and mergepoly().

Referenced by reconstruct_polygons().

◆ count()

int octave_polygon::count ( void  ) const
inline

Definition at line 159 of file octave-svgconvert.cc.

References m_polygons.

Referenced by reconstruct_polygons().

◆ eq()

static bool octave_polygon::eq ( QPointF  p1,
QPointF  p2 
)
inlinestatic

Definition at line 256 of file octave-svgconvert.cc.

Referenced by mergepoly().

◆ mergepoly()

static QPolygonF octave_polygon::mergepoly ( QPolygonF  poly1,
QPolygonF  poly2 
)
inlinestatic

Definition at line 265 of file octave-svgconvert.cc.

References eq().

Referenced by add(), and reconstruct().

◆ reconstruct()

QList<QPolygonF> octave_polygon::reconstruct ( void  )
inline

Definition at line 165 of file octave-svgconvert.cc.

References m_polygons, mergepoly(), and retval.

Referenced by reconstruct_polygons().

◆ reset()

void octave_polygon::reset ( void  )
inline

Definition at line 162 of file octave-svgconvert.cc.

References m_polygons.

Referenced by reconstruct_polygons().

Member Data Documentation

◆ m_polygons

QList<QPolygonF> octave_polygon::m_polygons
private

Definition at line 332 of file octave-svgconvert.cc.

Referenced by octave_polygon(), add(), count(), reconstruct(), and reset().


The documentation for this class was generated from the following file: