Properly recognize error cases for 'centroid out' and 'centroid in'. TRAC #23268 Signed-off-by: Geoff Lang Signed-off-by: Nicolas Capens Authored-by: Jamie Madill