7#ifndef CENTIPEDE_SEGMENT_CONSTANT_R_ELLIPSE_H
8#define CENTIPEDE_SEGMENT_CONSTANT_R_ELLIPSE_H
39 QPointF posTangentialCenter,
40 QPointF posTangentialHigh,
47 void posScreenConstantRForXTHighLowAngles (
double radius,
48 const QPointF &posLow,
49 const QPointF &posHigh)
const;
55 QPointF m_posRadialLow;
56 QPointF m_posRadialHigh;
59 QPointF m_posTangentialLow;
60 QPointF m_posTangentialHigh;
63 QPointF m_posOriginScreen;
Class for collecting and then displaying debug information computed during constant R ellipse calcula...
QPointF posClickScreen() const
Center of circle in screen coordinates.
CentipedeSegmentAbstract(const DocumentModelGuideline &modelGuideline, const Transformation &transformation, const QPointF &posClickScreen)
Constructor with individual coordinates.
const DocumentModelGuideline & modelGuideline() const
Settings.
Transformation transformation() const
Transformation which is static through the entire lifetime of the Centipede class instances.
CentipedeSegmentConstantREllipse(GraphicsScene &scene, const DocumentModelCoords &modelCoords, const DocumentModelGuideline &modelGuideline, const Transformation &transformation, const QPointF &posClickScreen)
Constructor with individual coordinates.
virtual double distanceToClosestEndpoint(const QPointF &posScreen) const
Return distance to closest endpoint.
virtual void updateRadius(double radius)
Update geometry to reflect cursor movement.
virtual ~CentipedeSegmentConstantREllipse()
void signalUpdateAngles(QPointF posTangentialLow, QPointF posTangentialCenter, QPointF posTangentialHigh, double widthToHeight, double scaling)
Send new geometry for later updating.
Model for DlgSettingsCoords and CmdSettingsCoords.
Model for managing the coordinate values corresponding Guidelines.
Enable postponed geometry changes for GraphicsArcItem, using a signal to trigger this class to update...
Draw an arc as an ellipse but without lines from the center to the start and end points.
Add point and line handling to generic QGraphicsScene.