Affine equivalences between affine bases #
Two affine bases indexed by the same type are related by an affine equivalence: there is an affine
equivalence sending the points of one basis to the corresponding points of the other
(AffineBasis.exists_affineEquiv_apply_eq), and every affine map that does so preserves
barycentric coordinates (AffineBasis.coord_apply_of_forall_apply_eq). This is how a statement
about barycentric coordinates relative to an arbitrary affine basis is reduced to one about a
fixed reference basis.
The file also computes the barycentric coordinates of a point after a homothety about the centroid
of an affine basis (AffineBasis.coord_homothety_centroid), which describes the homothetic images
of the simplex spanned by the basis, and those of a point of the segment between two points of the
basis (AffineBasis.coord_lineMap).
Main statements #
AffineBasis.coord_apply_of_forall_apply_eq: an affine map sending the affine basisbto the affine basisb₂carries barycentric coordinates relative tobto those relative tob₂;AffineBasis.exists_affineEquiv_apply_eq: there is an affine equivalence sendingbtob₂;AffineBasis.coord_homothety_centroid: the barycentric coordinates of the image of a point under a homothety about the centroid of an affine basis;AffineBasis.coord_lineMap: the barycentric coordinates of a point of the segment between two points of an affine basis.
An affine map sending each point b i of an affine basis to the point b₂ i of another affine
basis preserves barycentric coordinates.
Two affine bases indexed by the same type are related by an affine equivalence sending each point of the first basis to the corresponding point of the second.
The barycentric coordinates relative to an affine basis b of a point of the segment between
two of its points: coordinate i of lineMap (b j) (b l) t is the point at t of the segment
between the i-th coordinates of b j and b l, each 1 or 0.
The barycentric coordinates relative to an affine basis b of the image of a point z under
the homothety of ratio t about the centroid of b: the homothety moves each coordinate
b.coord i z towards the centroid's coordinate 1 / card ι by the factor t.