ConvertBezierToSpline
Convert Bezier points to spline points.
Python C++ C# VS Server
Python
BwApi.ConvertBezierToSpline(bezierPoints)
C++
BwApiConvertBezierToSpline(bezierPoints);
C#
BwApi.ConvertBezierToSpline(bezierPoints);
VS Server
{
"id": "API processing order number",
"function": "ConvertBezierToSpline",
"params": {
"bezierPoints": "value"
}
} Parameters
Param | Variable | Description |
In | bezierPoints | Array of BwApiBezierPoint that represents the edge's points as Bezier |
Out | splinePoints | Array of BwApiPoint that represents the edge's points as spline |
Error/success code (see BwApiErrorCodes enum).
ConvertSplineToBezier
Convert spline points to Bezier points.
Python C++ C# VS Server
Python
BwApi.ConvertSplineToBezier(splinePoints)
C++
BwApiConvertSplineToBezier(splinePoints);
C#
BwApi.ConvertSplineToBezier(splinePoints);
VS Server
{
"id": "API processing order number",
"function": "ConvertSplineToBezier",
"params": {
"splinePoints": "value"
}
} Parameters
Param | Variable | Description |
In | splinePoints | Array of BwApiPoint that represents the edge's points as spline |
Out | bezierPoints | Array of BwApiBezierPoint that represents the edge's points as Bezier |
Error/success code (see BwApiErrorCodes enum).