Skip to main content

Module triangle

Module triangle 

Source

Structs§

Triangle
A constructed 2D triangle represented by three vertices.

Functions§

triangle_area
Returns the 2D triangle area.
triangle_twice_area
Returns twice the unsigned 2D triangle area.
triangle_twice_signed_area
Returns twice the signed 2D triangle area using the shoelace formula.