Click or drag to resize
Ab4d.SharpEngine logo

BSplineGetPositionOnNURBSCurve Method

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.

Namespace: Ab4d.SharpEngine.Utilities
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntax
C#
public Vector3 GetPositionOnNURBSCurve(
	float t
)

Parameters

t  Single
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.

Return Value

Vector3
3D point that lies on the NURBS curve.
See Also