Triangle given by 3 points (x1 , y1), (x2 , y2) and (x3 , y3)
|
The area (A) is given by: |
|
 |
The perimeter (P) is: |
 |
Triangle angles:
If the angle is bigger then 180 degree, then we must translate the angle
by the formula: angle = 2 · π angle.
|
|
Intersection point of the sides perpendicular bisectors (circumcircle)
After solving the determinants, we get the x and y coordinates:
The circumcircle radius can be found by calculating the distance of the center point (x , y) from any one of the triangle vertices:
|
Intersection point (x , y) of the angles bisectors (incircle)
|
We denote a, b and c as the lengths of the triangle sides.
The incircle center x and y is equal to:
The incircle radius can be found by calculating the distance of the center point (x , y) from one of the sides of the triangle:
|