Click or drag to resize
Ab4d.SharpEngine logo

BSpline Methods

The BSpline type exposes the following members.

Methods
 NameDescription
Public methodStatic memberCreateBSplinePositions Returns a Vector3[] array that defines the B-spline, based on the specified control points and number of positions per segment.
Public methodCreateCurvePositions Returns a Vector3[] array that defines the B-spline based on the control points (provided via the constructor) and the specified number of positions per segment.
Public methodCreateNURBSCurvePositions(Int32) Returns a Vector3[] array that defines the NURBS curve based on the control points and weights (provided via the constructor) and the specified number of positions per segment.
Public methodStatic memberCreateNURBSCurvePositions(Vector3, Single, Int32) Returns a Vector3[] array that defines the NURBS curve (Non-uniform rational B-spline) based on the specified control points, weights, and number of positions per segment.
Public methodGetPositionOnBSpline Returns a 3D point that lies on the B-spline based on the control points (provided via the constructor) and t. The t argument can have any value between 0 to 1, with 0 corresponding to the first control point and 1 corresponding to the last control point.
Public methodGetPositionOnNURBSCurve Returns a 3D point that lies on the NURBS curve based on the control points and weights (provided via the constructor) and t. The t argument can have any value between 0 to 1, with 0 corresponding to the first control point and 1 corresponding to the last control point.
Top
See Also