Documentation

Complexity.Foundations.Geometry.Orthogonal.Endpoint

Unit neighbors at canonical endpoint ports #

Main definitions #

Main results #

theorem Cslib.Orthogonal.infix_head_pair_getD {r : Route} (hn : List.Nodup r) {a b : Point} (hp : [a, b] <:+: r) (hh : List.head? r = some a) (d : Point) :

A consecutive pair starting at the unique first point determines index one.

theorem Cslib.Orthogonal.infix_last_pair_getD {r : Route} (hn : List.Nodup r) {a b : Point} (hp : [a, b] <:+: r) (hh : List.getLast? r = some b) (d : Point) :

A consecutive pair ending at the unique final point determines the penultimate index.

The unit directions of the left, upward and right canonical endpoint ports.

Instances For

    Distinct ports have distinct unit directions.

    The local fan has exactly two unit steps in its port's direction.

    The return fan has the same middle unit point in the reverse order.