Engauge Digitizer 2
|
Compute endpoints for polar centipedes. More...
#include <CentipedeEndpointsPolar.h>
Public Member Functions | |
CentipedeEndpointsPolar (const DocumentModelCoords &modelCoords, const DocumentModelGuideline &modelGuideline, const Transformation &transformation, const QPointF &posClickScreen, const QPointF &posOriginScreen) | |
Constructor with individual coordinates. | |
virtual | ~CentipedeEndpointsPolar () |
void | ellipseScreenConstantRForTHighLowAngles (const Transformation &transformation, const QPointF &posClickScreen, double &angleRotation, QRectF &rectBounding, CentipedeDebugPolar &DebugPolar) |
Ellipse for R value of circle/coordinate intersection. Start/span angles are calculated separately. | |
QPointF | posScreenConstantRForHighT (double radius) const |
Screen point for R value of circle/coordinate intersection in the increasing T direction. | |
QPointF | posScreenConstantRForLowT (double radius) const |
Screen point for R value of circle/coordinate intersection in the decreasing T direction. | |
void | posScreenConstantRHighLow (double radiusAboutClick, QPointF &posLow, QPointF &posHigh) const |
Return two points (posLow and posHigh) where circle around posClickScreen intersects constant-radiusAboutClick ellipse. | |
void | posScreenConstantTForRHighLow (double radius, QPointF &posLow, QPointF &posHigh) const |
Endpoints for radial line segmentin polar coordinates. | |
Public Member Functions inherited from CentipedeEndpointsAbstract | |
CentipedeEndpointsAbstract (const DocumentModelGuideline &modelGuideline, const Transformation &transformation, const QPointF &posClickScreen) | |
Constructor with individual coordinates. | |
virtual | ~CentipedeEndpointsAbstract () |
Additional Inherited Members | |
Protected Member Functions inherited from CentipedeEndpointsAbstract | |
const DocumentModelGuideline & | modelGuideline () const |
Settings. | |
QPointF | posClickScreen () const |
Center of circle in screen coordinates. | |
const Transformation & | transformation () const |
Transformation which is static through the entire lifetime of the Centipede class instances. |
Compute endpoints for polar centipedes.
Definition at line 20 of file CentipedeEndpointsPolar.h.
CentipedeEndpointsPolar::CentipedeEndpointsPolar | ( | const DocumentModelCoords & | modelCoords, |
const DocumentModelGuideline & | modelGuideline, | ||
const Transformation & | transformation, | ||
const QPointF & | posClickScreen, | ||
const QPointF & | posOriginScreen ) |
Constructor with individual coordinates.
Definition at line 21 of file CentipedeEndpointsPolar.cpp.
|
virtual |
Definition at line 34 of file CentipedeEndpointsPolar.cpp.
void CentipedeEndpointsPolar::ellipseScreenConstantRForTHighLowAngles | ( | const Transformation & | transformation, |
const QPointF & | posClickScreen, | ||
double & | angleRotation, | ||
QRectF & | rectBounding, | ||
CentipedeDebugPolar & | DebugPolar ) |
Ellipse for R value of circle/coordinate intersection. Start/span angles are calculated separately.
Definition at line 55 of file CentipedeEndpointsPolar.cpp.
QPointF CentipedeEndpointsPolar::posScreenConstantRForHighT | ( | double | radius | ) | const |
Screen point for R value of circle/coordinate intersection in the increasing T direction.
Definition at line 212 of file CentipedeEndpointsPolar.cpp.
QPointF CentipedeEndpointsPolar::posScreenConstantRForLowT | ( | double | radius | ) | const |
Screen point for R value of circle/coordinate intersection in the decreasing T direction.
Definition at line 218 of file CentipedeEndpointsPolar.cpp.
void CentipedeEndpointsPolar::posScreenConstantRHighLow | ( | double | radiusAboutClick, |
QPointF & | posLow, | ||
QPointF & | posHigh ) const |
Return two points (posLow and posHigh) where circle around posClickScreen intersects constant-radiusAboutClick ellipse.
Definition at line 224 of file CentipedeEndpointsPolar.cpp.
void CentipedeEndpointsPolar::posScreenConstantTForRHighLow | ( | double | radius, |
QPointF & | posLow, | ||
QPointF & | posHigh ) const |
Endpoints for radial line segmentin polar coordinates.
Definition at line 287 of file CentipedeEndpointsPolar.cpp.