Engauge Digitizer 2
Loading...
Searching...
No Matches
CentipedeEndpointsCartesian Class Reference

Compute endpoints for cartesian centipedes. More...

#include <CentipedeEndpointsCartesian.h>

Inheritance diagram for CentipedeEndpointsCartesian:
Inheritance graph
Collaboration diagram for CentipedeEndpointsCartesian:
Collaboration graph

Public Member Functions

 CentipedeEndpointsCartesian (const DocumentModelGuideline &modelGuideline, const Transformation &transformation, const QPointF &posClickScreen)
 Constructor with individual coordinates.
virtual ~CentipedeEndpointsCartesian ()
QPointF posScreenConstantXForHighY (double radius) const
 Screen point for X value of circle/coordinate intersection in the increasing Y direction.
QPointF posScreenConstantXForLowY (double radius) const
 Screen point for X value of circle/coordinate intersection in the decreasing Y direction.
QPointF posScreenConstantYForHighX (double radius) const
 Screen point for Y value of circle/coordinate intersection in the increasing X direction.
QPointF posScreenConstantYForLowX (double radius) const
 Screen point for Y value of circle/coordinate intersection in the decreasing X direction.
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 DocumentModelGuidelinemodelGuideline () const
 Settings.
QPointF posClickScreen () const
 Center of circle in screen coordinates.
const Transformationtransformation () const
 Transformation which is static through the entire lifetime of the Centipede class instances.

Detailed Description

Compute endpoints for cartesian centipedes.

Definition at line 17 of file CentipedeEndpointsCartesian.h.

Constructor & Destructor Documentation

◆ CentipedeEndpointsCartesian()

CentipedeEndpointsCartesian::CentipedeEndpointsCartesian ( const DocumentModelGuideline & modelGuideline,
const Transformation & transformation,
const QPointF & posClickScreen )

Constructor with individual coordinates.

Definition at line 16 of file CentipedeEndpointsCartesian.cpp.

18 :
22{
23}
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.

◆ ~CentipedeEndpointsCartesian()

CentipedeEndpointsCartesian::~CentipedeEndpointsCartesian ( )
virtual

Definition at line 25 of file CentipedeEndpointsCartesian.cpp.

26{
27}

Member Function Documentation

◆ posScreenConstantXForHighY()

QPointF CentipedeEndpointsCartesian::posScreenConstantXForHighY ( double radius) const

Screen point for X value of circle/coordinate intersection in the increasing Y direction.

Definition at line 105 of file CentipedeEndpointsCartesian.cpp.

106{
107 return posScreenConstantXCommon (radius,
109}
@ CENTIPEDE_INTERSECTION_HIGH
Intersection along circle perimeter with lowest value of XT or YR.

◆ posScreenConstantXForLowY()

QPointF CentipedeEndpointsCartesian::posScreenConstantXForLowY ( double radius) const

Screen point for X value of circle/coordinate intersection in the decreasing Y direction.

Definition at line 111 of file CentipedeEndpointsCartesian.cpp.

112{
113 return posScreenConstantXCommon (radius,
115}
@ CENTIPEDE_INTERSECTION_LOW

◆ posScreenConstantYForHighX()

QPointF CentipedeEndpointsCartesian::posScreenConstantYForHighX ( double radius) const

Screen point for Y value of circle/coordinate intersection in the increasing X direction.

Definition at line 173 of file CentipedeEndpointsCartesian.cpp.

174{
175 return posScreenConstantYCommon (radius,
177}

◆ posScreenConstantYForLowX()

QPointF CentipedeEndpointsCartesian::posScreenConstantYForLowX ( double radius) const

Screen point for Y value of circle/coordinate intersection in the decreasing X direction.

Definition at line 179 of file CentipedeEndpointsCartesian.cpp.

180{
181 return posScreenConstantYCommon (radius,
183}

The documentation for this class was generated from the following files: