7#ifndef CENTIPEDE_ENDPOINTS_POLAR_H
8#define CENTIPEDE_ENDPOINTS_POLAR_H
28 const QPointF &posOriginScreen);
34 double &angleRotation,
49 QPointF &posHigh)
const;
54 QPointF &posHigh)
const;
59 double closestAngleToCentralAngle (
double angleCenter,
60 double angleOld)
const;
63 void generatePreviousAndNextPointsConstantR (
double radius,
66 QPointF &posGraphPrevious,
67 QPointF &posGraphNext,
68 QPointF &posScreen)
const;
71 QPointF posScreenConstantRCommon (
double radius,
74 double rAtOrigin ()
const;
75 double tAtOrigin ()
const;
78 QPointF m_posOriginScreen;
CentipedeIntersectionType
Intersect with one of the following XT or YT coordinates for constant YR or XT respectively.
Class for collecting and then displaying debug information computed during constant R ellipse calcula...
QPointF posClickScreen() const
Center of circle in screen coordinates.
const DocumentModelGuideline & modelGuideline() const
Settings.
const Transformation & transformation() const
Transformation which is static through the entire lifetime of the Centipede class instances.
CentipedeEndpointsAbstract(const DocumentModelGuideline &modelGuideline, const Transformation &transformation, const QPointF &posClickScreen)
Constructor with individual coordinates.
CentipedeEndpointsPolar(const DocumentModelCoords &modelCoords, const DocumentModelGuideline &modelGuideline, const Transformation &transformation, const QPointF &posClickScreen, const QPointF &posOriginScreen)
Constructor with individual coordinates.
QPointF posScreenConstantRForLowT(double radius) const
Screen point for R value of circle/coordinate intersection in the decreasing T direction.
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.
virtual ~CentipedeEndpointsPolar()
void posScreenConstantRHighLow(double radiusAboutClick, QPointF &posLow, QPointF &posHigh) const
Return two points (posLow and posHigh) where circle around posClickScreen intersects constant-radiusA...
void posScreenConstantTForRHighLow(double radius, QPointF &posLow, QPointF &posHigh) const
Endpoints for radial line segmentin polar coordinates.
QPointF posScreenConstantRForHighT(double radius) const
Screen point for R value of circle/coordinate intersection in the increasing T direction.
Model for DlgSettingsCoords and CmdSettingsCoords.
Model for managing the coordinate values corresponding Guidelines.