Handle degenerated case in GetTriangleArea.