Strict checking of polygon function arguments.