Click or drag to resize
AB4D logo

BSplineCreateBSpline(IListPoint3D, Int32) Method

Returns a Point3DCollection that defines the B-spline based on the controlPoints and positionsPerSegment. The curve positions are created using a fixed number of positions per segment. This is very fast to computer, but can generate too many points along nearly straight sections and too few where the curve bends sharply.

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

Parameters

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

Return Value

Point3DCollection
Point3DCollection that defines the B-spline
See Also