constexpr int ARC_SEED_PICK_PIXELS
Screen distance in pixels within which a click picks a graphic to start a tangent arc from.
std::optional< ARC_TANGENT_SEED > ArcTangentSeedAt(const EDA_SHAPE &aShape, const VECTOR2I &aPoint, int aTolerance)
Tangent seed for a point on or near a segment, arc or Bezier shape.
std::optional< ARC_TANGENT_SEED > ArcTangentSeedNear(const EDA_SHAPE &aShape, const VECTOR2I &aNear)
Seed the next tangent arc from whichever endpoint of aShape lies nearest aNear.
Start point and departure direction that ARC_DRAW_MODE::TANGENT needs to begin an arc.
bool m_directionIsAxis
True when only the tangent line is known, not its sign.
VECTOR2< int32_t > VECTOR2I
VECTOR2< double > VECTOR2D