Function triangle_area

Source
pub fn triangle_area<T>(_: (T, T), _: (T, T), _: (T, T)) -> T
where T: Float,
Expand description

given the coordinates of the vertices of a triangle, calculate the area