triangle and set_domain_set