175        if( std::min( ccwAngle, cwAngle ) >= 
ANGLE_90 )
 
 
static EDA_ANGLE snapAngle(const EDA_ANGLE &aAngle)
< Snap an angle to the nearest 45 degrees
 
constexpr BOX2I KiROUND(const BOX2D &aBoxD)
 
VECTOR2I GetOrigin() const
< Get the center point of the arc (valid when state > SET_ORIGIN)
 
void SetClockwise(bool aCw)
Reverse the current are direction.
 
void ToggleClockwise()
Set angle snapping (for the next point)
 
EDA_ANGLE GetStartAngle() const
Get the angle of the vector leading to the end point (valid if step >= SET_ANGLE)
 
bool setStart(const VECTOR2I &aEnd)
Set a point of the second radius line (collinear with arc end)
 
VECTOR2I GetStartRadiusEnd() const
Get the coordinates of the arc end point.
 
bool acceptPoint(const VECTOR2I &aPt) override
The arc to be clockwise from start.
 
VECTOR2I GetEndRadiusEnd() const
Get the radius of the arc (valid if step >= SET_START)
 
bool setEnd(const VECTOR2I &aCursor)
 
double GetRadius() const
Get the angle of the vector leading to the start point (valid if step >= SET_START)
 
EDA_ANGLE GetSubtended() const
 
bool setOrigin(const VECTOR2I &aOrigin)
< Set the center point of the arc
 
@ SET_ORIGIN
Waiting to lock in origin point.
 
@ SET_ANGLE
Waiting to lock in the arc end point.
 
@ SET_START
Waiting to lock in the arc start point.
 
void setGeometryChanged()
< Mark the geometry as changed for clients to notice
 
T EuclideanNorm() const
Compute the Euclidean norm of the vector, which is defined as sqrt(x ** 2 + y ** 2).
 
static constexpr EDA_ANGLE ANGLE_0
 
static constexpr EDA_ANGLE ANGLE_90
 
static constexpr EDA_ANGLE ANGLE_45
 
static constexpr EDA_ANGLE ANGLE_360
 
EDA_ANGLE abs(const EDA_ANGLE &aAngle)
 
void RotatePoint(int *pX, int *pY, const EDA_ANGLE &aAngle)
Calculate the new point of coord coord pX, pY, for a rotation center 0, 0.
 
VECTOR2< int32_t > VECTOR2I