addPointToCurve()
Add a point to a curve in the IanniX score.
iannixout.addPointToCurve(curveID)
The control points shape a quadratic Bezier curve between this point and the previous point on the curve.
Parameters
iannixout.addPointToCurve(curveID, x=0.0, y=0.0, z=0.0, cx1=0.0, cy1=0.0, cz1=0.0, cx2=0.0, cy2=0.0, cz2=0.0)
| Parameter | Type | Default | Description |
|---|---|---|---|
curveID |
int or str |
required | The ID of the curve to add the point to. |
x |
float |
0.0 |
The point's x coordinate. |
y |
float |
0.0 |
The point's y coordinate. |
z |
float |
0.0 |
The point's z coordinate. |
cx1 |
float |
0.0 |
The x coordinate of the first Bezier control point. |
cy1 |
float |
0.0 |
The y coordinate of the first Bezier control point. |
cz1 |
float |
0.0 |
The z coordinate of the first Bezier control point. |
cx2 |
float |
0.0 |
The x coordinate of the second Bezier control point. |
cy2 |
float |
0.0 |
The y coordinate of the second Bezier control point. |
cz2 |
float |
0.0 |
The z coordinate of the second Bezier control point. |