示例#1
0
def obj2_1(name, triangles):
    points = 0
    if obj_objects_counter(name) == 1:
        if obj_triangle_count(name) > triangles:
            if obj_triangle_count(name) < triangles * 3:
                points += 1
    return points
示例#2
0
def big_triangle_count(name, num1, num2, num3, num4):
    temp = obj_triangle_count(name)
    points = 0
    if num1 < temp < num4:
        points += 1
        if num2 < temp < num3:
            points += 1
    return points
示例#3
0
def obj2(arg1, arg2):
    temp = obj_triangle_count(arg1)
    constant_tris1 = arg2
    points = 0
    if obj_objects_counter(arg1) == 1:
        if temp >= constant_tris1 * 0.1:
            if temp < constant_tris1 * 2.5:
                points += 1
                if temp > constant_tris1:
                    points += 1
    return points
示例#4
0
def unique_triangle_count(name, num2, num3):
    temp = obj_triangle_count(name)
    points = 0
    if num2 < temp < num3:
        points += 4
    return points