Click or drag to resize
AB4D logo

BSplineCreateNURBSCurve(IListPoint3D, IListDouble, Int32) Method

Returns a Point3DCollection that defines the NURBS curve (Non-uniform rational B-spline) based on the controlPoints, weights and positionsPerSegment.

Namespace: Ab3d.Utilities
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
public static Point3DCollection CreateNURBSCurve(
	IList<Point3D> controlPoints,
	IList<double> weights,
	int positionsPerSegment
)

Parameters

controlPoints  IListPoint3D
list of control points
weights  IListDouble
list of weights
positionsPerSegment  Int32
number of additional points to make the curve smooth - bigger value creates smoother curve

Return Value

Point3DCollection
Point3DCollection that defines the NURBS curve
See Also