Fixed wrong implementation of concave_points() and convex_points() in C++. #2384