 |
BSpline Methods |
The BSpline type exposes the following members.
Methods| | Name | Description |
|---|
  | CreateBSplinePositions(Vector3, Int32) |
Returns a Vector3[] array that defines the B-spline, based on the specified control points and number of
positions per segment.
The curve positions are created using a fixed number of positions per segment.
This is very fast to compute, but can generate too many points along nearly straight sections and too few where the curve bends sharply.
|
  | CreateBSplinePositions(Vector3, Single, Single, Int32) |
Returns a Vector3[] array that defines the B-spline, based on the specified control points and adaptive
algorithm parameters.
The curve positions are created using an adaptive algorithm that adds more points where the curvature is higher.
This takes longer to compute than when using fixed positionsPerSegment, but generates smoother curves with fewer positions.
|
 | CreateCurvePositions(Int32) |
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.
The curve positions are created using a fixed number of positions per segment.
This is very fast to compute, but can generate too many points along nearly straight sections and too few where the curve bends sharply.
|
 | CreateCurvePositions(Single, Single, Int32) |
Returns a Vector3[] array that defines the B-spline based on the control points (provided via the constructor) and
adaptive algorithm parameters.
The curve positions are created using an adaptive algorithm that adds more points where the curvature is higher.
This takes longer to compute than when using fixed positionsPerSegment, but generates smoother curves with fewer positions.
|
 | CreateNURBSCurvePositions(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.
|
 | CreateNURBSCurvePositions(Single, Single, Int32) |
Returns a Vector3[] array that defines the NURBS curve based on the control points and weights (provided via the constructor)
and adaptive algorithm parameters.
The curve positions are created using an adaptive algorithm that adds more points where the curvature is higher.
This takes longer to compute than when using fixed positionsPerSegment, but generates smoother curves with fewer positions.
|
  | CreateNURBSCurvePositions(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.
|
  | CreateNURBSCurvePositions(Vector3, Single, Single, Single, Int32) |
Returns a Vector3[] array that defines the NURBS curve (Non-uniform rational B-spline) based on the specified
control points, weights, and adaptive algorithm parameters.
The curve positions are created using an adaptive algorithm that adds more points where the curvature is higher.
This takes longer to compute than when using fixed positionsPerSegment, but generates smoother curves with fewer positions.
|
 | GetPositionOnBSpline |
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.
|
 | GetPositionOnNURBSCurve |
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