The area of a triangle in the plane (RC6b) #
The triangle with vertices a, b, c : Fin 2 → ℝ is the convex hull tri a b c. Its Lebesgue
measure is |det2 (b - a) (c - a)| / 2. The proof maps the standard simplex simplex2 (measure
1/2, by integrating the slices) by an affine map.
The triangle with vertices a, b, c.
Equations
- Lightlike.CMS.tri a b c = Lightlike.CMS.triMap a b c '' Lightlike.CMS.simplex2