double getTriangleArea(cv::Point pt_0, cv::Point pt_1, cv::Point pt_2)
{
double area;
area = ((pt_1.x-pt_0.x)*(pt_2.y-pt_0.y)-(pt_2.x-pt_0.x)*(pt_1.y-pt_0.y)) / 2.0;
area = abs(area);
return area;
}
double getTriangleArea(cv::Point pt_0, cv::Point pt_1, cv::Point pt_2)
{
double area;
area = ((pt_1.x-pt_0.x)*(pt_2.y-pt_0.y)-(pt_2.x-pt_0.x)*(pt_1.y-pt_0.y)) / 2.0;
area = abs(area);
return area;
}