(domain, last=False)
return tuple(verts)
Returns the bounding box of the surface parametric domain in ccw direction.

    :param domain: parametric domain
    :type domain: list, tuple
    :param last: if True, adds the first vertex to the end of the return list
    :type last: bool
    :return: edges of the parametric domain
    :rtype: tuple
Returns the bounding box of the surface parametric domain in ccw direction.
Returns the bounding box of the surface parametric domain in ccw direction .
def get_par_box(domain, last=False):
    """ Returns the bounding box of the surface parametric domain in ccw direction.

    :param domain: parametric domain
    :type domain: list, tuple
    :param last: if True, adds the first vertex to the end of the return list
    :type last: bool
    :return: edges of the parametric domain
    :rtype: tuple
    """
    u_range = domain[0]
    v_range = domain[1]
    verts = [(u_range[0], v_range[0]), (u_range[1], v_range[0]), (u_range[1], v_range[1]), (u_range[0], v_range[1])]
    if last:
        verts.append(verts[0])
    return tuple(verts)
def get_par_box ( domain , last = False ) : u_range = domain [ 0 ] v_range = domain [ 1 ] verts = [ ( u_range [ 0 ] , v_range [ 0 ] ) , ( u_range [ 1 ] , v_range [ 0 ] ) , ( u_range [ 1 ] , v_range [ 1 ] ) , ( u_range [ 0 ] , v_range [ 1 ] ) ] if last : verts . append ( verts [ 0 ] ) return tuple ( verts )