CArc Class Reference
#include <Arc.h>
Public Member Functions | |
bool | AlmostALine () const |
CArc () | |
CArc (const Point &s, const Point &e, const Point &c, bool dir, int user_data) | |
void | GetSegments (void(*callbackfunc)(const double *p), double pixels_per_mm) const |
double | IncludedAngle () const |
Point | MidParam (double param) const |
void | SetDirWithPoint (const Point &p) |
Public Attributes | |
Point | m_c |
bool | m_dir |
Point | m_e |
Point | m_s |
int | m_user_data |
Constructor & Destructor Documentation
◆ CArc() [1/2]
CArc::CArc | ( | ) |
◆ CArc() [2/2]
Member Function Documentation
◆ AlmostALine()
bool CArc::AlmostALine | ( | ) | const |
References Point::dist(), m_c, m_e, m_s, MidParam(), and Point::tolerance.
◆ GetSegments()
void CArc::GetSegments | ( | void(*)(const double *p) | callbackfunc, |
double | pixels_per_mm | ||
) | const |
◆ IncludedAngle()
double CArc::IncludedAngle | ( | ) | const |
◆ MidParam()
Point CArc::MidParam | ( | double | param | ) | const |
returns a point which is 0-1 along arc
References IncludedAngle(), m_c, m_e, m_s, and Point::Rotate().
Referenced by AlmostALine().
◆ SetDirWithPoint()
void CArc::SetDirWithPoint | ( | const Point & | p | ) |
Member Data Documentation
◆ m_c
Point CArc::m_c |
Referenced by AlmostALine(), GetSegments(), IncludedAngle(), MidParam(), and SetDirWithPoint().
◆ m_dir
bool CArc::m_dir |
Referenced by GetSegments(), IncludedAngle(), and SetDirWithPoint().
◆ m_e
Point CArc::m_e |
Referenced by AlmostALine(), GetSegments(), IncludedAngle(), MidParam(), and SetDirWithPoint().
◆ m_s
Point CArc::m_s |
Referenced by AlmostALine(), GetSegments(), IncludedAngle(), MidParam(), and SetDirWithPoint().
◆ m_user_data
int CArc::m_user_data |
The documentation for this class was generated from the following files:
- src/Mod/Path/libarea/Arc.h
- src/Mod/Path/libarea/Arc.cpp