polygon definition, detect & display