OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Chart::ButtonToDrag Class Reference

Public Member Functions

bool operator< (const ButtonToDrag &a) const
 ButtonToDrag (wxPoint2DDouble pos)
wxPoint2DDouble get_pos () const
void move (double x, double y)

Private Attributes

wxPoint2DDouble m_pos

Detailed Description

Constructor & Destructor Documentation

◆ ButtonToDrag()

Chart::ButtonToDrag::ButtonToDrag ( wxPoint2DDouble pos)
inline
73: m_pos{pos} {};
wxPoint2DDouble m_pos
Definition RammingChart.hpp:77
Vec3d pos(const Pt &p)
Definition ReprojectPointsOnMesh.hpp:16

References m_pos.

Referenced by operator<().

Here is the caller graph for this function:

Member Function Documentation

◆ get_pos()

wxPoint2DDouble Chart::ButtonToDrag::get_pos ( ) const
inline
74{ return m_pos; }

References m_pos.

◆ move()

void Chart::ButtonToDrag::move ( double x,
double y )
inline
75{ m_pos.m_x+=x; m_pos.m_y+=y; }

References m_pos.

◆ operator<()

bool Chart::ButtonToDrag::operator< ( const ButtonToDrag & a) const
inline
72{ return m_pos.m_x < a.m_pos.m_x; }

References ButtonToDrag(), and m_pos.

Here is the call graph for this function:

Member Data Documentation

◆ m_pos

wxPoint2DDouble Chart::ButtonToDrag::m_pos
private

Referenced by ButtonToDrag(), get_pos(), move(), and operator<().


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