orthocenter property
Get orthocenter of this triangle
The orthocenter of a triangle is the point where the altitudes of the triangle intersect. Uses the relation: orthocenter = a + b + c - 2 * circumcenter.
Implementation
Point get orthocenter {
final cc = circumcenter;
return Point(
a.x + b.x + c.x - 2 * cc.x,
a.y + b.y + c.y - 2 * cc.y,
);
}