source
tessellation
triangle_area.hpp
Go to the documentation of this file.
1
6
#ifndef TRIANGLE_AREA_HPP
7
#define TRIANGLE_AREA_HPP 1
8
9
#include "
geometry.hpp
"
10
17
double
calc_triangle_area
(
const
Vector2D
& p1,
18
const
Vector2D
& p2,
19
const
Vector2D
& p3);
20
21
#endif // TRIANGLE_AREA_HPP
geometry.hpp
Geometrical calculations.
calc_triangle_area
double calc_triangle_area(const Vector2D &p1, const Vector2D &p2, const Vector2D &p3)
Calculates the area of a triangle.
Definition:
triangle_area.cpp:4
Vector2D
2D Mathematical vector
Definition:
geometry.hpp:15
Generated on Thu Jun 4 2020 18:12:17 by
1.8.13