Skip to content

addCurve()

Add a new curve to the IanniX score.

The curve starts with no points. Add points to it with addPointToCurve() or addPointListToCurve().

Parameters

Once an object iannixout has been created, you can use the following function:

iannixout.addCurve(curveID, x, y, z)
Parameter Type Default Description
curveID int or str required The ID to give the new curve.
x float required The curve's x coordinate.
y float required The curve's y coordinate.
z float required The curve's z coordinate.