7#ifndef CENTIPEDE_SEGMENT_ABSTRACT_H
8#define CENTIPEDE_SEGMENT_ABSTRACT_H
49 double angleOld)
const;
65 QPointF m_posClickScreen;
IntersectionType
Intersect with one of the following XT or YT coordinates for constant YR or XT respectively.
@ INTERSECTION_HIGH
Intersection of circle center with XT or YR.
@ INTERSECTION_CENTER
Intersection along circle perimeter with lowest value of XT or YR.
QPointF posClickScreen() const
Center of circle in screen coordinates.
double closestAngleToCentralAngle(double angleCenter, double angleOld) const
Loop to find closest angle to angleCenter.
virtual double distanceToClosestEndpoint(const QPointF &posScreen) const =0
Return distance to closest endpoint.
CentipedeSegmentAbstract(const DocumentModelGuideline &modelGuideline, const Transformation &transformation, const QPointF &posClickScreen)
Constructor with individual coordinates.
virtual ~CentipedeSegmentAbstract()
virtual void updateRadius(double radius)=0
Update geometry to reflect cursor movement.
const DocumentModelGuideline & modelGuideline() const
Settings.
Transformation transformation() const
Transformation which is static through the entire lifetime of the Centipede class instances.
Model for managing the coordinate values corresponding Guidelines.