Documentation

CslibFrontier.Foundations.Geometry.Polygonal.Segment

Single-segment polygonal routes #

The one-segment constructor and simplicity criterion connect finite route data to Mathlib's actual real affine segment. In particular a one-segment loop is not simple.

One actual real planar segment, including its two distinct parameter ends.

Instances For
    @[simp]

    The first end of a single-segment route.

    @[simp]

    The last end of a single-segment route.

    theorem Cslib.Polygonal.Route.eval_line (a b : ℂ) (i : Fin (line a b).segments) (t : ℝ) :
    (line a b).eval i t = (AffineMap.lineMap a b) t

    Evaluating the single-segment route is Mathlib's full real affine interpolation.

    theorem Cslib.Polygonal.Route.isSimple_line {a b : ℂ} (hab : a ≠ b) :

    A segment joining distinct points is a simple polygonal route.

    Nondegeneracy is necessary as well as sufficient, even if a route is allowed to close.