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: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
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