NurbsCurve.from_parameters
- classmethod NurbsCurve.from_parameters(points, weights, knots, multiplicities, degree, is_periodic=False)[source]
Construct a NURBS curve from explicit curve parameters.
- Parameters:
- pointslist[[float, float, float] |
compas.geometry.Point
] The control points.
- weightslist[float]
The weights of the control points.
- knotslist[float]
The curve knots, without multiplicity.
- multiplicitieslist[int]
Multiplicity of the knots.
- degreeint
Degree of the curve.
- is_periodicbool, optional
Flag indicating that the curve is periodic.
- pointslist[[float, float, float] |
- Returns: