C = curve(D)
i1 : X = quadricSurface(ZZ/101[x_0..x_3]);
i2 : D = divisor({1,2},X);
i3 : C = curve D 2 2 2 2 2 2 o3 = ideal (x x - x x , x x + 49x + 24x x + 3x x + 5x x + 5x , x + 23x + 24x x + 5x + 39x x - 46x x - 38x x - 43x ) 1 2 0 3 0 1 1 0 3 1 3 2 3 3 0 1 0 2 2 0 3 1 3 2 3 3 o3 : Curve
C = curve(d,g)
i4 : I = curve(5,2);
i5 : degree I, genus I o5 = (5, 2) o5 : Sequence
C = curve(d,g,R)
The object curve is a method function.