Calculates the area of a triangle. More...
#include "geometry.hpp"
Go to the source code of this file.
Functions | |
double | calc_triangle_area (const Vector2D &p1, const Vector2D &p2, const Vector2D &p3) |
Calculates the area of a triangle. More... | |
Calculates the area of a triangle.
Definition in file triangle_area.hpp.
Calculates the area of a triangle.
p1 | Vertex #1 |
p2 | Vertex #2 |
p3 | Vertex #3 |
Definition at line 4 of file triangle_area.cpp.