Bridge to the vendored oblique-coordinate library #
toOblique (a, b) = (a + b/2, b) is the linear change of coordinates from the triangular
coordinates of this project to the oblique coordinates of the vendored SevenTriangles
library (pinned commit b17ca52a395519f43fc15f83fb49a5dd69996225). It preserves sqDist,
maps the hexagon onto unitHexagon, the six vertices onto the six vertices with the same
index, and has determinant one, so it preserves Lebesgue measure. Consequently every
nondegenerate triangle of this project is a triangle of the vendored library with the same
side, and the 120-degree wedge area-loss lemma transfers verbatim.
The determinant-one linear coordinate change to the borrowed oblique-coordinate geometry.
Equations
- ConwaySoifer.obliqueL = { toFun := ConwaySoifer.toOblique, map_add' := ConwaySoifer.toOblique_add, map_smul' := ConwaySoifer.toOblique_smul }
Instances For
A nondegenerate triangle of this project as a triangle of the vendored library.
Equations
Instances For
The weak 120-degree wedge area-loss lemma in triangular coordinates: a triangle
containing vertex i and the points at ray parameters a (towards vertex (i+5)) and b
(towards vertex (i+1)) loses volume at least min(a², b²)/2 outside the hexagon.
The strong version, valid when the two contained lengths exceed the side.