 |
BSplineCreateNURBSCurvePositions(Vector3, Single, Int32) Method |
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.
Namespace: Ab4d.SharpEngine.UtilitiesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntaxpublic static Vector3[] CreateNURBSCurvePositions(
Vector3[] controlPoints,
float[] weights,
int positionsPerSegment = 30
)
Parameters
- controlPoints Vector3
- Array of control points.
- weights Single
- Array of weights.
- positionsPerSegment Int32 (Optional)
- Number of additional points to make the curve smooth - larger value creates smoother curve. Default value is 30.
Return Value
Vector3A Vector3[] array that defines the NURBS curve.
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Utilities.BSpline.CreateNURBSCurvePositions(System.Numerics.Vector3[],System.Single[],System.Int32)"]
See Also