Detect convex corner