Example #1
0
def step_impl(context):
    context.xs = intersections(
        intersection(-0.9899, context.A),
        intersection(-0.4899, context.B),
        intersection(0.4899, context.B),
        intersection(0.9899, context.A),
    )
Example #2
0
def step_impl(context):
    context.xs = intersections(
        intersection(2, context.A),
        intersection(2.75, context.B),
        intersection(3.25, context.C),
        intersection(4.75, context.B),
        intersection(5.25, context.C),
        intersection(6, context.A),
    )
Example #3
0
def step_impl(context):
    context.xs = intersections(intersection(1.8589, context.shape))
Example #4
0
def step_impl(context):
    context.xs = intersections(intersection(-1, context.shape),
                               intersection(1, context.shape))
Example #5
0
def step_impl(context):
    context.xs = intersections(context.i1, context.i2, context.i3, context.i4)
Example #6
0
def step_impl(context):
    context.xs = intersections(context.i)
Example #7
0
def step_impl(context):
    context.xs = intersections(intersection(sqrt(2), context.floor2))
Example #8
0
def step_impl(context):
    context.xs = intersections(
        intersection(-sqrt(2) / 2, context.shape),
        intersection(sqrt(2) / 2, context.shape),
    )