Skip to content

Undirected line-tangent-to-circle constraint #71

@adamchalmers

Description

@adamchalmers

Right now the LineTangentToCircle cares about the line's direction.

    /// This line must be tangent to the circle
    /// (i.e. touches its perimeter in exactly one place)
    /// Note this constraint is directional: making circle C
    /// tangent to PQ will produce a different solution to QP.
    LineTangentToCircle(LineSegment, Circle),

But this is confusing UX -- users don't draw their line segments with a direction. The constraint should not care about direction either. When there are two possible solutions, it should just choose the solution closest to the user's initial guess.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions