Ejemplo n.º 1
0
def test_coorientplane_3d(axis1, axis2):
    curve = Curve([(1, 2, 3, 4), (5, 6, 7, 8), (9, 10, 11, 12)])
    curve_r = curve.reverse()

    assert curve.coorientplane(axis1, axis2) == curve_r.coorientplane(axis1, axis2)
Ejemplo n.º 2
0
def test_coorientplane_2d():
    curve = Curve([(1, 2, 3, 4), (5, 6, 7, 8)])
    curve_r = curve.reverse()

    assert curve.coorientplane() == curve_r.coorientplane()